Skip to main content

Beoremote Halo Open API

build License Version Downloads

The Beoremote Halo Open API is an open source async API that allows you to interact with a Beoremote Halo from a home automation system.

Using a WebSocket to communicate with the Beoremote Halo, it is possible to create a configuration of buttons to interact with your home automation to control your home applications.

Beoremote Halo supports buttons with icons or text for most general home automation applications. You can find a list of the supported icons on our wiki pages. For further details on the Open API list of commands please refer to the API description.

Installation

The Python package beoremote-halo requires Python 3.9 or higher and contains a library for communicating with Beoremote Halo and a CLI tool for discovering Beoremote Halo on the network.

Install using pip:

pip3 install beoremote-halo

Basic Usage

In the following example a client instance connects to Beoremote Halo and listens for events. When a SystemEvent is received the on_system_event callback is executed and prints the Beoremote Halo's system state. Please refer to the API for details on each type of event.

from beoremote import Halo
from beoremote.events import SystemEvent

def on_system_event(client: Halo, event: SystemEvent):
    print(event)


remote = Halo("192.168.1.57")
remote.set_on_system_event_callback(on_system_event)
remote.connect()

Example

Use the beoremote-halo CLI tool to discover and then run a demo by connecting to your Beoremote Halo.

In the above demo the CLI is used to locate Beoremote Halo on the network.

beoremote-halo scan

Afterwards the CLI demo is run by passing the serial number of the discovered Beoremote Halo.

beoremote-halo demo --serial xxxxxxxx

The demo configures the Beoremote Halo and reacts to events received from Halo. The callbacks each handle a specific type of event.

on_system_event is provided but unused in this example.

on_wheel_event changes the indicator ring on the centered/controlled button.

on_button_event changes the active/inactive state of a button, will start/pause/resume the timer if the "Oven Timer" button is pressed.

Metadata

Release files for beoremote-halo 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beoremote-halo 1.0.2
File Size Uploaded
beoremote-halo-1.0.2.tar.gz 14.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for beoremote-halo 1.0.2
File Interpreter ABI Platform
beoremote_halo-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 45.9 kB

Release files / beoremote-halo-1.0.2.tar.gz

Download URL beoremote-halo-1.0.2.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0f40682be6216e48adffa87677f40f35f4a3e9979147d7f444b79471ae36d4b0
BLAKE2b-256 checksum
How to use checksums
101f31ab51345a0cc9640983e1facd6ca1e750b3ad3f082955808eb9ca2f1f4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / beoremote_halo-1.0.2-py3-none-any.whl

Download URL beoremote_halo-1.0.2-py3-none-any.whl
Size 31.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ce4168f85c8daf6a246154c7547e4a653fa08127c620beab5997eebcff78f6d
BLAKE2b-256 checksum
How to use checksums
49f5a4be5c83ebc1b12d55aa7664d19e59a2098c1c05d0b8b7125be238ff0574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page