Menu

Tree [e24a5a] main /
 History

HTTPS access


File Date Author Commit
 README.md 2022-10-12 Renaud Métrich Renaud Métrich [adbc2d] README: show usage
 THZ.py 2024-01-09 Renaud Métrich Renaud Métrich [e24a5a] Detect when heating is on

Read Me

This script requires Python3 plus additional modules:
- argcomplete
- argparse

The script has fully option handling and completion support, use:

$ THZ.py --help
usage: THZ.py [-h] [-d] [-v] [-p PORT] [--csv] [-m {eco,normal,horsgel} | -r [ROOM ...] | -l] host

positional arguments:
  host                  host to connect to

options:
  -h, --help            show this help message and exit
  -d, --debug           emit a large amount of debugging output
  -v, --verbose         provide more information
  -p PORT, --port PORT  port to connect to
  --csv                 output in CSV format
  -m {eco,normal,horsgel}, --mode {eco,normal,horsgel}
                        mode to switch to
  -r [ROOM ...], --room [ROOM ...]
                        temperature in room
  -l, --list-rooms      list rooms

to show all options and commands.

For now, the script is capable of:
- sending 3 regulation orders ('eco', 'normal', 'horsgel')
- getting temperature for first 6 rooms
- getting temperature orders for first 6 rooms

If you are interested in controlling more, don't hesitate to drop me a mail.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.