https://github.com/ikalchev/pyhap-maxcube
HAP-python Accessories for e-Q3 MAX! devices
https://github.com/ikalchev/pyhap-maxcube
hap hap-python home-automation homekit homekit-accessory-protocol iot
Last synced: 6 months ago
JSON representation
HAP-python Accessories for e-Q3 MAX! devices
- Host: GitHub
- URL: https://github.com/ikalchev/pyhap-maxcube
- Owner: ikalchev
- License: apache-2.0
- Created: 2018-11-14T21:46:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-19T14:57:02.000Z (about 6 years ago)
- Last Synced: 2025-07-15T07:56:22.156Z (7 months ago)
- Topics: hap, hap-python, home-automation, homekit, homekit-accessory-protocol, iot
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Beta! pyhap-maxcube
[HAP-python](https://github.com/ikalchev/HAP-python) Accessories for [e-Q3](https://www.eq-3.com) 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
```python
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()
```