Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/majamassarini/automate-sockets-example
An example project automating sockets with automate-home
https://github.com/majamassarini/automate-sockets-example
automate-home automation configuration home-automation knx sockets
Last synced: 29 days ago
JSON representation
An example project automating sockets with automate-home
- Host: GitHub
- URL: https://github.com/majamassarini/automate-sockets-example
- Owner: majamassarini
- License: mit
- Created: 2021-12-26T19:18:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-26T19:20:43.000Z (about 3 years ago)
- Last Synced: 2025-01-02T02:54:50.928Z (about 2 months ago)
- Topics: automate-home, automation, configuration, home-automation, knx, sockets
- Language: HTML
- Homepage: https://majamassarini.github.io/automate-sockets-example/sockets/172.31.10.248/index.html
- Size: 530 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
automate-home sockets example project
=====================================An example project for the [automate-home project](https://github.com/majamassarini/automate-home).
A collection of files which define automation rules for different sockets **Appliances**.
- [socket.presence.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#socket-presence-appliance)
- [socket.presence.christmas.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#socket-presence-christmas-appliance)
- [socket.energy_guard.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#socket-energy-guard-appliance)Every *Appliance* automates a device, through a *Performer*.
The automated devices are **KNX** switches.To automate the sockets three sensors, other than the buttons, are used:
- [sensor.powermeter.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#sensor-powermeter-appliance); data come from a **KNX** sensor.
- [sensor.luxmeter.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#sensor-luxmeter-appliance); data come from a **KNX** sensor.
- [sensor.alarm.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#sensor-alarm-appliance); data come from **KNX**.## Run automate-home docker container using this project files
```shell
export AUTOMATE_HOME_CONFIGURATION=`pwd`
export NETWORK_NAME='qnet-static-eth0-a7611e'
export IP='172.31.10.248'docker run -dit --privileged --name sockets --network $NETWORK_NAME --ip $IP -p 8181:8181 -v graphite-sockets:/opt/graphite/storage -v redis-sockets:/var/lib/redis -v "$AUTOMATE_HOME_CONFIGURATION:/etc/automate-home" -t majamassarini/automate-home:latest
docker exec -it lights /bin/bash
```## UI
[GUI example](https://majamassarini.github.io/automate-sockets-example/pages/172.31.10.248/index.html)