Open tskirvin opened 6 months ago
Hey there @timmo001, mind taking a look at this issue as it has been labeled with an integration (lyric
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
lyric documentation lyric source (message by IssueLinks)
I looked over the code and it appears that it only supports thermostats and room sensors. Other devices in the ecosystem like water leak sensor, security, and camera don't appear to be supported. So I'm guessing that this would need be a feature request but I'll let the developer comment as I am not one.
I have water leak sensor too so I would vote for the feature request.
That's why I included the yaml snippet; it was closer than I expected! The right fields look to be there.
I don't think timmo has been able to dedicate any time to support the integration. I was hoping to request Water Leak devices added to the aiolyric package, but issues are getting marked as stale and auto closed.
Looks like 88471 and 52528 were in support of similar instances with non-thermostat devices, but also had to be resolved by someone other than the code owner.
Seems any additional support of the Lyric package for non-thermostat devices may need to come from someone else in the community.
I'm possibly willing to go at least test my "this is fairly easy" theory, but only if there's somebody that can take my pull commit if necessary. Is there anybody?
Timmo did accept a pull request in aiolyric at the end of last year, so I'd say it's a possibility.
Another vote for this feature. I'm interested in these sensors simple because my home owners insurance has a "Connected Home" discount if you have at least two of these sensors. I already have other leak sensors that can turn off my main water valve, but they won't accept sensors/automation that actually do something, only ones that will email me if there is leak. I guess their idea of a connected home is from 1995.
I'm still planning on buying them, but if they were integrated into HA, I could add them to other areas of my home to increase reliability.
I'm possibly willing to go at least test my "this is fairly easy" theory, but only if there's somebody that can take my pull commit if necessary. Is there anybody?
If we can get this working I'm pretty sure we can scare up some Home Assistant people to help out if @timmo001 is not available to merge fixes.
It looks like the water sensors return a deviceID
that is a GUID and the current Lyric component is relying on macID as a dictionary key for storing devices. I don't have a thermostat, so I can't tell for sure, but the API documentation makes it look as though thermostats have a deviceID
as well? So maybe if that dictionary is re-keyed to use deviceID
then these devices can just be added as sensors?
I did make a run at it, and it was (unsurprisingly) not as simple as I'd like. I have to admit that switching over to deviceID whole-sale might work better, but that'd actually affect existing users and I didn't see a good enough test suite to do it anyway.
So - I think it still could be done. I still think it's worth doing. I'm not sure I have a quick solution.
@tskirvin, if you need testers, let us know. I just got two of these sensors in today, and going through the Lyric enrollment process, it shows the devices on the Lyric page to enroll, but then when it comes back to HA, the devices aren't there. I'm sure this is the same behavior others are seeing.
Hello, no solution yet?
Regards
I have a problem in the end of Lyric enrollment process. After I select the device from honeywell api site and then link to HA the enrollment open HA and ask in whitch House to add, i select the house but then after a while ha go on error saying 500 internal server error : server got itself in trouble.
I also have two of these water sensors (the Resideo "L1 WiFi Water Leak Detector"), which I also got for the "Connected Home" discount on my homeowner's insurance, which requires us to use this specific brand of water sensor. HA integration would be very nice. Nothing shows up in HA when the integration is added. But I'm able to see the following using the Honeywell API manually:
[ { "locationID": 5555555, "name": "Home", "country": "US", "zipcode": "55555", "devices": [ { "waterPresent": false, "currentSensorReadings": { "time": "2024-09-20T15:00:37", "temperature": 25.39, "humidity": 56.5 }, "currentAlarms": [], "lastCheckin": "2024-09-20T15:00:42", "lastDeviceSettingUpdatedOn": "2024-09-20T15:00:42", "batteryRemaining": 100, "isRegistered": true, "hasDeviceCheckedIn": true, "isDeviceOffline": false, "deviceOfflineTime": "2024-09-22T03:00:42", "firstFailedAttemptTime": "0001-01-01T00:00:00", "failedConnectionAttempts": 0, "wifiSignalStrength": 0, "time": "2024-09-20T15:00:42", "deviceClass": "LeakDetector", "deviceType": "Water Leak Detector", "deviceID": "74d0c5c2-5cab-4425-936b-855c132b9d75", "deviceInternalID": 6676829, "userDefinedDeviceName": "Water Heater", "backend": {}, "isAlive": true, "isUpgrading": false, "isProvisioned": true, "deviceSettings": { "temp": { "high": { "limit": 37 }, "low": { "limit": 7 } }, "humidity": { "high": { "limit": 70 }, "low": { "limit": 20 } }, "userDefinedName": "Water Heater", "buzzerMuted": false, "checkinPeriod": 24, "currentSensorReadPeriod": 60 }, "service": { "mode": "Up" }, "deviceRegistrationDate": "2024-09-20T14:59:57.01", "deviceVariant": "L1_SmartWaterSensor_Retail" }, { "waterPresent": false, "currentSensorReadings": { "time": "2024-09-20T15:06:40", "temperature": 25.26, "humidity": 57.8 }, "currentAlarms": [], "lastCheckin": "2024-09-20T15:06:44", "lastDeviceSettingUpdatedOn": "2024-09-20T15:06:44", "batteryRemaining": 100, "isRegistered": true, "hasDeviceCheckedIn": true, "isDeviceOffline": false, "deviceOfflineTime": "2024-09-22T03:06:44", "firstFailedAttemptTime": "0001-01-01T00:00:00", "failedConnectionAttempts": 0, "wifiSignalStrength": 0, "time": "2024-09-20T15:06:44", "deviceClass": "LeakDetector", "deviceType": "Water Leak Detector", "deviceID": "fec2b1a8-dc96-4c24-b6a5-f5e6a0eaad72", "deviceInternalID": 6676850, "userDefinedDeviceName": "Master Bathroom", "backend": {}, "isAlive": true, "isUpgrading": false, "isProvisioned": true, "deviceSettings": { "temp": { "high": { "limit": 37 }, "low": { "limit": 7 } }, "humidity": { "high": { "limit": 70 }, "low": { "limit": 20 } }, "userDefinedName": "Master Bathroom", "buzzerMuted": false, "checkinPeriod": 24, "currentSensorReadPeriod": 60 }, "service": { "mode": "Up" }, "deviceRegistrationDate": "2024-09-20T15:06:02.9333333", "deviceVariant": "L1_SmartWaterSensor_Retail" } ], "users": [ { "userID": 5555555, "username": "email@gmail.com", "firstname": "FirstName", "lastname": "LastName", "created": 1726844205, "deleted": -62135596800, "activated": true, "connectedHomeAccountExists": true, "locationRoleMapping": [ { "locationID": 5555555, "role": "Adult", "locationName": "Home", "status": 1 } ], "isOptOut": "False", "isCurrentUser": true } ], "timeZoneId": "Eastern", "timeZone": "Eastern Standard Time", "ianaTimeZone": "America/New_York", "daylightSavingTimeEnabled": true, "geoFenceEnabled": false, "predictiveAIREnabled": false, "comfortLevel": 0, "geoFenceNotificationEnabled": false, "geoFenceNotificationTypeId": 13, "configuration": { "faceRecognition": { "enabled": false, "maxPersons": 2, "maxEtas": 2, "maxEtaPersons": 1, "schedules": [ { "time": [ { "start": "15:00:00", "end": "17:00:00" } ], "days": [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ] } ] } } } ]
Any news to get water leak working ? No one is manteining it ?
Been looking for a way to integrate this for a while now, looks like still no luck?
The problem
When trying to add Lyric Honeywell integration, it fails for the WLD3 water leak sensor. This appears to be an ongoing problem, based on the device not providing a macID (it instead offers a deviceID, which looks like it should be on all items). It sure feels like a simple
try
statement around the two calls to macID would solve this?This is probably a repeat of 88471 (and 52528 before that), but I can't re-open that.
What version of Home Assistant Core has the issue?
core-2024.4.3
What was the last working version of Home Assistant Core?
(none)
What type of installation are you running?
Home Assistant Container
Integration causing the issue
lyric
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lyric/
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Sample json from the logs of a particular water sensor: