Thanks for your reply but i have done that.
The problem is the HSM100 sensor doesn’t send anything over MQTT.
I also was thinking among the lines of checking out the XML-files.
Its all new to me so i don’t have a good clue as were to start looking.
And what to look for.
I drilled down every instance, topic and whatnot, but i am sorry there is nothing showing at the timestamp that i triggered the motion sensor.
When swinging my arm infant of the sensor i just can’t see any topic updates, usually they appear in grey in MQTT Explorer.
Either i am completely looking in the wrong direction or the sensor isn’t sending a MQTT message when motion is triggered.
Its a very old sensor.
With the ozb 1.4 implementation i also had to look for a basic_level event.
Can it be that the XML is up to date for the HSM100 sensor?
My knowledge about creating a XML file for a device is non existing, but i am learning (and willing to do so)
Maybe this document shows what is missing for the Homeseer HSM100 sensor. https://doc.eedomus.com/files/EZMotionSDK.pdf
Could you please shine a light on the matter?
thanks up front,
BR,
Raymond
Edit: The workaround in that issue might work for your device if it is sending different basic set values, e.g. 0 for motion off, then 255 for motion on. It currently doesn’t work for cases where the same value is sent repeatedly.
If Polling is enabled OZW queues a SwitchBinaryCmd_Get (Node=x). Is it possible to call that from MQTT, so I could initiate a sort of Poll Once event from Hass?
Thanks
You can call requestnodedynamic with a node number to update the values for the that node on demand. I use that approach with old devices to poll on-demand when HA initiates a state change rather than polling constantly. It won’t work great for switches you interact with physically, but works well for ones controlled mostly through HA.
Example:
- alias: "Refresh Old Zwave livingroom_lamp_right_level"
trigger:
platform: state
entity_id:
- light.livingroom_lamp_right_level
action:
- delay:
milliseconds: "{{ range(500, 1500) | random }}"
- service: mqtt.publish
data:
topic: "OpenZWave/1/command/requestnodedynamic/"
payload: "{\"node\":5}"
The delay is in there to not flood the network with a bunch of requests at the same instant when multiple devices change state at the same time.
Thats pretty heavy - As it will refresh all values on the device. If you just want to get a specific ValueID, you can use refreshvalue with a payload of “ValueIDKey” equal to the value you are interested in.
(Sorry, missing from the doco currently, but its there)
A recent release has made my keypad work.
If that can help anyone, it’s a bit different from the old implementation:
I know have a state sensor.mini_keypad_rfid_access_control and have to monitor its value going to 4 (unlock operation) or 5 (lock operation).
Previously, it was going from 0 to 255.
There’s also some entities such as binary_sensor.mini_keypad_rfid_access_control_wireless_lock_operation, but they are not getting updated.