Thanks for helping,
Hajo
Explore... Chat... Share...
GET / HTTP/1.0
Host: 192.168.1.1
Tn = telnet.client.connect(“192.168.7.5”, 80)
telnet.client.write(“GET /msg?switch=0 HTTP/1.1\r\n”)
telnet.client.write(“Host: 192.168.7.6\r\n”)
telnet.client.write(“\r\n”)
wget("192.168.7.5/msg?switch=0")Mmiscool wrote:The wget() function is probably your best bet.
It works and there a few examples here on the forum.
PUT /api/kxleZtGgugq8zkM8C21HSh4Cm5bv2Cqq0UzJ3VkW/lights/5/state HTTP/1.1
Content-Length: 12
{"on":true}It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]