awesome-ha-blueprints icon indicating copy to clipboard operation
awesome-ha-blueprints copied to clipboard

Controller blueprint for OSRAM Lightify Switch 4x

Open alexdelprete opened this issue 3 years ago • 7 comments

Thank you for taking the time to report here! :tada:

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose support for a a new Controller blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Controller Information*

  • Manufacturer: OSRAM (also LEDVANCE or SYLVANIA)
  • Model: 74099
  • Short Description: Lightify Switch
  • Image: image

Actions

If possible, provide here mappings for actions which can be triggered with this controller. Specify the integration these mappings refer to. If you want to provide mappings for multiple integrations, you can duplicate the following section as needed.

[ZHA]

  • Button 1 (upper left) short press: Event 0 fired 2:05 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:1:0x0006",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:05:44.475144+00:00",
    "context": {
        "id": "28b5e81ad6355708bae6e6cab8e5ff65",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 1 (upper left) long press:
Event 1 fired 2:08 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:1:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:08:26.760162+00:00",
    "context": {
        "id": "b5b6245655887c2b3ab5c59b14cfb03b",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 2:08 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:1:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "move",
        "args": [
            1,
            38
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:08:25.764356+00:00",
    "context": {
        "id": "83229da68a6be5fccf7ed1cd08a8ab08",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 2 (upper right) short press:
Event 2 fired 2:13 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:2:0x0006",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 2,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:13:51.631138+00:00",
    "context": {
        "id": "3d122bfb2222e360fcbe4a4dc551497c",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 2 (upper right) long press:
Event 4 fired 2:14 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:2:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 2,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:14:38.894095+00:00",
    "context": {
        "id": "77f7974f7aabb3fd90ec33723961e0be",
        "parent_id": null,
        "user_id": null
    }
}
Event 3 fired 2:14 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:2:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 2,
        "cluster_id": 8,
        "command": "move",
        "args": [
            1,
            38
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:14:37.885619+00:00",
    "context": {
        "id": "807d2f08caf7ecbdb7cc09d11f015031",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 3 (lower left) short press:
Event 5 fired 2:15 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:3:0x0006",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 3,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:15:51.373223+00:00",
    "context": {
        "id": "fec5fac9f1e4d627f39f994ce9f68c42",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 3 (lower left) long press:
Event 7 fired 2:16 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:3:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 3,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:16:31.291822+00:00",
    "context": {
        "id": "65207494561101159a366d101a3d6dcc",
        "parent_id": null,
        "user_id": null
    }
}
Event 6 fired 2:16 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:3:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 3,
        "cluster_id": 8,
        "command": "move",
        "args": [
            1,
            38
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:16:30.282827+00:00",
    "context": {
        "id": "77b47ffa39993728054723bf038db641",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 4 (lower right) short press:
Event 8 fired 2:17 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:4:0x0006",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 4,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:17:33.130455+00:00",
    "context": {
        "id": "1fb87a5b1f0f9fc44ce9e38997e3341a",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 4 (lower right) long press:
Event 10 fired 2:18 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:4:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 4,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:18:16.640644+00:00",
    "context": {
        "id": "e47cdf255912005842f8faa9a441f01b",
        "parent_id": null,
        "user_id": null
    }
}
Event 9 fired 2:18 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:4:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 4,
        "cluster_id": 8,
        "command": "move",
        "args": [
            1,
            38
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:18:15.637437+00:00",
    "context": {
        "id": "b3f244c785f341cc59e31375e3e5c2a1",
        "parent_id": null,
        "user_id": null
    }
}

Additional Details*

  • [x] I'd like to help developing this blueprint
  • [ ] I've found a blueprint/automation not included in this project which integrates this controller

Additional context

Manual: https://fccid.io/2AJRH-LDV74099/User-Manual/User-Manual-3169886.pdf

alexdelprete avatar May 18 '21 00:05 alexdelprete

Hi @alexdelprete,

Thank you. I'll look around for Zigbee2MQTT and deCONZ mappings as well, so we can provide support for those integrations as well. :)

EPMatt avatar May 18 '21 19:05 EPMatt

Unfortunately I'm not able to help on deconz, but for Z2MQTT: https://www.zigbee2mqtt.io/devices/8718699693985.html

alexdelprete avatar May 19 '21 11:05 alexdelprete

Hi @alexdelprete,

thank you. I looked around for mappings for the two missing integrations but I wasn't able to find any of them. Therefore, for now we'll provide support only for ZHA.

I'll let you know as soon as the blueprint is ready. :)

EPMatt avatar May 26 '21 15:05 EPMatt

So happy to read this. I can get rid of 4 automations, replacing it with only one. :)

alexdelprete avatar May 26 '21 15:05 alexdelprete

Hi @alexdelprete,

I've finally completed the blueprint for this device, as well as implemented support for both the Light and Media Player hooks. We'll continue the discussion about this controller in the linked PR. 👍🏻

Thank you for your patience! :)

EPMatt avatar Jul 14 '21 13:07 EPMatt

Great news. Thanks Matteo.

alexdelprete avatar Jul 14 '21 15:07 alexdelprete

Hi @alexdelprete,

Let's keep this issue open and close it as soon as the PR gets merged into the main branch. It will act as a reminder that we're still in the process of developing and testing the device.

Thank you! :)

EPMatt avatar Jul 15 '21 15:07 EPMatt