Skip to main content

No project description provided

Project description

Home automation

Installation

pip3 install david-home-automation==0.1.38
(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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

david-home-automation-0.1.38.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

david_home_automation-0.1.38-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file david-home-automation-0.1.38.tar.gz.

File metadata

  • Download URL: david-home-automation-0.1.38.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for david-home-automation-0.1.38.tar.gz
Algorithm Hash digest
SHA256 4fb3b23a0b9df9aa6d35b87b900ad851591f7a949f00d50120b823de9c733c00
MD5 0f59bec65d86433e73dfc13be9756686
BLAKE2b-256 6ef70a228f8cf130638892662d0e831fb4278a3f1316aa3b18d70538c1dafb54

See more details on using hashes here.

File details

Details for the file david_home_automation-0.1.38-py3-none-any.whl.

File metadata

  • Download URL: david_home_automation-0.1.38-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for david_home_automation-0.1.38-py3-none-any.whl
Algorithm Hash digest
SHA256 38c1e44388cd2f1fc74e1e8b3e07f3082322fd0198901c2e60edd81146b39536
MD5 334d55849be8f09a81c3af3c599c062a
BLAKE2b-256 8fd5706ca811a4d88412e09d8227cdaa632e4c476c381c448452f9f609ffcf27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page