gablau / node-red-contrib-blynk-ws

Old/Legacy Blynk library implementation for Node-RED using WebSockets
MIT License
31 stars 10 forks source link

Upgrade to 1.0.1 has broken Write Event nodes attached to pin V0 #15

Open Peterkn2001 opened 4 years ago

Peterkn2001 commented 4 years ago

After updating from 0.9.2 to 1.0.1 some of my button widgets stopped working. Closer investigation showed that any Node-Red Write Event node attached to virtual pin 0 of any device was failing to fire when the corresponding button widget was pressed in the app.

The simplest solution seems to be to change the write node from pin 0 to a different pin number, deploy the flow, then change back to pin 0 and deploy the flow again.

The unresponsive Write Event nodes were showing a normal green node status icon and message of "connected to pin 0".

Write nodes (output nodes) connected to pin 0 were unaffected, and they updated the status of the button widgets without the need to make similar changes. I've not tested other types of nodes yet.

gablau commented 4 years ago

Hi, I confirm that the problem occurs only in the case of an update from an old version.

No problem for new installations, I have tried several times.

I don't know if I will have time to fix this.

We leave this issue here it might be useful.