domwillcode / yale-smart-alarm-client

Yale Smart Alarm System python client for interacting with the Yale API.
Apache License 2.0
45 stars 18 forks source link

Yale Smart Living - Fire/Smoke detector temperature sensor and water leak sensor data - enhancement request #55

Closed Vladdy65 closed 2 months ago

Vladdy65 commented 8 months ago

Enhancement Request

In an effort to leverage existing sensors, and the fact that their data is available in the native Yale Alarm app, combined with a naive presumption that if the app is accessing this data the API might have access to it too, I propose the following enhancement requests:

Addition of Fire/Smoke detector temperature sensor - these are available on the native Yale app under the 'Control' option. Addition of Water sensors - these are available as binary sensors on the native Yale app.

gjohansson-ST commented 8 months ago

From the integration download a diagnostics file and attach it to this issue so I can see how it looks. Thanks 👍

Vladdy65 commented 8 months ago

Herewith attached diagnostics file as requested. config_entry-yale_smart_alarm-0eec53a6042fe0586040bb7c49a1b487.json

gjohansson-ST commented 8 months ago

So I had a look and regarding the temp sensors those can be added easily which I'll look at shortly.

For both smoke and water it's not reporting a status (clear or something) so actually to add those in, in the form off binary sensors to see if they have tripped or not I need you to trip them (water on the water sensor). Then wait a cycle for the integration to update and then download and paste a new diagnostics file so I can understand if it's actually telling a state when tripping or not. I think perhaps putting water on the water sensor is the first step than making a small fire 🤣

Vladdy65 commented 8 months ago

ETA next week as travelling.

Vladdy65 commented 7 months ago

Herewith file (...water_sensor) with water_sensor activated several times but downloaded after the fact. Activated for a second or two then stuck it in a glass of wate for ~20min, and again for a second or so. From what I understand of this, in History, event_type: 1154 is received when activated and 3154 when deactivated. Timings agree with what the Yale app reflects. config_entry-yale_smart_alarm-0eec53a6042fe0586040bb7c49a1b487 (water_sensor).json

Vladdy65 commented 7 months ago

Herewith file (...activated) with water_sensor in glass of water taken during event. As the alarm went off I had to acknowledge this and silence it. So not sure if this had any impact on the device_status, but I do not see any change in the reported device status, only the History event list. config_entry-yale_smart_alarm-0eec53a6042fe0586040bb7c49a1b487 (activated).json. As regards the temperatures, the device_status, status_temp: 21 agrees with what the Yale app reports, but there seem to be no events pushed through when this changes from what I can establish. I have seen it change on the Yale app, and the change is reflected in the device_status. Fire alarm activation to follow.

github-actions[bot] commented 2 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!