Jeezigbee - nodon

Salut,
Les commandes et état du relais double NODON ne sont pas fonctionnelles.
Ci dessous le json brut

{
    "date_code": "2020",
    "definition": {
        "description": "Double LED relay",
        "exposes": [
            {
                "endpoint": "l1",
                "features": [
                    {
                        "access": 7,
                        "description": "On\/off state of the switch",
                        "endpoint": "l1",
                        "name": "state",
                        "property": "state_l1",
                        "type": "binary",
                        "value_off": "OFF",
                        "value_on": "ON",
                        "value_toggle": "TOGGLE"
                    }
                ],
                "type": "switch"
            },
            {
                "endpoint": "l2",
                "features": [
                    {
                        "access": 7,
                        "description": "On\/off state of the switch",
                        "endpoint": "l2",
                        "name": "state",
                        "property": "state_l2",
                        "type": "binary",
                        "value_off": "OFF",
                        "value_on": "ON",
                        "value_toggle": "TOGGLE"
                    }
                ],
                "type": "switch"
            },
            {
                "access": 1,
                "description": "Link quality (signal strength)",
                "name": "linkquality",
                "property": "linkquality",
                "type": "numeric",
                "unit": "lqi",
                "value_max": 255,
                "value_min": 0
            }
        ],
        "model": "SIN-4-2-20",
        "options": [
            {
                "access": 2,
                "description": "State actions will also be published as 'action' when true (default false).",
                "name": "state_action",
                "property": "state_action",
                "type": "binary",
                "value_off": false,
                "value_on": true
            }
        ],
        "supports_ota": false,
        "vendor": "NodOn"
    },
    "disabled": false,
    "endpoints": {
        "1": {
            "bindings": [
                {
                    "cluster": "genOnOff",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x84fd27fffe0e471b",
                        "type": "endpoint"
                    }
                }
            ],
            "clusters": {
                "input": [
                    "genBasic",
                    "genIdentify",
                    "genGroups",
                    "genScenes",
                    "genOnOff",
                    "genOnOffSwitchCfg",
                    "genLevelCtrl",
                    "touchlink",
                    "64599"
                ],
                "output": [
                    "genIdentify",
                    "genOnOff",
                    "genOta"
                ]
            },
            "configured_reportings": [
                {
                    "attribute": "onOff",
                    "cluster": "genOnOff",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 0
                }
            ],
            "scenes": []
        },
        "2": {
            "bindings": [
                {
                    "cluster": "genOnOff",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x84fd27fffe0e471b",
                        "type": "endpoint"
                    }
                }
            ],
            "clusters": {
                "input": [
                    "genBasic",
                    "genIdentify",
                    "genGroups",
                    "genScenes",
                    "genOnOff",
                    "genOnOffSwitchCfg",
                    "genLevelCtrl"
                ],
                "output": [
                    "genIdentify",
                    "genOnOff"
                ]
            },
            "configured_reportings": [
                {
                    "attribute": "onOff",
                    "cluster": "genOnOff",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 0
                }
            ],
            "scenes": []
        },
        "242": {
            "bindings": [],
            "clusters": {
                "input": [
                    "greenPower"
                ],
                "output": [
                    "greenPower"
                ]
            },
            "configured_reportings": [],
            "scenes": []
        }
    },
    "friendly_name": "0x540f57fffe44abc1",
    "ieee_address": "0x540f57fffe44abc1",
    "interview_completed": true,
    "interviewing": false,
    "manufacturer": "NodOn",
    "model_id": "SIN-4-2-20\u0000 \u0000\u0000\u0000\u0014\u0000\u0000\u0000\ufffd\u0000\u0000\u0000\ufffd\u0002\u0001\u0000\u0001\u0000\u0000\ufffd\ufffd",
    "network_address": 15234,
    "power_source": "Mains (single phase)",
    "supported": true,
    "type": "Router"
}```

Salut,
Pour info, via l’interface Z2M cela fonctionne.
Ce qui ne fonctionne pas par le puglin (ex on sur l2) donne dans le log :

Zigbee2MQTT:error 2023-05-19 23:12:22: No converter available for 'state_l2' (undefined)
Zigbee2MQTT:error 2023-05-19 23:12:26: No converter available for 'state_l2' (undefined)

Le même log, pour l’action effectué via l’interface :

Zigbee2MQTT:info  2023-05-19 23:12:42: MQTT publish: topic 'zigbee2mqtt/0x540f57fffe44abc1', payload '{"device":{"applicationVersion":39,"dateCode":"2020","friendlyName":"0x540f57fffe44abc1","hardwareVersion":50,"ieeeAddr":"0x540f57fffe44abc1","manufacturerID":4747,"manufacturerName":"NodOn","model":"SIN-4-2-20","networkAddress":15234,"powerSource":"Mains (single phase)","stackVersion":103,"type":"Router","zclVersion":3},"last_seen":"2023-05-19T21:12:42.976Z","linkquality":136,"state_l1":"OFF","state_l2":"OFF"}'
Zigbee2MQTT:info  2023-05-19 23:12:42: MQTT publish: topic 'zigbee2mqtt/0x540f57fffe44abc1', payload '{"device":{"applicationVersion":39,"dateCode":"2020","friendlyName":"0x540f57fffe44abc1","hardwareVersion":50,"ieeeAddr":"0x540f57fffe44abc1","manufacturerID":4747,"manufacturerName":"NodOn","model":"SIN-4-2-20","networkAddress":15234,"powerSource":"Mains (single phase)","stackVersion":103,"type":"Router","zclVersion":3},"last_seen":"2023-05-19T21:12:42.976Z","linkquality":136,"state_l1":"OFF","state_l2":"ON"}'

L’erreur vient du nommage il faut, par exemple state_l1::OFF au lieu de state_l1_l1::OFF qui ne fonctionne pas et qui est généré par le plugin

Bonjour,
Pourrais tu me mettre une capture d’écran des commandes que jeedom a générées ?

de mémoire, c’était un truc de ce genre

Le pb a été rencontré ailleurs visiblement :
Problème d’intégration Orvibo CM10ZW

Il était présent sur le on, off et l’information state pour chaque entrée/sortie

Parfait merci, faudra retester avec la beta de demain ca devrait etre mieux.