bwp91 / homebridge-govee

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

Water Leak Sensor H5054 - Not reporting leaks or correct battery status #733

Open schwaggy opened 5 months ago

schwaggy commented 5 months ago

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

The H5054 Leak sensors do not send leak status to HomeKit, therefore no Critical Alert is generated when water is detected. The native Govee app has the correct leak info and sends proper push notifications (and email) from Govee.

Also, battery info from the plug-in is incorrect showing all sensors 0%

Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?

Homebridge

Which version of Homebridge/HOOBS do you have?

1.7.0

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

MacOS Monterey 12.7.2

Node 20.11.0

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?

10.3.0, 10.4.0

problem started with 10.3.0 - reverting to 10.2.0 works

Which Govee devices do you have that are causing issues? Please include product models if applicable.

H5054 Water Leak Sensors

Please paste any relevant logs below.

No obvious errors in the logs. Note I have 16 leak sensor devices but edited the log to only show one of them.

[1/21/2024, 8:25:51 PM] [Govee] Launched child bridge with PID 48901 [1/21/2024, 8:25:51 PM] Registering platform 'homebridge-govee.Govee' [1/21/2024, 8:25:51 PM] [Govee] Loaded homebridge-govee v10.3.0 child bridge successfully [1/21/2024, 8:25:51 PM] Loaded 16 cached accessories from cachedAccessories.0E65E4382F51. [1/21/2024, 8:25:51 PM] [Govee] Initialising plugin v10.3.0 | System darwin | Node v20.11.0 | HB v1.7.0 | HAPNodeJS v0.11.1... [1/21/2024, 8:25:51 PM] [Govee] Plugin initialised. Setting up accessories.... [1/21/2024, 8:25:51 PM] Homebridge v1.7.0 (HAP v0.11.1) (Govee) is running on port 48354. [1/21/2024, 8:25:53 PM] [Govee] [LAN] client enabled and found 0 device(s). [1/21/2024, 8:25:54 PM] [Govee] [HTTP] client enabled and found 16 device(s). [1/21/2024, 8:25:54 PM] [Govee] [AWS] disabling client as disabled in config. [1/21/2024, 8:25:54 PM] [Govee] [BLE] disabling client as disabled in config. [1/21/2024, 8:25:54 PM] [Govee] [Guest Toilet] initialising with options {}. [1/21/2024, 8:25:54 PM] [Govee] [Guest Toilet] initialised with id [42:F5:20:38:CB:F6:00:18:C3] [H5054].

RJ1002 commented 4 months ago

same issue. I have 5 H5054. my homebridge is running on an unraid server as a docker. node.js version: v20.11.1 homebridge-govee: v10.4.0

SJNix commented 4 months ago

Same issue with me for v10.4.0 - homebridge on Synology DSM. node.js v20.9.0.

schwaggy commented 3 months ago

Still not working Plug-In 10.5.0 Node 20.12.0

lsliddar commented 2 months ago

I am having the same issue:

Homebridge on Synology DSM Homebridge v1.8.0 Plugin v10.6.0 Nodejs v18.18.2

Maybe something strange with 'initialized with option {}'?? Happy to test in more detail to get this resolved.

mynameisbobwehadababyitsaboy commented 2 months ago

Signed up for Github just to comment on here and say this issue is impacting me also. Had a water sensor go off last night, and to my surprise never saw anything come through Homekit or Homebridge.

schwaggy commented 2 months ago

I've stayed on 10.2.0 of the PI until @bwp91 can let us know plans for this issue. Personally, I don't have any other Govee devices and only purchased this model leak sensor because of this plug-in. It sure would be nice to have this issue fixed so I can update and trust the system again! The native Govee app was always hit or miss and I'd prefer to not have to log in or rely on it.

mynameisbobwehadababyitsaboy commented 2 months ago

I've stayed on 10.2.0 of the PI until @bwp91 can let us know plans for this issue. Personally, I don't have any other Govee devices and only purchased this model leak sensor because of this plug-in. It sure would be nice to have this issue fixed so I can update and trust the system again! The native Govee app was always hit or miss and I'd prefer to not have to log in or rely on it.

Good to know that 10.2.0 is working, I just rolled back and they are all back online! Good enough fix for me for now. :)

bwp91 commented 2 months ago

Any improvement with the beta version of the plugin?

schwaggy commented 2 months ago

Any improvement with the beta version of the plugin?

No, no change.

bwp91 commented 2 months ago

i was looking at the differences between v10.2.0 and v10.3.0 and could not see anything really that could explain why this lost functionality.

Is is absolutely definitely 💯 the case that 10.2.0 works and 10.3.0 doesn't?

schwaggy commented 2 months ago

Yeah, just tested again. Battery status shows 0% for all sensors, and one other difference I see is running 10.2.0, the ID of the sensors is in this format: [42F52038CBF60018C3] but 10.3.x and higher is: [42:F5:20:38:CB:F6:00:18:C3] No idea if that makes any difference but just noticed it. Thanks!

bwp91 commented 2 months ago

@schwaggy thanks, any luck with 10.6.1-beta.1?

schwaggy commented 2 months ago

@schwaggy thanks, any luck with 10.6.1-beta.1?

YES! Working again!!! Logs are going crazy tho - is that just because of beta status? Thank You!

RJ1002 commented 2 months ago

@schwaggy thanks, any luck with 10.6.1-beta.1?

can also confirm that my water sensor started working on 10.6.1-beta.1

it might be something on my end but in Home Assistant it showing the Devices twice one has the water sensor the battery% and identify button and the other has nothing.

lsliddar commented 2 months ago

Just updated to 10.7 -- sensors seem to show up properly within Homebridge (battery %, etc) when I login but not seeing anything in Apple Home app yet. Anyone else?

schwaggy commented 2 months ago

Just updated to 10.7 -- sensors seem to show up properly within Homebridge (battery %, etc) when I login but not seeing anything in Apple Home app yet. Anyone else?

You will only see them listed as Alarm Sensors (top right) in the room they are assigned to. You will not see them as buttons or favorites.

lsliddar commented 2 months ago

Just updated to 10.7 -- sensors seem to show up properly within Homebridge (battery %, etc) when I login but not seeing anything in Apple Home app yet. Anyone else?

You will only see them listed as Alarm Sensors (top right) in the room they are assigned to. You will not see them as buttons or favorites.

Ugh... I'm an idiot. Thanks - I had added them to 'Homebridge' as the Room vs the actual room they were located. Showing up accurately with battery % detail as well. Thanks!