I am working on getting a 3rd party motion sensor working with ST. I have the fingerprint working but I dont understand why I am not getting any messages from it. i.e. parse() not getting called ? I dont know much about ZigBee HA at the moment but typically do the sensors push out sensor information or do I need to poll for it ?
I dont have any documentation for this sensor so I am sort of hacking my way around.
Are you seeing any messages from an unknown device in the IDE log? Did you pair it and assign your devicetype to the paired device in the devices tab in the IDE?
Lastly, in the IDE simulator, did you choose that device?
No, they are routed to / from the specific devices based on the zigbee id via the hub.
The IDE Live log will show nothing if it picks up a paired “unknown” device. In order to fix this, you either need to create the proper fingerprint in the devicetype and remove the unknown device and repair or go in to the devices tab of the IDE and change the device to the proper device.
Then in the IDE, you can run the simulator and see the logging in real time and simulate device / response conditions if you want. Or track the real time status of the device mapped to the simulator.
This is where the parse() will show for that specific device.
I see the following and the device is added with my DeviceType. The parse() method is called once with an “updated” message and then never again.
7dc26981-2b99-49d2-8132-173ea6b1d708 8:53:31 AM: debug ** PIR02 parse received ** updated
7dc26981-2b99-49d2-8132-173ea6b1d708 8:53:31 AM: debug ** PIR02 ** configure called for device with network ID 8D1A
So to me it looks like unless I send some additional commands to the ZigBee device (Sercuifi SZ-PIR02) its is not going to send me any motion events ?
I guess the only way to figure that out is with a spec. or a sniffer.