Just thought I'd update you. It looks like your suggestions were right.
I ran a number of tests today using your suggestions with a few tweaks to match my hardware (a zwave leak sensor). When I first ran it Dan's plugin created a homeseer device as it should, but nothing I did after that made any changes to the device's value, status or string. I changed the template and tried $$STATUS, $$STRING AND $$VALUE. Everything looked right at arrival at the broker.
My HS2 log showed it arrived there:
12/6/2020 5:58:59 PM ~!~MQTT debug~!~MQTT : Topic: Homeseer/Home/Basement/Water_Notification Payload: {"status":"Water detected", "tst":"UNIX:","type":"Leak Sensor"}
12/6/2020 5:58:59 PM ~!~MQTT debug~!~UpdateHomeseerDevice()
12/6/2020 5:58:59 PM ~!~MQTT debug~!~Homeseer : {"status":"Water Detected","tst":"UNIX:","type":"Leak Sensor"}
12/6/2020 5:58:59 PM ~!~MQTT debug~!~Topic : Home ~ Basement : Water_Notification
12/6/2020 5:58:59 PM ~!~MQTT debug~!~parsePayload()
12/6/2020 5:58:59 PM ~!~MQTT debug~!~Payload : UNIX/0
12/6/2020 5:58:59 PM ~!~MQTT debug~!~deviceExistsByName Found Device belonging to this Plugin: Home Basement Water_Notification
but nothing changed in the HS2 device.
I've forward these test results to Dan and am hoping he can suggest something.
Thanks for your help
Rich
I ran a number of tests today using your suggestions with a few tweaks to match my hardware (a zwave leak sensor). When I first ran it Dan's plugin created a homeseer device as it should, but nothing I did after that made any changes to the device's value, status or string. I changed the template and tried $$STATUS, $$STRING AND $$VALUE. Everything looked right at arrival at the broker.
My HS2 log showed it arrived there:
12/6/2020 5:58:59 PM ~!~MQTT debug~!~MQTT : Topic: Homeseer/Home/Basement/Water_Notification Payload: {"status":"Water detected", "tst":"UNIX:","type":"Leak Sensor"}
12/6/2020 5:58:59 PM ~!~MQTT debug~!~UpdateHomeseerDevice()
12/6/2020 5:58:59 PM ~!~MQTT debug~!~Homeseer : {"status":"Water Detected","tst":"UNIX:","type":"Leak Sensor"}
12/6/2020 5:58:59 PM ~!~MQTT debug~!~Topic : Home ~ Basement : Water_Notification
12/6/2020 5:58:59 PM ~!~MQTT debug~!~parsePayload()
12/6/2020 5:58:59 PM ~!~MQTT debug~!~Payload : UNIX/0
12/6/2020 5:58:59 PM ~!~MQTT debug~!~deviceExistsByName Found Device belonging to this Plugin: Home Basement Water_Notification
but nothing changed in the HS2 device.
I've forward these test results to Dan and am hoping he can suggest something.
Thanks for your help
Rich
Comment