Bonjour,
J’utilise zigbee2mqtt avec des modules Xiaomi et tout fonctionne bien, du coup je souhaite passer mes modules Sonoff en firmware Tasmota.
J’ai flashé un Sonoff 4ch, tout va bien jusque là.
le problème c’est l’intégration dans Jeedom avec Jmqtt.
Je suis sur que je fait un truc qu’il faut pas …
Quelque infos sur la config/log:
voici la sortie de mon broker mosquitto (mosquitto_sub -h localhost -t « # » -v):
jeedom/Couloir_Mouvement {« illuminance »:2,« linkquality »:0,« occupancy »:true,« battery »:100,« voltage »:3015}
jeedom/sonoff/STATE {« Time »:« 2019-11-12T12:01:17 »,« Uptime »:« 0T00:05:16 »,« UptimeSec »:316,« Vcc »:3.457,« Heap »:30,« SleepMode »:« Dynamic »,« Sleep »:50,« LoadAvg »:19,« MqttCount »:1,« POWER1 »:« OFF »,« POWER2 »:« OFF »,« POWER3 »:« OFF »,« POWER4 »:« OFF »,« Wifi »:{« AP »:1,« SSId »:« l-home »,« BSSId »:« E4:F4:C6:17:4C:48 »,« Channel »:5,« RSSI »:26,« LinkCount »:1,« Downtime »:« 0T00:00:05 »}}
jeedom/Router_Garage {« state »:true,« led_state »:true,« linkquality »:0}
jeedom/Router_Salle {« state »:true,« led_state »:true,« linkquality »:0}
A partir de là je me dit que cela doit être bon … mais non
Pour la config jmqtt, j’ai un broker configuré avec la bonne adresse etc puisque zigbee2mqtt fonctionne bien.
Voici un extrait des log jmqtt:
[2019-11-12 12:10:39][DEBUG] : Command zigbee2mqtt Master|Router_Salle not created as automatic command creation is disabled
[2019-11-12 12:10:52][DEBUG] : broker msg: Client jeedom received PUBLISH (d0, q0, r0, m0, ‹ jeedom/sonoff/RESULT ›, … (15 bytes))
[2019-11-12 12:10:52][DEBUG] : Payload {« POWER2 »:« ON »} for topic jeedom/sonoff/RESULT
[2019-11-12 12:10:52][DEBUG] : Command Broker ZigBee|sonoff/RESULT not created as automatic command creation is disabled
[2019-11-12 12:10:52][DEBUG] : Command zigbee2mqtt Master|sonoff/RESULT not created as automatic command creation is disabled
[2019-11-12 12:10:52][DEBUG] : broker msg: Client jeedom received PUBLISH (d0, q0, r0, m0, ‹ jeedom/sonoff/POWER2 ›, … (2 bytes))
[2019-11-12 12:10:52][DEBUG] : Payload ON for topic jeedom/sonoff/POWER2
[2019-11-12 12:10:52][DEBUG] : Command Broker ZigBee|sonoff/POWER2 not created as automatic command creation is disabled
[2019-11-12 12:10:52][DEBUG] : Command zigbee2mqtt Master|sonoff/POWER2 not created as automatic command creation is disabled
[2019-11-12 12:10:53][DEBUG] : broker msg: Client jeedom received PUBLISH (d0, q0, r0, m0, ‹ jeedom/sonoff/RESULT ›, … (16 bytes))
[2019-11-12 12:10:53][DEBUG] : Payload {« POWER2 »:« OFF »} for topic jeedom/sonoff/RESULT
[2019-11-12 12:10:53][DEBUG] : Command Broker ZigBee|sonoff/RESULT not created as automatic command creation is disabled
[2019-11-12 12:10:53][DEBUG] : Command zigbee2mqtt Master|sonoff/RESULT not created as automatic command creation is disabled
[2019-11-12 12:10:53][DEBUG] : broker msg: Client jeedom received PUBLISH (d0, q0, r0, m0, ‹ jeedom/sonoff/POWER2 ›, … (3 bytes))
[2019-11-12 12:10:53][DEBUG] : Payload OFF for topic jeedom/sonoff/POWER2
[2019-11-12 12:10:53][DEBUG] : Command Broker ZigBee|sonoff/POWER2 not created as automatic command creation is disabled
[2019-11-12 12:10:53][DEBUG] : Command zigbee2mqtt Master|sonoff/POWER2 not created as automatic command creation is disabled
On voie bien passer les messages lié au sonoff, c’est bien un payload simple (enfin je pense !)
Voici la config de l’equipement:
par-contre les commandes reste définitivement vide.
Je ne voie pas ce qui cloche, certainement une con****e.
