Bonjour,
Voici la configuration pour la prise Sonoff Zigbee Smart Plug.
Fichier JSON (SONOFF.S31LiteZB.json) :
{
"name": "Prise connectée",
"ref" : "S31LiteZB",
"type": "Prise",
"buylink": "",
"remark": "",
"documentation": "https://sonoff.tech/wp-content/uploads/2021/03/%E8%AF%B4%E6%98%8E%E4%B9%A6-S31-Lite-zb-V1.3-20201130.pdf",
"reset": "Appui maintenu de 5 secondes sur le bouton de configuration",
"pairing": "Une fois alimenté le module entre en mode appairage",
"commands": [
{
"name": "Etat",
"type": "info",
"subtype": "binary",
"generic_type": "ENERGY_STATE",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "1::6::0"
},
{
"name": "On",
"generic_type": "ENERGY_ON",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "1::on_off::on",
"template":{
"dashboard" : "light",
"mobile" : "light"
}
},
{
"name": "Off",
"generic_type": "ENERGY_OFF",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "1::on_off::off",
"template":{
"dashboard" : "light",
"mobile" : "light"
}
}
]
}
Cédric