Hello
Thanks for the answer.
Description
I am reading a web page with an HTTP request.(Siemens LOGO webserver)
The information results in an array consisting of 16 pieces of information.
A1-A8 and E1-E8
return {payloadarray:{"A1:A1,A2:A2,A3:A3,A4:A4,A5:A5,A6:A6,A7:A7,A8:A8,E1:E1,E2:E2,E3:E3,E4:E4,E5:E5,E6:E6,E7:E7,E8:E8}}
shows in a Text Node, "A1":"0","A2":"0","A3":"0","A4":"1","A5":"0","A6":"0","A7":"1","A8":"0","E1":"1","E2":"1","E3":"1","E4":"1","E5":"1","E6":"1","E7":"1","E8":"1"
For example:
A1 = 1 and therefore the valve is activated. A1 = 0 valve is closed
E1 = 1 and the pressure is OK. E1 = 0 pressure is NOK
E1-E8 controls a text field and change, depending on the state the Info Color
<font color={{{msg.color}}} ><i class="fa fa-circle" style="font-size:24px;"></i></font>
Everything works up to here.
A1-A8 should do the same with a button, when I press this button an http request msg.out ="10.11.12.144:8080/"+A2 should be sent.
If I set A2 by hand it works. The button does a toggle of the aktual state of A1
For each valve there is a different variable to control for on and off
Please explain: Change the debug nodes to show the complete message.
Unfortunately I only get what I see in debugging windows.
can I increase the debugging level? if yes please how .
I've only been working with Node Red for a few hours and I'm not a programmer