0.1.1 • Published 2 years ago

homebridge-shelly1-garage-door v0.1.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Homebridge Shelly 1 Garage Door

⚠️ This is a plugin I wrote for my own use case. If you want to use this I advise you to fork this plugin as I'm not planning to update this plugin anymore.

This is a custom plugin that provides a Garage Door in HomeKit which controls a Shelly 1 relay.

It is configured to only send a single command to your Shelly local API (http://{shellyIp}/relay/0?turn=on).

Within the Home app the garage door will simulate the opening time using openTime and closing time using closeTime (in seconds). It will also automatically close after X amount of seconds defined in autoCloseTime.

Configuration

Properties

NameDescriptionDefault
nameName of your garage door in Home appGarage
shellyIpIP address of your Shelly 1N/A
shellyUsernameUsername of your Shelly 1 (if secured)N/A
shellyPasswordPassword of your Shelly 1 (if secured)N/A
openTimeTime it takes to open garage15
closeTimeTime it takes to close garage15
autoCloseTimeAmount of seconds before garage auto-closes again30

Example Configuration

{
  "platform": "Shelly 1 Garage Door",
  "name": "Garage",
  "shellyIp": "192.168.0.100",
  "shellyUsername": "john",
  "shellyPassword": "d0e",
  "openTime": 10,
  "closeTime": 10,
  "autoCloseTime": 30
}