Re: [Plugin] MQTTmapper : Intégration directe de topics MQTT dans Domoticz
Publié : 19 mars 2023, 16:14
J'ai terminé la modif.
Un exemple de fichier json qui marche est :
Dis-moi si ça fonctionne bien une fois intégré.
Un exemple de fichier json qui marche est :
Code : Tout sélectionner
{
"mvtdec1": {
"topic": "KC868_AI/4022D8E06EE0/STATE",
"key": "KC868_AI/4022D8E06EE0/STATE-input1",
"type": "244", "subtype": "73", "switchtype": "8",
"mapping": {"item": "input1/value", "default": "0", "values": {"True": "1"}}
},
"mvtdec2": {
"topic": "KC868_AI/4022D8E06EE0/STATE",
"key": "KC868_AI/4022D8E06EE0/STATE-input2",
"type": "244", "subtype": "73", "switchtype": "8",
"mapping": {"item": "input2/value", "default": "0", "values": {"True": "1"}}
}
}