dchesterton / texecom2mqtt-hassio

Home Assistant add-on. Connect to Texecom Premier Elite alarm panels and publish updates to MQTT. Supports arming/disarming as well as zone updates and alarm events.
https://hub.docker.com/r/dchesterton/texecom2mqtt
MIT License
53 stars 9 forks source link

Get Battery Stats? #37

Open greghesp opened 3 years ago

greghesp commented 3 years ago

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

pete-leese commented 3 years ago

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

greghesp commented 3 years ago

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

greghesp commented 2 years ago

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

whiteduck22 commented 2 years ago

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

greghesp commented 2 years ago

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/

greghesp commented 2 years ago

@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?

rob1981forest commented 1 year ago

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