@zdenek_jotio Success!!
I've changed your inject node to "1" instead of "1_01" and it's worked.
Finally getting somewhere.... Changing the nodes is working on all examples now
Brilliant, thanks for the direction
Latest posts made by lessmann
-
RE: Switching output or relay on
-
RE: Switching output or relay on
@zdenek_jotio I imported your example but it's not switching.
This is really frustrating, the Unipi responds as expected through the Evok interface but nothing is working with NodeRed. -
RE: Switching output or relay on
@WesleyFranken
I've gone back to the installation instructions and tutorial and trying to follow the initial basic example given but again it does not seem to do anything.This is the flow.....
[{"id":"a3c2ed71.5c3d1","type":"websocket-client","path":"ws://127.0.0.1/ws","wholemsg":"false"},{"id":"c7a9d1f1.38563","type":"websocket out","name":"","server":"","client":"a3c2ed71.5c3d1","x":643,"y":272,"z":"2b1b35ba.d4e4ca","wires":[]},{"id":"80afc33f.7f504","type":"inject","name":"R1 ON","topic":"","payload":"{\"dev\":\"relay\", \"circuit\":\"1\", \"value\":\"1\"}","payloadType":"string","repeat":"","crontab":"","once":false,"x":363,"y":199,"z":"2b1b35ba.d4e4ca","wires":[["c7a9d1f1.38563"]]},{"id":"3964a515.c69b5a","type":"inject","name":"R1 OFF","topic":"","payload":"{\"dev\":\"relay\", \"circuit\":\"1\", \"value\":\"0\"}","payloadType":"string","repeat":"","crontab":"","once":false,"x":357,"y":273,"z":"2b1b35ba.d4e4ca","wires":[["c7a9d1f1.38563"]]},{"id":"aa9c56df.5563a8","type":"inject","name":"AO set 5V a","topic":"","payload":"{\"dev\":\"ao\", \"circuit\":\"1\", \"value\":\"5\"}","payloadType":"string","repeat":"","crontab":"","once":false,"x":363,"y":114,"z":"2b1b35ba.d4e4ca","wires":[["c7a9d1f1.38563"]]}]
....and this is the flow example
-
RE: Switching output or relay on
Are we sure that the "local host" is connected to the Unipi? It says "connected" in Node Red
-
RE: Switching output or relay on
As the Evok can't be changed I must be naming the Relay incorrectly on the Node Red side.
I have attached Inject nodes into a "Relay 1" as you suggested and the screen print is below but it's not doing anything
-
RE: Switching output or relay on
@wesleyfranken I'm obviously a sucker for punishment but I have a replacement Unipi1.1 and it's set up and ready to go. Not that sure if I am, I don't think I like Node Red very much. I do not find it very intuitive.
Anyway I am trying to understand what you were saying about configuring the I/O in Evok. Below is my configuration page but I can't change any of this...
-
RE: Switching output or relay on
@wesleyfranken my evok relay did not look like that and when I tried to write in the "alias" field I would get an error. Unfortunately I can't check this now as I have accidentally broken my unipi.
In an attempt to tidy up the dinrail I rewired the power and connected it to the wrong (24v) supply by accident.
Maybe I did it on purpose because it was causing me such a headache 😂Thank you for your help on this. I'll let you know when or if I get a replacement.
-
RE: Example UI flow not working
@wesleyfranken I feel like I'm trying to learn chinese here!
I have changed the flow to "Relay 4" and at least now when I select "switch 4" it indicates an "on" (whatever that means) but the relay is not switching?
-
RE: Switching output or relay on
@wesleyfranken I've imported your flow into Node red thanks but I have no idea what to do with it at this stage.
I've named the Relay 1 as it is name in Evoke and added a simple "1" into an inject node but this is not triggering the relay?
Infact it seems to switch it off according to the screen print below.
-
Example UI flow not working
I've followed the OS instructions and imported the example demo flow. The UI inputs and outputs are not creating any physical changes on the unipi, how can I trouble shoot this?
https://kb.unipi.technology/en:sw:03-3rd-party:nodered:installation-neuron
The connections claim to be connected