Metadata-Version: 2.4
Name: flamerite_bt
Version: 0.1.0
Summary: An unofficial python package for controlling Flamerite fireplace devices via bluetooth
License-Expression: MIT
License-File: LICENSE
Author: Achilleas Anagnostopoulos
Author-email: achilleas.imap.mbox@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: aioconsole (>=0.8.2,<0.9.0)
Requires-Dist: bleak (>=2.1.0,<3.0.0)
Requires-Dist: bleak-retry-connector (>=4.4.4,<5.0.0)
Description-Content-Type: text/markdown

# flamerite_bt
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

An unofficial python package for controlling [Flamerite](https://flameritefires.com) fireplace devices via bluetooth.

While the package is designed to encapsulate the required logic for building a HomeAssistant automation, it can also be used in standalone mode.

## Supported devices
The package has been tested with and known to work with a `NITRAFlame` fireplace.

Other Flamerite devices, provided they are controlled via the eControl app, will likely also work but must be explicitly added to the `SUPPORTED_DEVICE_NAMES` list in `const.py` so they can be detected.

## Supported features
The following features are supported:

- Turn on/off.
- Select color for flame / fuel.
- Adjust brighness for flame / fuel.
- Adjust thermostat.
- Adjust heat level (off, low, high)

Programmable timers are **not** yet supported.

### Color support for flame/fuel
The device supports 5 palettes with 4 hues in each palette for a total of 20 colors.

In addition, the device also supports 5 color cycling modes. The first 4 just cycle through all available colors whereas the last one only cycles through orange hues.

## Using the CLI
The package provides a rudimentary CLI that scans for the presence of supported Flamerite devices, and attempts to connect to the first one it finds. It then provides
a small text-based UI for interacting with the device.

To use (you will need to install [poetry](https://python-poetry.org/docs/) to manage Python dependencies):

```
$ poetry install
$ poetry run python cli.py
```

**NOTE**: you will need to pair your bluetooth adaptor to the device before you can control it. To do this, once the CLI detects the device and attempts to connect to it, press the physical link button on the device control panel to complete the pairing process.
