-
How do I convert the tag value? In the mqtt topic, the value is “ON” or “OFF”, but Fuxa only works with a number or a logical one. How to do it? I tried to use scripts - it doesn't work. And the documentation does not describe the difference between a read script and a write script. At what points does it work? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Convert the tag state to a string, you will need to create a string tag and use a script to read the number tag and write 'ON' or 'OFF' to the string tag |
Beta Was this translation helpful? Give feedback.
-
It works with a script in a loop! Thanks for the hint! |
Beta Was this translation helpful? Give feedback.
-
The answer is there: #1533 |
Beta Was this translation helpful? Give feedback.
The answer is there: #1533