In the first item is a status of my rain sensor, the second item is a button that starts this watering.
Now I would like to show and control these two items from sitemap and there are few problems:
WtrStartBtn is a monostable button but I do not see such button in sitemap elements, definition of
Switch item=WtrStartBtn show bistable switch and additionaly I’ve got such error in log:
2017-10-07 10:46:01.236 [WARN ] [thome.io.rest.core.item.ItemResource] - Received HTTP POST request at 'items/WtrStartBtn' with an invalid status value 'ON'.
I cannot show a value of WtrRainSensor. It should have OPEN/CLOSE values. To show these values I use: Text item=WtrRainSensor
Item appears on screen but the value is empty.
A real button is a switch, not a contact.
It may have some mechanical contacts inside to perform its task, but from logical side it needs to be a switch …