asednev / homebridge-plugin-govee

Govee H-series Thermometer Hygrometer plugin for Homebrige.
Apache License 2.0
53 stars 9 forks source link

Govee plugin no longer works after the upgrade to node 16.13 #44

Closed 1ne closed 2 years ago

1ne commented 2 years ago

Describe The Bug: After the upgrade to Node 16.13 the govee Homebridge plugin no longer loads.

To Reproduce: Upgrading to Node 16.13 and rebooting the service causes this. The downgrade back to Node 14 makes the plugin work again.

Expected behavior: The plugin should work the sameway regardless of the node version.

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

        {
            "name": "Govee",
            "batteryThreshold": 20,
            "debug": false,
            "humidityOffset": 0,
            "platform": "GoveeHomebridgePlugin",
            "_bridge": {
                "username": "0E:AA:3C:XX:XX:XX",
                "port": 57030
            }
        },

Screenshots:

Environment:

roundaboutluke commented 2 years ago

Can confirm - same everything else but Ubuntu OS.

aidupre commented 2 years ago

Confirm this is happening to me as well

roundaboutluke commented 2 years ago

Is anyone able to get any log output? Mine doesn’t show anything, it’s like it doesn’t even start, setting Homebridge and the plugin to debug and there isn’t even an entry in my logs.

It also doesn’t show in the child bridge list despite being set as one.

Going to the plugins page I can see it’s a child bridge and issue a restart, but still no output.

roundaboutluke commented 2 years ago

Fully removed plugin and config, restarted homebridge then readded plugin and reconfigured now working fine. YMMV 👍

fwbochum commented 2 years ago

Fully removed plugin and config, restarted homebridge then readded plugin and reconfigured now working fine. YMMV 👍

Works for me, too. Thanks for the advice.

roundaboutluke commented 2 years ago

@1ne give this a try

1ne commented 2 years ago

Thanks for your suggestion @roundaboutluke this fixed it. Closing out this issue.

Now I am seeing way too many "ghost" devices that are non-existent I believe its un-related.