code is:
blynk = BlynkLib.Blynk(BLYNK_AUTH, buffin=2048, heartbeat=100, server=“fra1.blynk.cloud”, insecure=True)
and appears to be working, but when it comes to writing a virtual pin then it ends up with:
Starting Blynk…
Traceback (most recent call last):
File “main.py”, line 1399, in
File “main.py”, line 741, in read_virtual_pin_HDC1080
File “BlynkLib.py”, line 84, in virtual_write
File “BlynkLib.py”, line 117, in _send
File “BlynkLib.py”, line 249, in _write
OSError: [Errno 104] ECONNRESET
The code connects to WiFi with no problem, sends authentication to BLYNK, reads and processes sensors, and when it invokes ‘blynk.virtual_write(20, temperature)’ defined as
def virtual_write(self, pin, *val):
self._send(MSG_HW, 'vw', pin, *val)
in blynklib, crashes with the error mentioned (connection problem).
So the question is has anybody managed to get the ESP32 working with the new BLYNK using PYTHON?? If yes then I can continue trying to sort it out.