Valve Lighthouse 2.0 plugin for Homebridge
BSD-2-CLAUSE License
Valve Lighthouse 2.0 plugin for Homebridge
This plugin relies on BlueZ and D-Bus, so will not run on Windows or Mac.
sudo npm install -g homebridge-lighthouse --unsafe-perm
.Configuration sample:
"platforms": [
{
"platform": "lighthouse",
"lighthouses": [
"LHB-ADD18BFB",
"LHB-02BF1E38"
],
"scanTimeout": 10,
"bleTimeout": 1,
"updateFrequency": 60,
}
]
3
)10
)1.5
)30
)If you are getting permission errors, you may need to create the file /etc/dbus-1/system.d/homebridge-lighthouse.conf
with the following contents:
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="homebridge">
<allow own="org.bluez"/>
<allow send_destination="org.bluez"/>
<allow send_interface="org.bluez.GattCharacteristic1"/>
<allow send_interface="org.bluez.GattDescriptor1"/>
<allow send_interface="org.freedesktop.DBus.ObjectManager"/>
<allow send_interface="org.freedesktop.DBus.Properties"/>
</policy>
</busconfig>
If you are running Homebridge under an ID other than homebridge
, change the policy user
line above.