Skip to main content

HAP-python Accessories for e-Q3 MAX! devices.

Project description

Beta! pyhap-maxcube

HAP-python Accessories for e-Q3 MAX! devices, e.g. Cube and Thermostat.

You can easily discover and add MAX! devices to your Home app and set the temperature.

Install

pip install pyhap-maxcube

Usage

from pyhap.accessory_driver import AccessoryDriver
from pyhap.accessories.maxcube import MaxBridge

# The MAX! Cube address
MAX_ADDR = '192.168.1.247'
MAX_PORT = 62910

# Run HAP-python on port 51826
driver = AccessoryDriver(port=51826)

# Expose the MaxBridge accessory - it will discover the MAX! devices and create
# accessories for it.
driver.add_accessory(
    accessory=MaxBridge(MAX_ADDR, MAX_PORT, driver, 'MaxBridge'))

# Start it!
driver.start()

Project details


Release history Release notifications | RSS feed

This version

0.5

Download files

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

Source Distribution

pyhap-maxcube-0.5.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

pyhap_maxcube-0.5-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

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