dchesterton/texecom2mqtt-hassio

Get Battery Stats?

Opened this issue · 7 comments

More of a question than a bug, but is there a way to get the battery information for each sensor?

I don’t think battery status of ricochet devices are exposed via the API currently.

Theres a LowBattery event type, but not sure how to access this as can't see anything coming through on the event topic, and then no idea how to feed to an entity

@dchesterton Not sure if the Texecom API exposes this, but the Ricochet Monitor also reports states. Yellow = low battery.
image

That's very useful. Is that something that runs in Wintex or standalone?

That's very useful. Is that something that runs in Wintex or standalone?

You can install it standalone, or install it alongside Wintex and then use the Wintex config to connect: https://www.texe.com/uk/products/range/software-peripherals/

@dchesterton

I've figured out that battery status isn't a thing, however low battery is, as the log outputs the below for Ricochet devices

{"type":"RFDeviceLowBattery","description":"RF Device Low Battery","timestamp":"2022-05-01T05:17:37Z","areas":["A"],"parameter":17,"groupType":9}

I'm currently using an automation to send me a notification, however since I've not no cross reference to the area, i can't calculate the name of the device.

Would be great if you could add a battery status to the attributes of each device?

Afternoon All,
Any updates here ? had an early morning wake up today as the battery ran out and a tamper fault materialised ! Would be good to know when they are low so i can stop this one happening again