itchannel/fordpass-ha

Question surrounding what I can do when the Alarm is triggered

Opened this issue · 4 comments

Loving this HA component; pretty much the most useful incorporation I have placed into HA; massive kudos to everyone who created and maintains it.

One thing I can't find is the alarm trigger/ data; i.e. something to use when the alarm is triggered. Lots of attributes, but this one seems to be missing. Just not available, or am I missing it.

Would really like to incorporate into my HA security, which would be next level awesome!

There is a fordpass_alarm sensor which just returns alarmStatus

I'm not sure if that state will change to something like ACTIVE. I peeked at the history for my sensor and I only see ARMED and DISARMED so I'm not sure if that would be the item to use.

There also is fordpass_messages and I believe the app will give you a message if the alarm is triggered - I'm just not sure if that is captured by that sensor, or if it is just a notification in the app.

There is a fordpass_alarm sensor which just returns alarmStatus

I'm not sure if that state will change to something like ACTIVE. I peeked at the history for my sensor and I only see ARMED and DISARMED so I'm not sure if that would be the item to use.

There also is fordpass_messages and I believe the app will give you a message if the alarm is triggered - I'm just not sure if that is captured by that sensor, or if it is just a notification in the app.

Negative on both - I purposely set the alarm off, and whilst I got a message via the FordPass App, there was no such message on fordpass_messages, and no indication on fordpass_alarm

I actually also found this out. I'm having a weird issue with my truck door. This causes my Alarm to go off sometimes so I looked through the sensor history and didn't see anything. Next time I get some time to look into the code I'll see if there is anything related to the alarm, because I would also like to have this.

Update on this.
I have been logging fordpass_metrics into InfluxDB and took a quick peek at the alarmStatus_str.

I found this entry

{'updateTime': '2024-06-21T20:24:19Z', 'oemCorrelationId': '4887', 'tags': {'ALARM_SOURCE': 'DOOR', 'VEHICLE_DOOR': 'UNSPECIFIED_FRONT', 'VEHICLE_SIDE': 'DRIVER'}, 'value': 'ACTIVATED'}

Since this is from metrics I'm not sure if anything can be done at the time of it being triggered - but there is data IF it was triggered.
I'm putting these here so I remember next time I look through the code.