No project description provided
Project description
Home automation
Installation
pip3 install david-home-automation==0.1.24
(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)
# (Optional) find your thermostat MACs via
bluetoothctl devices
# 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
python3 -m david_home_automation.server --server-host=0.0.0.0 --server-port 5000
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
cp home_automation.service ~/.config/systemd/user/home_automation.service
systemctl --user daemon-reload
systemctl --user start home_automation.service
systemctl --user status home_automation.service
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.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e310482876c1991ddf1f10505f64ed5b3e62e0621028934ccc011851573559b3 |
|
MD5 | 0e78d37c58345c88ad2a617e61b1702c |
|
BLAKE2b-256 | 1ac7a2051346892978af96b541893f44d3e0e2584f9f27288c3349c44a0a0d99 |
Close
Hashes for david_home_automation-0.1.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d9d38ccfd9641f3428c109a35aad82698c0de6e51e2a7fb085cbf2d326caa2f |
|
MD5 | cf96f82179588d14093f7614f12763bd |
|
BLAKE2b-256 | b3e5b03dfc1a26641d7e9359500bc43cbe550aa4e1a3eec46bd27653b33e3b0f |