Posts: 47
Threads: 15
Joined: Oct 2020
Reputation:
0
Posts: 9,495
Threads: 1,277
Joined: Oct 2020
Reputation:
244
use "switch" and "function" node to convert.
Posts: 47
Threads: 15
Joined: Oct 2020
Reputation:
0
Posts: 9,495
Threads: 1,277
Joined: Oct 2020
Reputation:
244
later give you a sample photo, now is busy.
Posts: 9,495
Threads: 1,277
Joined: Oct 2020
Reputation:
244
11-06-2020, 03:51 AM
(This post was last modified: 11-06-2020, 03:53 AM by admin.)
your up "function" node:
msg.payload= "true";
return msg;
your down "function" node:
msg.payload= "false";
return msg;
Posts: 47
Threads: 15
Joined: Oct 2020
Reputation:
0
Posts: 9,495
Threads: 1,277
Joined: Oct 2020
Reputation:
244
yes, if have "" is a string format, not boolean.