zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: UFH from Schneider Electric

Open lxhunter opened this issue 9 months ago • 7 comments

Link

https://www.se.com/nl/nl/product/CCTFR6610/wiser-vloerverwarming-actuator-230v-wit-zigbee/

Database entry

{"id":64,"type":"Router","ieeeAddr":"0x048727fffe1332c4","nwkAddr":47804,"manufId":4190,"manufName":"Schneider Electric","powerSource":"Mains (single phase)","modelId":"UFH","epList":[1,2,3,4,5,6,7,8],"endpoints":{"1":{"profId":260,"epId":1,"devId":2,"inClusterList":[0,3,6,513,2821,65027,65302],"outClusterList":[3,25],"clusters":{"genBasic":{"attributes":{"57345":"0A00000000032002","57346":"0","57348":"048727FFFE1332C4","modelId":"UFH","manufacturerName":"Schneider Electric","powerSource":1,"zclVersion":2,"appVersion":0,"hwVersion":0,"swBuildId":"4f014cd"}},"genOnOff":{"attributes":{"onOff":0}},"genOta":{"attributes":{"currentFileVersion":32002,"imageTypeId":2560,"manufacturerId":4190,"fileOffset":4294967295,"currentZigbeeStackVersion":2,"imageUpgradeStatus":0}},"haDiagnostic":{"attributes":{"57345":40075,"lastMessageLqi":160,"lastMessageRssi":-60}},"hvacThermostat":{"attributes":{"57366":4}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff0ef9d6","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"2":{"profId":260,"epId":2,"devId":2,"inClusterList":[6,65302],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff0ef9d6","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"3":{"profId":260,"epId":3,"devId":2,"inClusterList":[6,65302],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff0ef9d6","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"4":{"profId":260,"epId":4,"devId":2,"inClusterList":[6,65302],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff0ef9d6","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"5":{"profId":260,"epId":5,"devId":2,"inClusterList":[6,65302],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"6":{"profId":260,"epId":6,"devId":2,"inClusterList":[6,65302],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"7":{"profId":260,"epId":7,"devId":771,"inClusterList":[6,65302],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}}},"binds":[],"configuredReportings":[],"meta":{}},"8":{"profId":260,"epId":8,"devId":768,"inClusterList":[6,65302],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"hwVersion":0,"swBuildId":"4f014cd","zclVersion":2,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{},"lastSeen":1772741019858}

Zigbee2MQTT version

2.9.1 (unknown)

External definition

import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default {
    zigbeeModel: ['UFH'],
    model: 'UFH',
    vendor: 'Schneider Electric',
    description: 'Automatically generated definition',
    extend: [m.deviceEndpoints({"endpoints":{"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8}}), m.onOff({"powerOnBehavior":false,"endpointNames":["1","2","3","4","5","6","7","8"]})],
};

What does/doesn't work with the external definition?

software_build_id: 4f014cd date_code: undefined endpoints:

{"1":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00212effff0ef9d6","type":"endpoint"}}],"clusters":{"input":["genBasic","genIdentify","genOnOff","hvacThermostat","haDiagnostic","65027","65302"],"output":["genIdentify","genOta"]},"configured_reportings":[{"attribute":"onOff","cluster":"genOnOff","maximum_report_interval":65000,"minimum_report_interval":0,"reportable_change":1}],"name":"1","scenes":[]},"2":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00212effff0ef9d6","type":"endpoint"}}],"clusters":{"input":["genOnOff","65302"],"output":[]},"configured_reportings":[{"attribute":"onOff","cluster":"genOnOff","maximum_report_interval":65000,"minimum_report_interval":0,"reportable_change":1}],"name":"2","scenes":[]},"3":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00212effff0ef9d6","type":"endpoint"}}],"clusters":{"input":["genOnOff","65302"],"output":[]},"configured_reportings":[{"attribute":"onOff","cluster":"genOnOff","maximum_report_interval":65000,"minimum_report_interval":0,"reportable_change":1}],"name":"3","scenes":[]},"4":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00212effff0ef9d6","type":"endpoint"}}],"clusters":{"input":["genOnOff","65302"],"output":[]},"configured_reportings":[{"attribute":"onOff","cluster":"genOnOff","maximum_report_interval":65000,"minimum_report_interval":0,"reportable_change":1}],"name":"4","scenes":[]},"5":{"bindings":[],"clusters":{"input":["genOnOff","65302"],"output":[]},"configured_reportings":[],"name":"5","scenes":[]},"6":{"bindings":[],"clusters":{"input":["genOnOff","65302"],"output":[]},"configured_reportings":[],"name":"6","scenes":[]},"7":{"bindings":[],"clusters":{"input":["genOnOff","65302"],"output":[]},"configured_reportings":[],"name":"7","scenes":[]},"8":{"bindings":[],"clusters":{"input":["genOnOff","65302"],"output":[]},"configured_reportings":[],"name":"8","scenes":[]}}

There are 6 physical Channels for servomotors. But 8 Channels are recognized in zigbee2mqtt, but none of them actually turn on when flicking the switch in z2m. I would like to couple

Notes

I would like to offer an expense compensation, for the integration!

lxhunter avatar Mar 05 '26 20:03 lxhunter

Hello,i was able to get a CCTFR6600 connecting it is shown as not support, all 6 servo motors switches work,7th one works but idk what it turns on,and 8th is silent i did my demand : https://github.com/Koenkk/zigbee2mqtt/issues/31284

`import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default { zigbeeModel: ['UFH'], model: 'UFH', vendor: 'Schneider Electric', description: 'Automatically generated definition', extend: [m.deviceEndpoints({"endpoints":{"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8}}), m.onOff({"powerOnBehavior":false,"endpointNames":["1","2","3","4","5","6","7","8"]})], };`

{ "description": "Automatically generated definition", "exposes": [ { "endpoint": "1", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "1", "label": "State", "name": "state", "property": "state_1", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "endpoint": "2", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "2", "label": "State", "name": "state", "property": "state_2", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "endpoint": "3", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "3", "label": "State", "name": "state", "property": "state_3", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "endpoint": "4", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "4", "label": "State", "name": "state", "property": "state_4", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "endpoint": "5", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "5", "label": "State", "name": "state", "property": "state_5", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "endpoint": "6", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "6", "label": "State", "name": "state", "property": "state_6", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "endpoint": "7", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "7", "label": "State", "name": "state", "property": "state_7", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "endpoint": "8", "features": [ { "access": 7, "description": "On/off state of the switch", "endpoint": "8", "label": "State", "name": "state", "property": "state_8", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" } ], "type": "switch" }, { "access": 1, "category": "diagnostic", "description": "Link quality (signal strength)", "label": "Linkquality", "name": "linkquality", "property": "linkquality", "type": "numeric", "unit": "lqi", "value_max": 255, "value_min": 0 } ], "model": "UFH", "options": [ { "access": 2, "description": "State actions will also be published as 'action' when true (default false).", "label": "State action", "name": "state_action", "property": "state_action", "type": "binary", "value_off": false, "value_on": true } ], "source": "generated", "supports_ota": false, "vendor": "Schneider Electric" }

badr-ctrl avatar Mar 06 '26 10:03 badr-ctrl

Mine is a duplicate of https://github.com/Koenkk/zigbee2mqtt/issues/31284

lxhunter avatar Mar 17 '26 14:03 lxhunter

yeah i did that and it will be available in the next version,what about the expense compensation?

badr-ctrl avatar Mar 17 '26 14:03 badr-ctrl

Do you have a paypal account? Would 20€ be okay for you?

lxhunter avatar Mar 17 '26 14:03 lxhunter

sure,ill take that,thanks btw,i usually do this for free https://www.paypal.com/paypalme/nickjayr04

badr-ctrl avatar Mar 17 '26 14:03 badr-ctrl

No thank you, i appreciate you integrating it. :)

lxhunter avatar Mar 17 '26 14:03 lxhunter

Root cause found. The UFH is a time-proportional actuator: every channel endpoint carries the Schneider-specific cluster 0xFF16 (SECycleTime in the ZHA quirks) with a demand percentage (attr 0x0000) and a cycle time (attr 0x0010, default 1800 s). The relay only closes while the channel's On/Off state is ON and the demand is above 0. The current definition only drives On/Off, so on firmware 4f014cd (0.32.2) nothing ever switches.

Verified on my CCTFR6610 with Zigbee2MQTT 2.14.1: ON + demand 100 closes the relay on all six heating channels (LED on, floor heats up); ON alone or demand alone does nothing. The demand value stays in place until overwritten (tested for 40 minutes), so there is no built-in fail-safe if the controller stops talking; whatever regulates the channels has to switch them off itself.

PR exposing demand_percentage and cycle_time per channel: Koenkk/zigbee-herdsman-converters#13162. Until it is released, the same definition works as an external converter.

lxhunter avatar Sep 09 '26 15:09 lxhunter