Hi I'm Artwin, can you help me? I have a switch node (dashboard), when the switch is on it will bring up / activate the button and when the switch is off will eliminate / deactivate the button, is that possible? or is there another way? Thank you very much
Not really clear for me what exactly you like to achieve. but to activate or deactivate a ui-widget like a button you can send msg.enabled=true or false to this node. The widget will get a darker and desaturated color to show that it is disabled.
So perhaps use a change node behind your switch:
- delete msg.payload (if necessary)
simply when the switch (dashboard) is off, I can't press the flush button, and when the switch (dashboard) is on, I can press the flush button
See edit above.
Its Work, thank you very much @Christian-Me
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.