Unipi 1.1 - how to set relay output in NODERED
-
HI!
What should I write in configuration to set relay output for Relay 1 ?
Unfortunately, I tryied many combination without result.this workaround in first diagram works,
where I sent in Functionmsg.headers = {}; msg.headers={ 'Content-Type': 'application/x-www-form-urlencoded' }; msg.payload = {}; msg.payload={ 'value': '1' }; return msg;as HTTP request POST for url. http://(myadresip_evok)/rest/relay/1
but second base on UNIPI Output doesn't work

Can you help me with that?
-
@wizro_pl up?
-
Hi @wizro_pl,
you need to write a boolean value: true or false.Best regards,
Martin -
Sorry,
it doesn't work

for Uni Pi 1.1 - realy no 2 should be configured like that: ?

-
ok, I solved the problem.
it is logic but a little strange because UniPi Output only prepare the JSON message, but to send it you still need websocket ( I thought that UniPi Output node handle all of it).it works

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login