Posts: 47
Threads: 15
Joined: Oct 2020
Reputation:
0
Posts: 9,128
Threads: 1,204
Joined: Oct 2020
Reputation:
236
use "switch" and "function" node to convert.
Posts: 47
Threads: 15
Joined: Oct 2020
Reputation:
0
Posts: 9,128
Threads: 1,204
Joined: Oct 2020
Reputation:
236
later give you a sample photo, now is busy.
Posts: 9,128
Threads: 1,204
Joined: Oct 2020
Reputation:
236
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,128
Threads: 1,204
Joined: Oct 2020
Reputation:
236
yes, if have "" is a string format, not boolean.