Metadata-Version: 2.3
Name: hcalory-control
Version: 0.0.2
Summary: A tool for controlling Hcalory diesel heaters over Bluetooth.
Project-URL: Repository, https://github.com/evanfoster/hcalory-control
Author-email: Evan Foster <evan@fos.tech>
Keywords: ble,bluetooth,diesel,hcalory,heater
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Home Automation
Requires-Python: >=3.11
Requires-Dist: bleak-retry-connector==3.6.0
Requires-Dist: bleak==0.22.3
Requires-Dist: py-datastruct==2.0.0
Description-Content-Type: text/markdown

## hcalory-control

A little tool to control BLE-capable Hcalory heaters. This has only been tested on the Hcalory W1 model.

### Usage

```
❯ hcalory-control --help
usage: hcalory-control [-h] --address ADDRESS {start_heat,stop_heat,up,down,gear,thermostat,pump_data}

positional arguments:
  {start_heat,stop_heat,up,down,gear,thermostat,pump_data}

options:
  -h, --help            show this help message and exit
  --address ADDRESS     Bluetooth MAC address of heater
```

To get the current state of the heater, use `pump_data`:
```
❯ hcalory-control --address ec:b1:c3:00:4d:61  pump_data
{
    "ambient_temperature": 87,
    "body_temperature": 226,
    "heater_mode": "thermostat",
    "heater_setting": 74,
    "heater_state": "running",
    "voltage": 13
}
```
