bwp91/homebridge-govee

H6182 doesn't work over LAN with version 10.6.0

Opened this issue · 1 comments

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

I can't control H6182 with version 10.6.0 of the plugin, I downgraded to version 10.5.0 of the plugin and it works fine. I am controlling over LAN only (disabled BLE and AWS)

Details of your setup.

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

  • Which version of Homebridge/HOOBS do you have?
    Homebridge 1.8.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.
    Ubuntu Focal (20.04.6 LTS)
    Node.js v20.12.2

  • Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?
    v10.6.0 and yes the issue started after the upgrade from 10.5.0, downgrading to 10.5.0 fixes the issue

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

*** Logs from version 10.6.0 *** NOT WORKING

[4/24/2024, 11:21:47 AM] [Govee] Restarting child bridge...
[4/24/2024, 11:21:47 AM] Got SIGTERM, shutting down child bridge process...
[4/24/2024, 11:21:52 AM] [Govee] Child bridge process ended
[4/24/2024, 11:21:52 AM] [Govee] Process Ended. Code: 143, Signal: null
[4/24/2024, 11:21:59 AM] [Govee] Restarting Process...
[4/24/2024, 11:21:59 AM] [Govee] Launched child bridge with PID 1080777
[4/24/2024, 11:21:59 AM] [Govee] Loaded homebridge-govee v10.6.0 child bridge successfully
[4/24/2024, 11:21:59 AM] Loaded 1 cached accessories from cachedAccessories.0E6A676EB6E5.
[4/24/2024, 11:21:59 AM] [Govee] Initialising plugin v10.6.0 | System linux | Node v20.12.2 | HB v1.8.0 | HAPNodeJS v0.12.0...
[4/24/2024, 11:21:59 AM] [Govee] Plugin initialised. Setting up accessories....
[4/24/2024, 11:21:59 AM] Homebridge v1.8.0 (HAP v0.12.0) (Govee) is running on port 59918.
[4/24/2024, 11:22:01 AM] [Govee] [LAN] client enabled and found 1 device(s).
[4/24/2024, 11:22:02 AM] [Govee] [HTTP] client enabled and found 1 device(s).
[4/24/2024, 11:22:02 AM] [Govee] [AWS] client enabled.
[4/24/2024, 11:22:02 AM] [Govee] [BLE] disabling client as disabled in config.
[4/24/2024, 11:22:02 AM] [Govee] [TV Light] initialising with options {"adaptiveLightingShift":-1,"aws":"enabled","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"enabled"}.
[4/24/2024, 11:22:02 AM] [Govee] [TV Light] initialised with id [76:3F:A4:C1:38:91:16:42] [H6182].
[4/24/2024, 11:22:03 AM] [Govee] ✓ Setup complete. This plugin has been made with ♥ by bwp91, please consider a ☆ on GitHub if you are finding it useful!
[4/24/2024, 11:22:06 AM] [Govee] [TV Light] current state [off].
[4/24/2024, 11:22:10 AM] [Govee] [TV Light] current state [on].

*** Logs from version 10.5.0 *** WORKING

[4/24/2024, 11:24:18 AM] [Govee] Restarting child bridge...
[4/24/2024, 11:24:18 AM] Got SIGTERM, shutting down child bridge process...
[4/24/2024, 11:24:23 AM] [Govee] Child bridge process ended
[4/24/2024, 11:24:23 AM] [Govee] Process Ended. Code: 143, Signal: null
[4/24/2024, 11:24:30 AM] [Govee] Restarting Process...
[4/24/2024, 11:24:30 AM] [Govee] Launched child bridge with PID 1081073
[4/24/2024, 11:24:30 AM] Registering platform 'homebridge-govee.Govee'
[4/24/2024, 11:24:30 AM] [Govee] Loaded homebridge-govee v10.5.0 child bridge successfully
[4/24/2024, 11:24:30 AM] Loaded 1 cached accessories from cachedAccessories.0E6A676EB6E5.
[4/24/2024, 11:24:30 AM] [Govee] Initialising plugin v10.5.0 | System linux | Node v20.12.2 | HB v1.8.0 | HAPNodeJS v0.12.0...
[4/24/2024, 11:24:30 AM] [Govee] Plugin initialised. Setting up accessories....
[4/24/2024, 11:24:30 AM] Homebridge v1.8.0 (HAP v0.12.0) (Govee) is running on port 59918.
[4/24/2024, 11:24:32 AM] [Govee] [LAN] client enabled and found 1 device(s).
[4/24/2024, 11:24:33 AM] [Govee] [HTTP] client enabled and found 1 device(s).
[4/24/2024, 11:24:33 AM] [Govee] [AWS] client enabled.
[4/24/2024, 11:24:33 AM] [Govee] [BLE] disabling client as disabled in config.
[4/24/2024, 11:24:33 AM] [Govee] [TV Light] initialising with options {"adaptiveLightingShift":-1,"aws":"enabled","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[4/24/2024, 11:24:33 AM] [Govee] [TV Light] initialised with id [76:3F:A4:C1:38:91:16:42] [H6182].
[4/24/2024, 11:24:34 AM] [Govee] ✓ Setup complete. This plugin has been made with ♥ by bwp91, please consider a ☆ on GitHub if you are finding it useful!
[4/24/2024, 11:25:01 AM] [Govee] [TV Light] current state [off].
[4/24/2024, 11:25:04 AM] [Govee] [TV Light] current state [on].

Looks like the issue is with LAN control, 10.5.0 reports the device as "lan":"unsupported" while 10.6.0 reports it as "lan":"enabled" but will not control over LAN. Disabling LAN in v10.6.0 forces it to control it over AWS and does work fine.