No project description provided
Project description
Home automation
Installation
pip3 install david-home-automation==0.1.37
(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
Setup as a service
./install.sh
Setup eq3 bluetooth
Follow the eq3.exp guide for pairing your thermostats.
Make sure you do not connect/pair from multiple devices as the thermostats get easily confused.
If you are encountering strange connection issues or crypted error messages from the API (and by extension also eq3.exp
), reset your thermostats to factory settings (see manual).
A useful debugging tool is btmon
.
Development
poetry install
FLASK_ENV=development FLASK_APP=david_home_automation/main poetry run flask run --host=0.0.0.0 --port 5050
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.37.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0146fadfdb4c1f0c357d5e0bb9bc89398fa4b202d76d008496983bbff4b007d3 |
|
MD5 | ce2f816397ebef82940996753d4c2854 |
|
BLAKE2b-256 | 9d8c823bf3f8551f18d3aa97815ccebea94382cc27af6e11d7dfa3027ac88c84 |
Close
Hashes for david_home_automation-0.1.37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8b83fc4cf39a07f8a40422c0bb22c39cf68bad163121bb1f3f517b04f094971 |
|
MD5 | 9f759d2d8e491fa19b1538f14e626c8f |
|
BLAKE2b-256 | cfea3ebd0763e66594e530115e4739794a1cda9e980e8e758658c0120ce69499 |