Home Assistant Integration
Integrate Sticky with Home Assistant using RESTful notifications or custom integrations to display smart home status and receive automation alerts.
Overview
Home Assistant is one of the most popular open-source smart home platforms. After integrating Sticky with Home Assistant, you can:
- Display sensor data, device status, and security info on Sticky
- Push notifications to Sticky’s screen via automation rules
- Use Sticky as a room-specific status panel
Integration Methods
Method 1: RESTful API Push
Home Assistant can call Sticky’s cloud API via the rest_command component to push text and image content.
- Add a
rest_commandto yourconfiguration.yaml
rest_command:
sticky_push_text:
url: "https://api.seeedash.com/v1/devices/{{ device_id }}/push/text"
method: POST
content_type: "application/json"
headers:
Authorization: "Bearer {{ api_token }}"
payload: '{"content": "{{ message }}"}'
- Use it in an automation
automation:
- alias: "Push temperature alert to Sticky"
trigger:
platform: numeric_state
entity_id: sensor.living_room_temperature
above: 35
action:
service: rest_command.sticky_push_text
data:
device_id: "YOUR_DEVICE_ID"
message: "Living room too hot: {{ states('sensor.living_room_temperature') }}°C"
Method 2: MQTT Messages
If your Sticky firmware supports MQTT subscriptions, you can directly subscribe to Home Assistant’s MQTT messages:
- Configure MQTT automation in Home Assistant
- Sticky subscribes to specific topics and updates the screen when messages arrive
Typical Scenarios
| Scenario | Description |
|---|---|
| Temperature monitoring | Push alert when indoor temperature exceeds threshold |
| Security status | Push notification when door/window sensor state changes |
| Appliance reminders | Push notification when washer/dryer cycle completes |
| Schedule reminders | Push calendar event reminders to Sticky |
Notes
- See API Reference for detailed API definitions
- Push frequency should not exceed once per minute to avoid rate limiting
- E-ink refresh takes time — not suitable for high real-time requirements
Next Steps
- Homey Integration — Another smart home platform
- IFTTT Integration — Connect more services via IFTTT