Menu

KnxWeb2_Switch

Anthony
Attachments
Action_active.png (30870 bytes)
Action_inactive.png (32902 bytes)
Newbutton.png (25824 bytes)
Newlightswitch.png (31565 bytes)

How to add a basic swicth in design of Knxweb2

Add a widget "button" :

Change the text or remove it if you want, add an active and no-active picture in this exemple 3d/light_on.png and 3d/light_off.png
choose the feedback object of an actuator in the exemple "Applique 1 Cuisine" is an object type 1.OO1 the value are "on" or "off" so "Value for active" is "on"

Add some actions :
whit the button "Edit" of "Action when inactive" :
when the "feedback object" not equal to the "Value for active" when we click on the button we send this actions
so we have to send a "on" on the command object of the same actuator
so we add a "set-value" action on the command object for send "on"

whit the button "Edit" of "Action when active" :
when the "feedback object" equal to the "Value for active" when we click on the button we send this actions
so we have to send a "off" on the command object of the same actuator
so we add a "set-value" action on the command object for send "off"

Then save the design and try


Related

Wiki: KnxWeb2

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.