Skip to content

Latest commit

 

History

History
112 lines (91 loc) · 3.61 KB

AC03647.md

File metadata and controls

112 lines (91 loc) · 3.61 KB
title description
OSRAM AC03647 control via MQTT
Integrate your OSRAM AC03647 via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendors bridge or gateway.

To contribute to this page, edit the following file

OSRAM AC03647

| Model | AC03647 | | Vendor | OSRAM | | Description | SMART+ LED CLASSIC E27 RGBW | | Supports | on/off, brightness, color temperature, color xy | | Picture | OSRAM AC03647 |

Notes

Set default power on/off transition

Various Osram/Sylvania LED support setting a default transition when turning a light on and off.

{
    "set_transition": 0.1,            //time in seconds (integer or float)
}

Remember current light state

Various Osram/Sylvania LED support remembering their current state in case of power loss, or if a light is manually switched off then on. Lights will remember their respective attributes (i.e. brightness, color, saturation, etc.). NOTE: This must be executed every time you make changes to a light's attributes for it to then 'remember' it.

{
    "remember_state": true,            // true, false (boolean)
}

Device type specific configuration

How to use device type specific configuration

  • transition: Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to 0 (no transition). Note that this value is overridden if a transition value is present in the MQTT command payload.

  • hue_correction: (optional) Corrects hue values based on a correction map for matching color rendition to other lights. Provide a minimum of 2 data sets in the correction map. To build a map:

    • choose one of your other lights to be the color reference
    • send a sample color to both lights (reference and non-reference)
    • modify hue value for non-reference light until it color matches the reference light
    • take note of the in and out values, where
      • in is the hue value you sent to your reference light
      • out is the hue value you had to dial your non-reference light to
    • repeat with a few other sample colors (4-5 should suffice)

    Example correction map:

    hue_correction:
        - in: 28
            out: 45
        - in: 89
            out: 109
        - in: 184
            out: 203
        - in: 334
            out: 318

OTA updates

This device supports OTA updates, for more information see OTA updates.

Manual Home Assistant configuration

Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:

{% raw %}

light:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    brightness: true
    color_temp: true
    xy: false
    hs: true
    schema: "json"
    command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
    brightness_scale: 254

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "lqi"
    value_template: "{{ value_json.linkquality }}"
    icon: "mdi:signal"

binary_sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    payload_on: true
    payload_off: false
    value_template: "{{ value_json.update_available}}"

{% endraw %}