This plugin is now deprecated and will no longer be supported. Please migrate to homebridge-laundrify-official.
Simple homebridge ContactSensor plugin for laundrify adapters.
Simply put this in the accessories array of your config.json:
{
"accessory": "laundrify",
"name": "NAME OF YOUR DEVICE",
"ipAddress": "IP ADDRESS",
"threshold": POWER_LEVEL_THRESHOLD,
"interval": INTERVAL_IN_MS,
"minimumTime": MINIMUM_TIME_BETWEEN_STATE_CHANGES_IN_SECONDS
}
and adjust the values accordingly.