This had been reporting the barrier state correctly for nearly a year, but today, I only get NULL returned for the barrier state. I’ve put the wave binding into debug mode and here is what I get when I open the overhead using a switch on the sitemap.
Here is what’s logged when closing the overhead:
Node 27 is the garage door controller. I’ve changed the battery in the sensor, but the same results. I added some logging statements and rules for the garage switch (received command and received update) to report the barrier state and here is what I get:
2019-07-16 20:21:46.414 [INFO ] [smarthome.model.script.Garage update] - NULL 2019-07-16 20:21:46.414 [INFO ] [smarthome.model.script.Garage update] - NULL 2019-07-16 20:21:46.414 [INFO ] [smarthome.model.script.Barrier State] - NULL
I have a changed rule for the barrier state but it is never called. Not surprising as the state never changes. I’m going to try an update rule just to see if that gets called. But at this point I’m not sure what the problem might be, if not hardware failure.
Any ideas appreciated.