ckoehler/hassio-omlet-smartcoop-door
Home Assistant integration to monitor and control Omlet Smart Coop Door
hassio-omlet-smartcoop-door
Home Assistant integration to monitor and control an Omlet Smart Coop Door
The Smart Automatic Chicken Coop Door by Omlet, allows your chicken coop door and lighting to be automated and managed via a handy app.
This integration adds some of those most valuable 'smart' features to Home Assistant:
- See the door's position and change it.
- Light switch
- Battery level
The Omlet server is polled, using their official API, to get the latest status of your devices.
Also supports cloud push using Omlet's webhooks. Home Assistant can be notified in real-time of any changes without needing to wait for a poll.
Configuration
API Key
Accessing the Omlet API requires an API Key. These are free and limitless:
- Login to your Omlet Account at https://smart.omlet.com/developers/login
- Under API Keys, generate a new key. Copy the newly generated token, that's your API Key that'll you'll need to enter when adding this integration.
Webhooks
If your HA instance is accessible via the internet, then you can be notified of events in real-time rather than relying on polling.
Create a webhook
- Visit Manage Webhooks in the Omlet Developer Portal.
- The URL will be [your hostname]/api/webhook/omlet_smart_coop
- Add whatever events you want to track. Ctrl+Click to select multiple events.
- Specify an arbitrary token. This token will be included in the webhooks to verify the authenticity of the sender.
- The Provide this token when prompted for a webhook_token during the integration configuration.
During setup of this integration, you will be prompted for a webhook_token. Provide the same token you used when creating the webhook. If the tokens do not match, the notifcations will be ignored.