Namron 4 channel switch

Namron has an 8-button smart switch that comes in both Z-Wave and ZigBee edition. By integrating this switch into the smart house, you can program the buttons to perform various functions. Everything from controlling the music, volume, light, heat, etc.
To make the automation on this switch work, we have to cheat a little in Home Assistant. Neither Z-Wave or ZigBee edition will present eight entities that would trigger automation. In order to capture which button is pressed, we are forced to listen to the data being sent to the Home Assistant.

Let’s see how this will be if you use Home Assistant her own ZHA integration to talk with ZigBee Devices.

Using the Developer Tools -> Events, so we can listen to ZHA_event service.

When you then press one of the buttons on the Narmon switch, you will see what information Home Assistant receives. We can thus use this information when we need to trigger automation.

{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "58:8e:81:ff:fe:1a:e0:2b",
        "unique_id": "58:8e:81:ff:fe:1a:e0:2b:1:0x0006",
        "device_id": "89f51d1dea3f036cbd58489a81a9f178",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-07-15T14:53:43.967020+00:00",
    "context": {
        "id": "b02a4091528d341ee30bc40f31d36847",
        "parent_id": null,
        "user_id": null
    }
}

Here we see, among other things, which device_id sends the information, which endpoint_id is used, and which command is sent. Using these three pieces of information, we can create a trigger on automation.

Trigger type becomes an Event.
We listen to Event type zha_event.
And we use the information we obtained from the previous step.

The execution of automation we can for example. set to turn on one light

Then just repeat this for all the buttons on the switch.
This is the easiest way to automate a Namron 4 channel switch.


Some of the links in this article are "affiliate links", a link with a special tracking code. This means if you click on an affiliate link and purchase the item, we will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, we only recommend products or services we believe will add value to our readers. By using the affiliate links, you are helping support our Website, and we genuinely appreciate your support.