zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: ELKO EKO07259 - Vendor specific attributes

Open msalte23 opened this issue 2 years ago • 28 comments

Link

https://www.zigbee2mqtt.io/devices/EKO07259.html#schneider%2520electric-eko07259

Database entry

{}

Comments

Full Zigbee specification: RTC-6754012INT-cFMT_16A_F_Zigbee-29.pdf

Snip of spec for missing vendor specific attributes. I would love these to become available. Brightness, InactiveBrightness and ActivityTimeout.

image

External definition

const {deviceEndpoints, identify, temperature, electricityMeter} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['EKO07259'],
    model: 'EKO07259',
    vendor: 'Schneider Electric',
    description: 'Automatically generated definition',
    extend: [deviceEndpoints({"endpoints":{"1":1,"2":2,"3":3,"5":5}}), identify(), temperature({"endpointNames":["2","3"]}), electricityMeter({"cluster":"metering"})],
    meta: {"multiEndpoint":true},
};

module.exports = definition;

msalte23 avatar Aug 26 '24 06:08 msalte23

I would love to see EKO07254 supported as well! Thank you for the good work

TiraAdmin avatar Sep 05 '24 08:09 TiraAdmin

@msalte thank you for publishing the spec for this thermostat! This was very helpful to add support for some of the attributes over at ZHA.

I just tested that adding and modifying Metering/fixed_load_demand makes thermostat publish estimated summation delivered. Not sure how precise those numbers are, but still better than no power consumption values at all.

Linking some another issue for visibility: #20446

uvNikita avatar Oct 29 '24 21:10 uvNikita

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

github-actions[bot] avatar Dec 29 '24 00:12 github-actions[bot]

I would really love to have the brightness/inactive brightness to work from z2m, as it is impossible to do on device... Is there any possibilities doing it myself if it would not be added?

dtd avatar Apr 11 '25 07:04 dtd

@dtd I would be interested as well. I added a ZHA instanse in my HA but would prefer to use Z2M. Not sure how to ping you in Github but home you read this. The latest Z2M seems to add a dev external converter thing.. I have extracted the current WDE002497 from the herdsman converters that we could ( if you are more familiar with development ) use.

uffevedenbrant avatar May 02 '25 18:05 uffevedenbrant

@dtd Might add that ZHA have a lot of extra support based on the published PDF that would be great to have in Z2M as well.

uffevedenbrant avatar May 02 '25 18:05 uffevedenbrant

@uffevedenbrant That does indeed seem interesting, I do have experience developing, however not anything similar to this. I did also try and start a discussion, but no answers either. These days I am very busy on a personal level, so I do not have time to dive into this. But if you have some interesting code or something to share, feel free to do, and if/when I get time in maybe a month or two I can take a look, but I can not promise anything...

And yeah, I read that ZHA has a lot of extra support, but I am not very interested in running both ZHA and Z2M.

dtd avatar May 06 '25 07:05 dtd

Implemented in latest release 2.7.2 (https://github.com/Koenkk/zigbee-herdsman-converters/issues/11135)

svhelge avatar Jan 02 '26 09:01 svhelge

@svhelge Thanks a lot for your work on this issue! I can finally adjust the brightness of the thermostat LED display. However, I have noticed since the update that my thermostats keeps going into "Away mode". First I was not sure what was going on, but they kept showing this LED symbol from time to time:

Image

After contacting ELKO support they told me this indicates that the thermostat has gone into Away mode. See https://www.productinfo.schneider-electric.com/elko-wiser-home/elko-smart-zb-thermostat-16-a_elko-home/English/ELKO%20-%20Smart%20ZB%20Thermostat%2016%20A_Wiser%20Home%20Device%20user%20guide_DD01193392.xml/$/WHM-Radiatorthermostat-AwayModeCPT_0000750047

Do you have any idea why this has started happening now? Would love to see an update where the Away mode could be turned off.

msalte23 avatar Jan 07 '26 07:01 msalte23

Hi! I have never experienced the away mode on the three thermostats I have. In the specification above I see a command for away, but I assume that there have to be an attribute that it uses. I added m.occupancy by a mistake to the definition file, it could maybe to try that? I also found this when googling https://community.home-assistant.io/t/sr-zg9092a-thermostat-away-mode-changes-by-itself/551267 which could be related.

Could you upload the database.db and state.json files? One version of the files with away mod inactive and another set of files when the away mode is active.

svhelge avatar Jan 07 '26 19:01 svhelge

Seems that running_state does not update anymore and reports as null or attribute_not_supported.

Edit: When trying to read the attribute from developer console: z2m: Publish 'set' 'read' to 'Termostat' failed: 'Error: ZCL command 0x04cd15fffe062caf/1 hvacThermostat.read(["runningState"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'

erik-131 avatar Jan 08 '26 18:01 erik-131

Hi!

I also have 3 thermostats and all of them are behaving this way, but only from time to time. I would say 90% of the time the LED display correctly show the temperature, while 10% it shows the away mode symbol.

I have retrieved state.json and database.db while the termostats are behaving correctly, see attachment. I will keep and eye out and try to catch them misbehaving and then uploading state.json and database.db again.

Thanks for your time on this issue!

correct_behavior.zip

msalte23 avatar Jan 08 '26 18:01 msalte23

just caught my thermostats misbehaving, and all 3 of them appear to do so at the same time. see attachment state.json and database.db.

incorrect_behavior.zip

As a side note, by examining the state of one of my thermostats through the z2m UI, I randomly caught this difference in state from one second to the next:

{
    "child_lock": "UNLOCK",
    "display_active_timeout": 30,
    "display_brightness_active": 100,
    "display_brightness_inactive": 50,
    "energy": 0,
    "linkquality": 255,
    "local_temperature": 26.64,
    "local_temperature_source_select": "External",
    "max_heat_setpoint_limit": 40,
    "min_heat_setpoint_limit": 20,
    "occupied_heating_setpoint": 26.5,
    "pi_cooling_demand": 0,
    "pi_heating_demand": 0,
    "power": 0,
    "system_mode": "heat",
    "temperature_display_mode": "celsius",
    "temperature_sensor_type": "10kΩ sensor from B+J"
}

to

{
    "child_lock": "UNLOCK",
    "display_active_timeout": 30,
    "display_brightness_active": 100,
    "display_brightness_inactive": 50,
    "energy": 0,
    "linkquality": 228,
    "local_temperature": 26.64,
    "local_temperature_source_select": "External",
    "max_heat_setpoint_limit": 40,
    "min_heat_setpoint_limit": 20,
    "occupied_heating_setpoint": 26.5,
    "pi_cooling_demand": 0,
    "pi_heating_demand": 0,
    "power": 0,
    "system_mode": "heat",
    "temperature_display_mode": "celsius",
    "temperature_sensor_type": "10kΩ sensor from B+J",
    "fixed_load_demand": null,
    "occupancy": null,
    "running_state": null
}

Notice new properties in the second object: fixed_load_demand, occupancy and running_state all of which reports null.

I am not sure if this matters. Thanks again for your time :)

msalte23 avatar Jan 08 '26 19:01 msalte23

I have created ( with some help from Claude/Gemini ) a external converter for WDE002497 WDE002497 seems to be the same as EKO07259 except different vendor names/codes. It seems to work as expected when adding it as a external converter.

When runnin without external converter i get the WDE002497 converter.

But.. As the WDE002497 exists in the Schneider converter as well as the EKO07259.

Any possibility to alias the WDE002497 to be a EKO07259 as the latter seems to have the exact same properties.

The general question would be can i alias a device into another device with a external converter? And we do not want to break older z2m users that uses the old WDE002497 converter?

uffevedenbrant avatar Jan 12 '26 20:01 uffevedenbrant

Away / No Occupancy mode.. When reading documentation this sounds strange unless there is a external sensor sending the Occupancy signal to the Thermostat from a wiser hub.. No real information on why a thermostat would jump into this mode.. However.. Might be nondisclosed functions activating the Away function.. Myself.. Using scenes to set Away / Soon-back / Now-here. Away 10degrees / Soon-back 16degrees / Now-here 22degrees

uffevedenbrant avatar Jan 12 '26 20:01 uffevedenbrant

I have one WDE002497 on my table right now.. As you should always buy one or 2 extra.. Either for that something dies or that you need to test..

I.e. If we suspect a converter issue sending a bad command it might be that I can test this on my table..:-)

uffevedenbrant avatar Jan 12 '26 21:01 uffevedenbrant

@therealmortensalte , can you try this external converter for EKO07259.js? I haven't been able to test it myself, since I'm on vacation. I removed occupancy and runing state from the definition. If it works I'll create a pull request for the next release.

I haven't been able to find out how the away mode is triggered, but I guess it's related to the occupancy attribute. When the occupancy attribute is set the "OccupiedHeatingSetpoint" will define the setpoint, but when the occupancy is not set, the thermostat should use the "UnoccupiedHeatingSetpoint" (which has a default value of 16 C).

svhelge avatar Jan 19 '26 06:01 svhelge

I have created ( with some help from Claude/Gemini ) a external converter for WDE002497 WDE002497 seems to be the same as EKO07259 except different vendor names/codes. It seems to work as expected when adding it as a external converter.

When runnin without external converter i get the WDE002497 converter.

But.. As the WDE002497 exists in the Schneider converter as well as the EKO07259.

Any possibility to alias the WDE002497 to be a EKO07259 as the latter seems to have the exact same properties.

The general question would be can i alias a device into another device with a external converter? And we do not want to break older z2m users that uses the old WDE002497 converter?

It is not possible to have two different converters for the same device (in zigbee-herdsman-converters). The only option is to define an external converter.

svhelge avatar Jan 19 '26 06:01 svhelge

Away / No Occupancy mode.. When reading documentation this sounds strange unless there is a external sensor sending the Occupancy signal to the Thermostat from a wiser hub.. No real information on why a thermostat would jump into this mode.. However.. Might be nondisclosed functions activating the Away function.. Myself.. Using scenes to set Away / Soon-back / Now-here. Away 10degrees / Soon-back 16degrees / Now-here 22degrees

According to the specification for the device it has several setpoints (OccupiedCoolingSetpoint, OccupiedHeatingSetpoint, UnoccupiedCoolingSetpoint and UnoccupiedHeatingSetpoint). The occupany attribute controls whether occupied or unoccupied is used. But the occupancy attribute in the thermostat cluster is read only, no idea how it's updated.

svhelge avatar Jan 19 '26 06:01 svhelge

For away mode.. Agree , some references gives that you can bounce the Away/Occupancy signaling via a Wizer hub. I.e. the thermostat and and a sensor ( light/motion etc ) can be connected for this function.

uffevedenbrant avatar Jan 19 '26 10:01 uffevedenbrant