BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

No Data on Websocket with Node-Red

Hi all,

i try to read values from a virtual PIN into my Node-Red using the “node-red-contrib-blynk-ws (1.0.5)”.
I use the “wss://192.168.1.2:9443/websocket” adress. The PIN show’s up as connect but no data appears.
I have tried different virtual PINs same result.

Bildschirmfoto 2021-04-06 um 14.50.09

Bildschirmfoto 2021-04-06 um 14.49.37

But i can see that in the Admin GUI some messages for WebSocket get counted if i add it to node-red.

Blynk libary: 0.6.1
Local Server: 0.41.15 (installed in Docker)

Do anybody has a similar problem ? Or any Idea how to read out the Data or further debugging ?

Best,

Patrick

You should be using the Write Event node to get data from the virtual pin.

Pete.

THX. using the right component helps ^^

It is a bit confusing, but, it is a bit like the BLYNK_WRITE(vPin) command.

TBH I don’t really understand what the Read Event node does.

But, my advice is not to run Blynk code on your devices. Run MQTT code instead.

Pete.