Have it working with my new Ring Alarm kit via ring-mqtt.
I can correctly report sensor on/off state for door/window sensors with the Ring alarm and ding/motion for doorbell.
I would like to pull in battery level.
There are three topics -
- Code: Select all
contact (with state of On/Off)
info - with state of JSON that includes among other things battery Level and then
status - which I don't really need; says online for now.
Is there a way to match and pull in the batteryLevel for this device if it is published to a separate topic from the on/off state?
in MQTT Explorer, it is nested like:
ring/AccountGUID/alarm/DeviceGUID with 3 topics
What would I subscribe to for the topic?
My MQTT Broker device is currently subscribed to ring/AccountGUID/alarm/DeviceGUID/#
I then have a trigger with the match to match to contact; I can then pull the state key for it from its array index. But I can't get batteryLevel to correlate with the same device object.
Thanks