Skip to content

Instantly share code, notes, and snippets.

@ccormier
ccormier / udp_jitter-client.py
Last active November 17, 2022 15:49
udp ping client and server
#!/usr/bin/env python
import time
import sys
import socket
host = "13.58.55.42" #set to server ip or hostname
port = 25050
number_of_pings = 40
esphome:
name: salt_sensor
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret ssid
password: !secret ssid_password
manual_ip:
static_ip: <enter your own>