Am setting up a system to display my water tank level through custom icons. I have got 4 anti corrosive stainless steel contact dipped into to my water tank at different levels. These connect to a nodemcu, which calculates the tank value(20,50,70,100) and send it to openhab through mqtt. Idea was to use this value to display a custom water level icon from the below link to display them.
But it doesn’t seem to work. To test it, I have put a cron based rule to send value manually to the respective item.
String test "testing" <wassertank>
rule "Testing" when Time cron "0 09 13 ? * ?" then test.sendCommand("50") end
Any idea what could be the issue?