Philips Hue - noodlemctwoodle/Hassio GitHub Wiki
Philips Hue are some of the most reliable and user configurable light sources on the market. Although they dont come cheap, once you have made the initial investment into your home, they are just set and forget and work seamlessly either by using your everyday mains power wall switch or by using one of the various switches Philips Hue or friends of Hue offer.
These are some of the devices I have configured in Hassio
Color GU10 | White GU10 | Color E27 | Color B22 |
---|---|---|---|
Motion sensor | Dimmer switch | Bloom table lamp | Color LightStrip |
---|---|---|---|
Official Documentation
Hue Custom Component (Sensors and Switches)
Philips Hue Sensors are controlled in Home Assistant using the Hue Sensor Custom Component.
When you install the custom component the configuration needs to match the folder structure where the component is located in the backend folder structure.
If directory is named custom_components/huesensor
you need to use - platform: huesensor
in your YAML configuration files. Further information on this can be found in the config below:
binary_sensor:
- platform: huesensor
- platform: huesensor
- platform: huesensor
- platform: template
sensors:
# Kitchen Sensor
kitchen_temperature:
friendly_name: 'Kitchen temperature'
value_template: '{{state_attr("binary_sensor.kitchen_motion_sensor", "temperature")}}'
unit_of_measurement: °C
device_class: temperature
kitchen_light_level:
friendly_name: 'Kitchen light level'
value_template: '{{state_attr("binary_sensor.kitchen_motion_sensor", "lx")}}'
unit_of_measurement: lux
kitchen_battery_level:
friendly_name: 'Kitchen battery level'
value_template: '{{state_attr("binary_sensor.kitchen_motion_sensor", "battery")}}'
unit_of_measurement: '%'
kitchen_motion_sensor_sensitivity:
friendly_name: 'Kitchen sensitivity'
value_template: >
{{state_attr('binary_sensor.kitchen_motion_sensor','sensitivity')}}
kitchen_motion_sensor_threshold:
friendly_name: 'Kitchen threshold'
value_template: >
{{state_attr('binary_sensor.kitchen_motion_sensor','threshold')}}