1) If you want to use custom images in switch or multiswitch, you need to place the images somewhere in the design directory. for example if your design is in /<knxweb_folder>/design/default/ , you can put the image in /<knxweb_folder>/design/default/images/myimage.jpg and enter "images/myimage.jpg" when you create the switch or multiswitch in knxweb.
2) In knxweb, it would be possible if you use a multiswitch with 2 items having the same image and value. But the problem is that if you send "ON" twice, linknx will probably see the value and discard the second one because the object already has that value. To avoid this, you can set the "f" flag for that object in linknx config like this:
Hello I test this software, but we have two questions.
1) When I change the image in a switch o multiswitch control don't show de image, I don't know to write in image field.
2) It's posible to have any control to send only a "0" or "1" anytime.
Thanks, and sorry for my English.
Hi,
1) If you want to use custom images in switch or multiswitch, you need to place the images somewhere in the design directory. for example if your design is in /<knxweb_folder>/design/default/ , you can put the image in /<knxweb_folder>/design/default/images/myimage.jpg and enter "images/myimage.jpg" when you create the switch or multiswitch in knxweb.
2) In knxweb, it would be possible if you use a multiswitch with 2 items having the same image and value. But the problem is that if you send "ON" twice, linknx will probably see the value and discard the second one because the object already has that value. To avoid this, you can set the "f" flag for that object in linknx config like this:
<object id="light_kitchen" gad="1/1/7" flags="cwtuf" />
Regards,
Jean-François
Thanks's, works ok. :-)