homebridge-plugins / homebridge-govee

Homebridge plugin to integrate Govee devices into HomeKit.
MIT License
481 stars 49 forks source link

Unable to get alerts from H5054 Water Sensor #579

Closed dusky-ghee closed 8 months ago

dusky-ghee commented 1 year ago

What issue do you have? Please be as thorough and explicit as possible.

I am unable to get leak detection to HomeKit. I am able to use the Govee app. I have tried to use an older version and now currently running the beta version, which is still not working. When there is a leak, the logs continue to update without the leak being detected on HomeKit.

Details of your setup.

Homebridge UI-X

HA 1.6.1

MacOS running all the time, Node.JS [v18.17.1]

9.4.3-Beta

H5054 Water Sensor

Please paste any relevant logs below.

[9/9/2023, 3:28:48 PM] [Govee] Initialising plugin v9.4.3-beta.1 | System darwin | Node v18.17.1 | HB v1.6.1 | HAPNodeJS v0.11.1...
[9/9/2023, 3:28:48 PM] [Govee] Plugin initialised. Setting up accessories....
[9/9/2023, 3:28:48 PM] [Govee] ******************************************************************************************
[9/9/2023, 3:28:48 PM] [Govee] You are using a beta version of the plugin - you will experience more logging than normal.
[9/9/2023, 3:28:48 PM] [Govee] ******************************************************************************************
[9/9/2023, 3:28:48 PM] Homebridge v1.6.1 (HAP v0.11.1) (Govee) is running on port 49786.
[9/9/2023, 3:28:48 PM] [Govee] [LAN] server started listening on 0.0.0.0:4002.
[9/9/2023, 3:28:48 PM] [Govee] [LAN] scanning for devices over LAN...
[9/9/2023, 3:28:50 PM] [Govee] [LAN] client enabled and found 0 device(s).
[9/9/2023, 3:28:50 PM] [Govee] [HTTP] retrieved access token from cache.
[9/9/2023, 3:28:51 PM] [Govee] [HTTP] client enabled and found 3 device(s).
[9/9/2023, 3:28:51 PM] [Govee] [AWS] client enabled.
[9/9/2023, 3:28:51 PM] [Govee] [BLE] disabling client as not supported on mac devices.
[9/9/2023, 3:28:51 PM] [Govee] [Kitchen] initialising with options {}.
[9/9/2023, 3:28:51 PM] [Govee] [Kitchen] initialised with id [****] [H5054].
[9/9/2023, 3:28:51 PM] [Govee] [Washing Machine] initialising with options {}.
[9/9/2023, 3:28:51 PM] [Govee] [Washing Machine] initialised with id [****] [H5054].
[9/9/2023, 3:28:51 PM] [Govee] [Main floor Bathroom] initialising with options {}.
[9/9/2023, 3:28:51 PM] [Govee] [Main floor Bathroom] initialised with id [****] [H5054].
[9/9/2023, 3:28:51 PM] [Govee] [Kitchen] raw data: {"online":true,"gwonline":true,"lastTime":1694289000000,"read":false,"battery":100,"openPush":true,"header":"1","gatewayVersionHard":"1.00.04","gatewayVersionSoft":"1.05.06","sku":"H5054","device":"****","deviceName":"Kitchen","versionHard":"1.0.0","versionSoft":"1.0.0"}.
[9/9/2023, 3:28:51 PM] [Govee] [Washing Machine] raw data: {"online":true,"gwonline":true,"lastTime":1694206140000,"read":false,"battery":100,"openPush":true,"header":"2","gatewayVersionHard":"1.00.04","gatewayVersionSoft":"1.05.06","sku":"H5054","device":"****","deviceName":"Havc","versionHard":"1.0.0","versionSoft":"1.0.0"}.
[9/9/2023, 3:28:51 PM] [Govee] [Main floor Bathroom] raw data: {"online":true,"gwonline":true,"lastTime":1694288940000,"read":false,"battery":100,"openPush":true,"header":"3","gatewayVersionHard":"1.00.04","gatewayVersionSoft":"1.05.06","sku":"H5054","device":"****","deviceName":"Main floor Bathroom","versionHard":"1.0.0","versionSoft":"1.0.0"}.
[9/9/2023, 3:28:51 PM] [Govee] ✓ Setup complete. This plugin has been made with ♥ by bwp91, please consider a ☆ on GitHub if you are finding it useful!
[9/9/2023, 3:28:51 PM] [Govee] [AWS] connect event.
[9/9/2023, 3:28:51 PM] [Govee] [Kitchen] raw messages: [].
[9/9/2023, 3:28:51 PM] [Govee] [Kitchen] [HTTP] receiving update {"source":"HTTP","battery":100,"leakDetected":false,"online":true}.
[9/9/2023, 3:28:51 PM] [Govee] [Washing Machine] raw messages: [].
[9/9/2023, 3:28:51 PM] [Govee] [Washing Machine] [HTTP] receiving update {"source":"HTTP","battery":100,"leakDetected":false,"online":true}.
[9/9/2023, 3:28:51 PM] [Govee] [Main floor Bathroom] raw messages: [].
[9/9/2023, 3:28:51 PM] [Govee] [Main floor Bathroom] [HTTP] receiving update {"source":"HTTP","battery":100,"leakDetected":false,"online":true}.
[9/9/2023, 3:29:21 PM] [Govee] [Kitchen] raw data: {"online":true,"gwonline":true,"lastTime":1694289000000,"read":false,"battery":100,"openPush":true,"header":"1","gatewayVersionHard":"1.00.04","gatewayVersionSoft":"1.05.06","sku":"H5054","device":"****","deviceName":"Kitchen","versionHard":"1.0.0","versionSoft":"1.0.0"}.
[9/9/2023, 3:29:21 PM] [Govee] [Washing Machine] raw data: {"online":true,"gwonline":true,"lastTime":1694206140000,"read":false,"battery":100,"openPush":true,"header":"2","gatewayVersionHard":"1.00.04","gatewayVersionSoft":"1.05.06","sku":"H5054","device":"*****","deviceName":"Havc","versionHard":"1.0.0","versionSoft":"1.0.0"}.
[9/9/2023, 3:29:21 PM] [Govee] [Main floor Bathroom] raw data: {"online":true,"gwonline":true,"lastTime":1694288940000,"read":false,"battery":100,"openPush":true,"header":"3","gatewayVersionHard":"1.00.04","gatewayVersionSoft":"1.05.06","sku":"H5054","device":"****","deviceName":"Main floor Bathroom","versionHard":"1.0.0","versionSoft":"1.0.0"}.
iLLNESS commented 11 months ago

Have the same issue along with the HTTP API being flooded causing the Govee app to prevent me from clearing leaks.

I rolled back to 9.4.2 and HomeKit now alerts to leaks. I'm unsure if the HTTP API issue is fixed at this time.