Closed boolemancer closed 5 years ago
I believe the byte before battery percentage is signal strength (notes). USB traces and in-progress Rust implementation here: GeorgeHahn/stunning-broccoli.
thanks for the information, i've incorporated this into the python code.
I found your blog posts while I was working on solving the same problem, and since I didn't see it here already, I figured I'd share what I found about the SensorAlarm payload for the contact/motion sensor.
Hope it's helpful.
EDIT: What I had before as 'sensor index' actually looks like the 'sensor type', probably the same value as in the response to dongle_sensor_Random_date_send, where it maps to the dongle_sensor_mode string (DWS3U for contact sensor, PIR3U for the motion sensor)