question

gainestr avatar image
gainestr asked

Status nodes no longer work in Node-Red

I have not been able to use the status nodes to send feedback to my dashboard since upgrading from v3.13 to v3.22 and beyond. Did something fundamentally change in Node-Red that prevents the Status nodes from even recognizing any of the victron-input nodes?

Node-RED
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

3 Answers
Dirk-Jan Faber (Victron Energy) avatar image
Dirk-Jan Faber (Victron Energy) answered ·

I can't recall having changed anything that would cause this. Do you have an example flow to test this with?

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

gainestr avatar image
gainestr answered ·

I may have more info for you. Under v3.13 the status node would show if the victron-input device was connected or disconnected. Under v3.22 > the status node shows the output of the viltron-input node and not if it is connected even though I'm looking at the status.text output of the node. The first two images show the behavior of the status node under v3.13 and the last image shows the status under v3.22. NOTE: You can clearly see that the previous behavior shows the Propane tank as being connected or disconnected and the status under v3.22 no shows the output value. This is where I believe the issue residesscreen-shot-2024-03-04-at-20214-pm.pngscreen-shot-2024-03-04-at-20244-pm.pngImage Captionscreen-shot-2024-03-04-at-20651-pm.png.

Knowing this change. I actually prefer the new way and that the node show the actual output value and not simply "connected". I have re-written my code to adjust for the new change.


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

gainestr avatar image
gainestr answered ·

screen-shot-2024-03-04-at-30712-pm.png

I use the use the status nodes to help me keep track of a couple of the devices to ensure they are connected and transmitting data properly.

screen-shot-2024-03-04-at-31105-pm.png

I have it working correctly now with the added functionality that was incorporated into the latest updates. Thank You! Sorry to have raised a false flag.


5 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Nice that you have it working and glad you like the new way with the info in the status text.


If you wouldn't have liked that, you could have also disabled that functionality in the configuration node. It has checkbox to revert to the "(dis)connected" status text.


0 Likes 0 ·
gainestr avatar image gainestr Dirk-Jan Faber (Victron Energy) ♦♦ commented ·
Now you lost me. I do not see any checkbox for that option other than enabling or disabling the nodes label and icon. Please explain to me where I can find that option.
0 Likes 0 ·
Show more comments