To contribute to this page, edit the following file

Legrand 412015 #

Model 412015
Vendor Legrand
Description DIN power consumption module
Supports power measurement, consumption alerts
Picture Legrand 412015

Notes #

Model numbers #

In Legrand, model number depends on the country and the colour of the devices, for instance:

Other brand names depending on the country:

Force read power #

Example of MQTT message payload to ask for the active power. This shouuld be sent to zigbee2mqtt/[FRIENDLY_NAME]/get:

{
    "power"
}

Power Alarm Configuration #

Example of MQTT message payload to disable the power alarm. This shouuld be sent to zigbee2mqtt/[FRIENDLY_NAME]/set:

{
    "power_alarm": "DISABLE"
}

Example of MQTT message payload to enable the power alarm at 3.3 kwh. This should be sent to zigbee2mqtt/[FRIENDLY_NAME]/set:

{
    "power_alarm": "3300"
}

When it reaches that value, the power_alarm_active binary_sensor will change to true.

Identify #

Helps to identify the device using the LED.

Example of MQTT message payload to Identify the device. This shouuld be sent to zigbee2mqtt/[FRIENDLY_NAME]/set:

{
    "identify": {
    "effect": "blink3",
    "color": "white"
    }
}

Manual Home Assistant configuration #

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

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "W"
    icon: "mdi:flash"
    value_template: "{{ value_json.power }}"

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

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