No project description provided
Project description
Home automation
Installation
pip3 install david-home-automation==0.1.14
(sudo apt install --yes expect && cd $(mktemp -d) && git clone https://github.com/Heckie75/eQ-3-radiator-thermostat.git x && cd x && cp eq3.exp $HOME/.local/bin)
# Create your config once
cat > ~/.config/david-home-automation.yaml <<EOF
thermostats:
- mac_address: XX:XX:XX:XX:XX:XX
name: Arbeitszimmer
hosts:
- broadcast_ip: 192.168.178.1
mac_address: XX:XX:XX:XX:XX:XX
name: Desktop
EOF
# You can also pass your config file path via an env variable
export HOME_AUTOMATION_CONFIG=your/path
# Run server
FLASK_APP=david_home_automation.main flask run --host=0.0.0.0 --port 5050
Development
FLASK_ENV=development FLASK_APP=david_home_automation/main poetry run flask run --host=0.0.0.0 --port 5050
As a service
sudo apt install --yes supervisor
./install.sh
# killall supervisord; supervisord -c /etc/supervisord.conf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for david-home-automation-0.1.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcaa5b76389e72ee336ac3cdb412e545b8b78e9b1e2106ac4d1190ce351044fe |
|
MD5 | ca6a81b5cb4b386ad3cebad17eae9184 |
|
BLAKE2b-256 | 9e82a52e8a813139028be30bc1a404e8d437013f1ac97485fd93ce0fe812edda |
Close
Hashes for david_home_automation-0.1.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 725c1f5967fc670708025ffc0ce9ec29e4aea95baa0846e32f45ad6a9d3297af |
|
MD5 | 74e166b59c59c09b64247f1b6f69827a |
|
BLAKE2b-256 | f085eec7a6c10362be7a0fcba3e98d0db890afafc7ea1015b88af25bbc8e7a42 |