This plugin exposes your laundrify Power Plugs to Apple HomeKit using Homebridge.
APACHE-2.0 License
This plugin exposes your laundrify Power Plugs to Apple HomeKit using Homebridge.
To get started you need to
The Plugin can either be installed using the Homebridge UI or via CLI.
⚠️ Please make sure you are using the correct Plugin (
laundrify-official
) since there is another one (homebridge-laundrify authored by @ttimpe).
Open Homebridge UI, navigate to the Plugins
page and search for laundrify-official
. Click on Install
sudo npm i -g homebridge-laundrify-official
Open the laundrify App and activate the Homebridge integration. Take note of the AuthCode that will be shown after the activation.
Add (or extend) the platforms
property in your Homebridge configuration as shown below:
{
"bridge": {...},
"platforms": [
{...},
{
"platform": "laundrify",
"authCode": "xxx-xxx",
"invertStatus": false,
}
]
}
Replace xxx-xxx
with the Auth Code that has been obtained in the previous step.
By default the ContactSensor states are mapped to the laundrify states as follows:
OPEN => Off
CLOSED => On
Since HomeKit will hide closed ContactSensors from the overview, you can invert the status mapping by setting invertStatus
to true
.
Don't forget to restart Homebridge after saving the configuration.
npm i
npm run watch
for automatic buildsnpm run build && npm link
for a manual buildnpm publish
(don't forget to update the version number in package[-lock].json
)