Replies: 2 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.
3 replies
-
It works with a script in a loop! Thanks for the hint! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Please help me figure it out!
Beta Was this translation helpful? Give feedback.
All reactions