Metadata-Version: 2.4
Name: ovos-home-plugin-hue
Version: 0.1.0a1
Summary: Philips Hue as a brand of ovos-PHAL-plugin-home: Hue lights, rooms, scenes, sensors and switches in the one home, over the bridge's own local API - paired with the bridge's button, all in the house. Made for Emkay.
Author: emkay-voice
Maintainer: Andreas Lorensen
License: Apache-2.0
Project-URL: Homepage, https://github.com/emkay-voice/ovos-home-plugin-hue
Project-URL: Issues, https://github.com/emkay-voice/ovos-home-plugin-hue/issues
Project-URL: Contract, https://github.com/emkay-voice/ovos-PHAL-plugin-home/blob/main/SPEC.md
Project-URL: Emkay, https://github.com/emkay-voice/emkay
Keywords: ovos,openvoiceos,plugin,smart-home,hue,philips-hue,emkay
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Home Automation
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ovos-PHAL-plugin-home>=0.1.0a2
Requires-Dist: aiohue>=4.7
Requires-Dist: zeroconf
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Dynamic: license-file

# ovos-home-plugin-hue

A [Philips Hue](https://www.philips-hue.com) bridge as one brand of the one home for OpenVoiceOS, [ovos-PHAL-plugin-home](https://github.com/emkay-voice/ovos-PHAL-plugin-home): Hue lights, rooms, scenes, motion and contact sensors and switches.

Made for [Emkay](https://emkay.ai), and works on any OVOS with the home plugin.

**All in the house.** The bridge's own documented local API (CLIP v2) with its event stream, through [aiohue](https://github.com/home-assistant-libs/aiohue) – Home Assistant's own Hue library. The bridge is found on the network by mDNS, not by Philips' cloud lookup.

## Pairing

In the control panel's page **Home**, under Brands: **Find and pair**, then press the button on the bridge within 90 seconds. The key the bridge gives is kept in the home's storage, readable only by the user OVOS runs as – never in `mycroft.conf`. To name the bridge yourself:

```json
"PHAL": {
  "ovos-PHAL-plugin-home": {
    "brands": {
      "hue": {"host": "192.168.1.60"}
    }
  }
}
```

## What comes along

| Hue | The home |
|---|---|
| lights | on/off, brightness, warmth (mirek ↔ Kelvin) and colour (CIE xy ↔ hue/saturation) |
| rooms | rooms, merged with other brands' rooms of the same name |
| scenes | scenes |
| motion sensors | movement, temperature, light level and battery, as one device |
| contact sensors | open/closed, with events |
| dimmer switches, Tap, buttons | pressed, double, long, released |

## Tested

Against the bridge's resources as aiohue gives them, in the tests – not yet against a bridge of our own. Reports from real bridges are very welcome in the issues.

## License

Apache-2.0
