No project description provided
Project description
Home automation
Installation
pip3 install david-home-automation==0.1.25
(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
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.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc7ae87de1c78e671dacfd7283e905c1200f240ebdfda278cbd8156cd732fd24 |
|
MD5 | 3ce6539a30a879f5aa00216f1d00a9c0 |
|
BLAKE2b-256 | 7f8a15bf1a1d6b40baca04d188baf6843208ea25ae97372c7172509f40b67176 |
Close
Hashes for david_home_automation-0.1.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d821dab0d64804d2aed7cb75b7e7fda15e55fde2c3850946c19e684edcf7eaad |
|
MD5 | d936256513ead9d6ea8392e81c299983 |
|
BLAKE2b-256 | 51511d734cca02bbbc18253a6631be69a20b40b102c64b5b392ed07c36396a80 |