Hi all
I am planning to add a neuron device on my plant where I already have some unipy 1.1. Actually I control my device with node-red via websocket.
is it possible to use node-red on neuron as well as my unipi devices?
Latest posts made by zeus
-
Node-red on Neuron
-
Wiki
Hi all
the wiki seems to be no longer available at this address http://unipi.technology/wiki
Is there a new link for that?
Thank you -
RE: Node-red missing rpi_gpio/wron naming
Yes I know the websocket solution. I used it without problem but using the gpio nodes is more in the "node - red philosophy" and also a very quick and ordered way to set up a code because resistor, debounce and so on is already built-in
-
Node-red missing rpi_gpio/wron naming
Hi all
trying to set up a general flow handling for RPi using node red I saw that the rpi_gpio node is missing some of the gpio as reported in the user manual. Maybe is just a matter of naming because the drop down list of the node contains 17 items as well as the list in the unipi user manual. Can someone share an new version of the manual or the correct list of the GPIO?
Thank you
-
RE: Node-red : set/reset multiple output
Update on my previous post.
I was able to set two relays "almost" at the same time by adding a delay of 100ms among the two commands. This is not a good way to reach the goal but it can work until someone can help me with the correct instruction to set two relays at the same time -
Relays on a socket
Hi all
I think the UniPi is a great board that let us create a lot of intresting projects. I am testing it for a building automation project and it's quite perfect. To be perfect it need just a small modification on the hardware. The relays should be mounted on a socket. This way it will be possible to replace the relay when it is broken -
Node-red : set/reset multiple output
Hi all
I need to set multiple outputs using node red. By using websocket I am able to set single output (relay) by creating a payload like this "msg.payload = {"cmd":"set","dev":"relay","circuit":"1","value":"1"};" or like this "msg.payload = {"dev":"relay", "circuit":"", "value":"1"};"
What I am missing is the correct syntax to use when I need to set for instance 2 relays at the same time. I try to fill the payload with two commands (the 1st with circuit="1" and the second with circuit="2") with the Json standard syntax but it doesn't work. I also try to send two messages in sequence to set on the 1st and the 2nd relay. What happen in this case is that 1st relay goes on but when the 2nd realay switch on the 1st one is switched off.
After a quick search on the forum I saw that there is an implementation of the function relay_set_all(self, values) but I can't find any documentation on how to use it.
Can someone give me a suggestion on this topic?
Thank you