TreehouseFalcon / homebridge-kwikset-halo

An easy to use Homebridge plugin for Kwikset Halo locks
Apache License 2.0
7 stars 3 forks source link

Ubuntu 24.04 #21

Open moralesaugusto opened 7 months ago

moralesaugusto commented 7 months ago

Describe The Bug:

Kwikset plugin fails to run To Reproduce:

Install Ubuntu 24.04 from scratch including homebridge Expected behavior:

To run Logs: [4/26/2024, 5:04:43 PM] ERROR LOADING PLUGIN homebridge-kwikset-halo: [4/26/2024, 5:04:43 PM] Error: Cannot find module 'ip' Require stack:

Plugin Config:

{ "bridge": { "name": "XXXXX", "username": "XXXXX "port": 51849, "pin": "XXXXXX", "advertiser": "bonjour-hap" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "email": "XXXXXXX", "password": "XXXXX", "homeName": "XXXXXX", "mfaPort": 47279, "_bridge": { "username": "XXXX", "port": 42959 }, "platform": "homebridge-kwikset-halo" } ] }

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Screenshot 2024-04-26 at 12-09-08 Homebridge Daylily Dr

Environment:

TreehouseFalcon commented 6 months ago

Can you ensure that iproute2 is installed? I believe that's the package nodejs uses to extract the machine's local IP address.

sudo apt-get install iproute2

For UX benefits I want to try and keep the IP lookup in the setup flow, but if Ubuntu 24 doesn't come with this package by default I might need to look into it more.

moralesaugusto commented 6 months ago

It is installed, I tried to force reinstalled it, same problem sudo apt install iproute2 Reading package lists... Done Building dependency tree... Done Reading state information... Done iproute2 is already the newest version (6.1.0-1ubuntu6). 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.