I have problem trying to connect to Blynk using Raspberry Pi 3 in python.
I have installed the library using
pip install blynk-library-python
and I ran the same example provided here using
sudo python b.py
Blynk app is connecting fine… but when I give it any command, ex: press a button to turn led on, it just disconnects and an error is shown in the SSH console (Putty 0.70).
Error is :
TCP: Connecting to blynk-cloud.com:8442 Blynk connection successful, authenticating... Access granted, happy Blynking! Traceback (most recent call last): File "b.py", line 20, in <module> blynk.run() File "/usr/local/lib/python2.7/dist-packages/BlynkLib.py", line 375, in run self._handle_hw(data) File "/usr/local/lib/python2.7/dist-packages/BlynkLib.py", line 160, in _handle_hw raise ValueError("Unknown message cmd: %s" % cmd) ValueError: Unknown message cmd: dw pi@raspberrypi:~ $