No project description provided
Project description
Home automation
Installation
pip3 install david-home-automation==0.1.15
(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
# 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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf9c4af3ad677cf2c2420931b5963b0b4e2d38fdf9961d13db7f72016ff79bb |
|
MD5 | 2d67a1b7df08c49df145f6eb550f098c |
|
BLAKE2b-256 | bb1eb6304f48c1884e7c98d38506b1c32aff02ee430d16856a894292fa001c06 |
Close
Hashes for david_home_automation-0.1.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef0519cf59a9ec1293d0c347e1152dd11301ed78551742b64ac4b0a555c840fd |
|
MD5 | 1e593317d832269f543029581754dce5 |
|
BLAKE2b-256 | 3149aba78cc91c7bf5ca3158184975c5e4aff265a80242faba1f8db533ef2f93 |