Closed hznupeter closed 5 years ago
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
self.conn.connect(socket.getaddrinfo("192,168,1,101", 8080)[0][4])
worked!
v0.2.0 is released and available via pip: https://github.com/vshymanskyy/blynk-library-python/releases/latest
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
to
or
All of these cant work