Page 1 sur 1

[Plugin] MQTTmapper : Intégration directe de topics MQTT dans Domoticz

Publié : 01 nov. 2022, 23:26
par Flying Domotic
Vous voulez intégrer des topics MQTT directement dans Domoticz, sans installer NodeRed, et sans découverte HomeAssistant ? Ce plugin est fait pour vous.

Voici un exemple de fichier JSON à créer pour réaliser la configuration.

Code : Tout sélectionner

{
    "Car windows": {
        "topic": "volvo/xx-999-xx/binary_sensor/any_window_open/state",
        "type": "244", "subtype": "73", "switchtype": "11",
        "mapping": {"item": "", "default": "1", "values": {"close": "0"}}
    },
    "Car lock": {
        "topic": "volvo/xx-999-xx/lock/lock/state",
        "type": "244", "subtype": "73","switchtype": "11",
        "mapping": {"item": "", "default": "0", "values": {"lock": "1"}}
    },
    "Car engine running": {
        "topic": "volvo/xx-999-xx/binary_sensor/is_engine_running/state",
        "type": "244", "subtype": "73", "switchtype": "8", 
        "mapping": {"item": "", "default": "1", "values": {"off": "0"}
        }
    },
    "Car odometer": {"topic": "volvo/xx-999-xx/sensor/odometer/state",
        "type": "113", "subtype": "0", "switchtype": "3",
        "options": {"ValueQuantity":"Distance", "ValueUnits":"km"},
        "mapping": {"item": ""}
    },
    "Car fuel amount": {"topic": "volvo/xx-999-xx/sensor/fuel_amount/state",
        "type": "243", "subtype": "31", "switchtype": "0",
        "options": {"Custom":"1;L"},
        "mapping": {"item": ""}
    },
    "Beed room temperature": {
        "topic": "beedRoom",
        "type": "80", "subtype": "5", "switchtype": "0",
        "mapping": {"item": "temperature"}
    },
    "Kitchen temperature": {"topic": "zigbee2mqtt/Kitchen",
        "type": "82", "subtype": "5", "switchtype": "0",
        "mapping": {"item": "temperature;humidity"}
    },
    "Boiler power": {
        "topic": "boiler/SENSOR",
        "type": "248", "subtype": "1", "switchtype": "0",
        "mapping": {"item": "ENERGY/Power;ENERGY/Total"}}
}
Plus de détails (en Anglais) à https://github.com/FlyingDomotic/domoti ... per-plugin

Re: [Plugin] MQTTmapper : Intégration directe de topics MQTT dans Domoticz

Publié : 02 nov. 2022, 13:09
par Keros
Merci pour ce plugin.

Je viens de le déplacer dans la section La Bibliothèque Scripts et Tutos.

Re: [Plugin] MQTTmapper : Intégration directe de topics MQTT dans Domoticz

Publié : 02 nov. 2022, 22:35
par Neutrino
Bravo pour ce plugin !
Il reste à faire la version actionneur maintenant :mrgreen:

Re: [Plugin] MQTTmapper : Intégration directe de topics MQTT dans Domoticz

Publié : 04 nov. 2022, 00:13
par Flying Domotic
J'ai pas encore le besoin, mais ça ne devrait pas être très compliqué ...

Re: [Plugin] MQTTmapper : Intégration directe de topics MQTT dans Domoticz

Publié : 14 nov. 2022, 11:37
par Flying Domotic
La version 1.0.0 sait maintenant faire envoyer des commandes SET depuis Domoticz vers MQTT.

Si vous avez des remarques/besoins, n'hésitez pas !

Re: [Plugin] MQTTmapper : Intégration directe de topics MQTT dans Domoticz

Publié : 14 nov. 2022, 12:26
par Neutrino
C'est le plugin ultime pour tout ce qui communique en MQTT.
Bravo !

Re: [Plugin] MQTTmapper : Intégration directe de topics MQTT dans Domoticz

Publié : 14 nov. 2022, 12:44
par Keros
Merci :)

Re: [Plugin] MQTTmapper : Intégration directe de topics MQTT dans Domoticz

Publié : 16 nov. 2022, 22:37
par Flying Domotic
Tant qu'on y est, la doc est maintenant en Anglais et en Français.