# Philips Somneo Binding This binding integrates Philips Somneo HF367X into openHAB. ## Supported Things This binding does only support one Thing: - `Philips Somneo HF367X`: A connected sleep and wake-Up light with the ThingTypeUID `hf367x` ## Thing Configuration The Philips Somneo thing requires the `hostname` it can connect to. Its API only allows HTTPS access, but unfortunately the SSL certificate is not trusted and must be ignored by the parameter. | Parameter | Values | Default | | ---------------------------- | ----------------------------------------------------------- | ------- | | hostname | Hostname or IP address of the device | - | | port | Port number | 443 | | refreshInterval | Interval the device is polled in sec | 30 | | refreshIntervalAlarmExtended | Interval the device is polled in sec (alarm clock settings) | 30 | | ignoreSSLErrors | Ignore SSL Errors | true | ## Channels | Channel | Type | Read/Write | Description | | ------------------------- | -------------------- | ---------- | ------------------------------------------------------- | | _Sensor_ | | | | | sensor#illuminance | Number:Illuminance | R | The current illuminance in lux | | sensor#temperature | Number:Temperature | R | The current temperature | | sensor#humidity | Number:Dimensionless | R | The current humidity in % | | sensor#noise | Number:Dimensionless | R | The current noise in dB | | _Light_ | | | | | light#main | Switch | RW | Turn the light on, off and set the brightness | | light#night | Switch | RW | Turn the night light on or off | | _Sunset_ | | | | | sunset#switch | Switch | RW | Turn the sunset program on or off | | sunset#remainingTime | Number:Time | R | Remaining time from an activated program | | sunset#lightIntensity | Dimmer | RW | Set the brightness during the sunset programme | | sunset#duration | Number:Time | RW | The duration of sunset program in minutes | | sunset#colorSchema | Number | RW | Choose a personal sunset | | sunset#ambientNoise | String | RW | Ambient noise played during the sunset | | sunset#volume | Dimmer | RW | Set the volume during the sunset programme | | _Relax_ | | | | | relax#switch | Switch | RW | Turn the relax breathe program on or off | | relax#remainingTime | Number:Time | R | Remaining time from an activated program | | relax#breathingRate | Number | RW | Breathing rate per minute during the relax program | | relax#duration | Number:Time | RW | The duration of breathe program in minutes | | relax#guidanceType | Number | RW | Select a breath guidance type during the relax program | | relax#lightIntensity | Dimmer | RW | Set the brightness during the breathe programme | | relax#volume | Dimmer | RW | Set the volume during the breathe programme | | _Audio_ | | | | | audio#radio | Player | RW | Controlling the radio and seeking for a frequency | | audio#aux | Switch | RW | Turn the AUX input on or off | | audio#volume | Dimmer | RW | Change the sound volume of the device | | audio#preset | String | RW | The Device has 5 presets to store radio frequencies | | audio#frequency | String | R | The currently selected radio frequency | | _Alarm_ | | | | | alarm#snooze | Number:Time | RW | The duration of the snooze function in minutes | | _Alarm[1...16]_ | | | | | alarm[]#configured | Switch | RW | The duration of the snooze function in minutes | | alarm[]#switch | Switch | RW | Turn the alarm clock on or off | | alarm[]#repeatDay | Number | RW | The days on which the alarm is repeated | | alarm[]#alarmTime | DateTime | RW | Alarm clock time | | alarm[]#powerWake | Switch | RW | Turn the power wake on or off | | alarm[]#powerWakeDelay | Number:Time | RW | How long after the normal alarm should Power Wake start | | alarm[]#sunriseDuration | Number:Time | RW | The duration of sunrise program in minutes | | alarm[]#sunriseBrightness | Dimmer | RW | The channel allows to set the sunrise light intensity | | alarm[]#sunriseSchema | Number | RW | Choose a personal sunrise | | alarm[]#sound | String | RW | The type of sound used for the alarm sound | | alarm[]#volume | Dimmer | RW | Change the sound volume of the alarm clock | ## Full Example somneo.things: ```java Thing somneo:hf367x:1 "Philips Somneo" @ "Bedroom" [ hostname="192.168.0.110", ignoreSSLErrors=true ] ``` somneo.items: ```java // Sensors Number:Illuminance PhilipsSomneo_Illuminance "Illuminance" ["Measurement", "Light"] { channel="somneo:hf367x:1:sensor#illuminance" } Number:Temperature PhilipsSomneo_Temperature "Temperature" ["Measurement", "Temperature"] { channel="somneo:hf367x:1:sensor#temperature" } Number:Dimensionless PhilipsSomneo_Humidity "Humidity" ["Measurement", "Humidity"] { channel="somneo:hf367x:1:sensor#humidity" } Number:Dimensionless PhilipsSomneo_Noise "Noise" ["Measurement", "Noise"] { channel="somneo:hf367x:1:sensor#noise" } // Light Dimmer PhilipsSomneo_MainLight "Light" ["Control", "Light"] { channel="somneo:hf367x:1:light#main" } Switch PhilipsSomneo_NightLite "Night Light" ["Control", "Light"] { channel="somneo:hf367x:1:light#night" } // Sunset Switch PhilipsSomneo_SunsetSwitch "Sunset Program" ["Switch", "Power"] { channel="somneo:hf367x:1:sunset#switch" } Number:Time PhilipsSomneo_SunsetRemaining "Remaining Time"