how to change to Blynk local server
hznupeter opened this issue · comments
hznupeter commented
I've tried this project on my ESP32, it will work well on ESP32 connect to the blynk-cloud.com
But when cahnge the server address to local server ,my server only have ip, no host name.
I change the Line 216
self.conn.connect(socket.getaddrinfo("blynk-cloud.com", 80)[0][4])
to
self.conn.connect(socket.getaddrinfo("192.168.1.101", 80)[0][4])
or
self.conn.connect(socket.getaddrinfo("192,168,1,101", 80)[0][4])
All of these cant work
hznupeter commented
self.conn.connect(socket.getaddrinfo("192,168,1,101", 8080)[0][4])
worked!
Volodymyr Shymanskyy commented
v0.2.0 is released and available via pip:
https://github.com/vshymanskyy/blynk-library-python/releases/latest