Is there a way to access Computed Tags from Node RED?
Is there a way to access Computed Tags from Node RED?
Only from the gadgets.
At the moment groov View does not allow moving tags between devices.
What sort of âaccessâ did you have in mind?
Its usually better to reply to the topic rather than email me directlyâŚ
Hope you donât mind, but here is the continuationâŚ
Trying to set up a node-RED function, triggered once per second, that checks several inputs, each input is Boolean âgoodâ or âbadâ. If all are good the resulting is status = âgoodâ if one is bad the resulting is status = âbadâ. Furthermore, store the result only if the resulting status changes.
Sounds like you would be better to do the AND logic in Node-RED and just take the final output to groov View.
So use the groov IO nodes to get the inputs, then one of these logic gate nodes (or JavaScript in a function node depending on your JS comfort level): node-red-contrib-logical-nodes (node) - Node-RED
Thanks Beno!
I am having trouble installing the node-red-contrib-logical-nodes.
Getting ENOTFOUND - most likely a proxy problem. (I tried installing several other nodes and got the same error)
I am on a network that is managed by another organization. I will try this on a different network.
Appreciate your help!
Yes, you are correct. Lots of forum search results for that keyword âENOTFOUNDâ.
You need both the groov device AND the computer you are using the Node-RED editor in to have a valid gateway.
As i suspected trying to install node-red-contrib-logical-nodes on my home network got further into the process. Now the problem is that I have an incompatible node.js. Wanted >= 16.0.0. Current is 14.20.0.
Is there a way to update node.js?
Everyone at Opto is working hard on the new firmware update, it will have newer version of nodejs, but till then, here is the work around to put the newest supported version:
Thanks for the tip!
The node-red-contrib-logical-nodes is only at 0.5.1 and looks like no earlier versions available. I do have a workaround I have been using for quite some time.
Thanks for your help!
Using the last post in this thread: Install older version/specific version of a node-red node?
I can see a few older versionsâŚ
But I wonder if 4 months is going to be enough⌠You might want to think about using JavaScript in a function node. It might be more maintainable and match your needs. I just tend to nodes vs code.
Yes - I am currently using a function node to do the logical calculation. I agree - maybe more maintainable and it works. Just thought it might look cleaner, but this exercise has turned into a learning experience.
Thanks again.