remonté via MQTT d'informations
fonctionne
super merci
remonté via MQTT d'informations
fonctionne
super merci
@Charles said in Ré-écriture de Wifinfo pour traiter le mode standard du Linky:
Attention le device reboot juste après
Et c'est résistant au reset, donc à faire qu'une seule fois.
Merci à tous.
super ca marche
merci
maintenant je vais tester la remonté d'info en mqtt sur home assistant
@Charles said in Ré-écriture de Wifinfo pour traiter le mode standard du Linky:
setOption108 1
Après setOption 108 1
Avant de modifier le setoption
10:19:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:19:55","Uptime":"0T01:55:09","UptimeSec":6909,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:19:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:19:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":540,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121277,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":540,"HHPHC":"A","MOTDETAT":0}}
10:24:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:00:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-28","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:24:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:24:55","Uptime":"0T02:00:09","UptimeSec":7209,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-32,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:24:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:24:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":490,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121313,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":490,"HHPHC":"A","MOTDETAT":0}}
10:29:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:05:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-31","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:29:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:29:55","Uptime":"0T02:05:09","UptimeSec":7509,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:29:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:29:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121348,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
10:34:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:10:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-30","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:34:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:34:55","Uptime":"0T02:10:09","UptimeSec":7809,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-28,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:34:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:34:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121378,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
10:39:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:15:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-31","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:39:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:39:55","Uptime":"0T02:15:09","UptimeSec":8109,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-27,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:39:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:39:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121407,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
10:44:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:20:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-28","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:44:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:44:55","Uptime":"0T02:20:09","UptimeSec":8409,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-31,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:44:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:44:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121437,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
10:49:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:25:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-26","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:49:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:49:55","Uptime":"0T02:25:09","UptimeSec":8709,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-31,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:49:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:49:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121468,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
merci pour le retour , voila je pense que c est cela qu'il te faut :
10:04:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:04:55","Uptime":"0T01:40:09","UptimeSec":6009,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-28,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:04:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:04:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":420,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121175,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":420,"HHPHC":"A","MOTDETAT":0}}
10:09:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T01:45:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-30","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:09:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:09:55","Uptime":"0T01:45:09","UptimeSec":6309,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-29,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:09:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:09:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":430,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121211,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":430,"HHPHC":"A","MOTDETAT":0}}
10:14:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T01:50:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-27","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:14:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:14:55","Uptime":"0T01:50:09","UptimeSec":6609,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:14:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:14:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121241,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
10:19:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T01:55:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-29","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:19:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:19:55","Uptime":"0T01:55:09","UptimeSec":6909,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:19:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:19:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":540,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121277,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":540,"HHPHC":"A","MOTDETAT":0}}
10:24:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:00:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-28","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:24:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:24:55","Uptime":"0T02:00:09","UptimeSec":7209,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-32,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:24:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:24:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":490,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121313,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":490,"HHPHC":"A","MOTDETAT":0}}
10:29:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:05:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-31","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:29:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:29:55","Uptime":"0T02:05:09","UptimeSec":7509,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:29:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:29:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121348,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
10:34:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:10:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-30","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
10:34:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:34:55","Uptime":"0T02:10:09","UptimeSec":7809,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-28,"LinkCount":1,"Downtime":"0T00:00:03"}}
10:34:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:34:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121378,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
bonjour
mes compteurs ne s'incrémentent pas .
que faut t il configurer pour que cela compte ?
merci
merci pour les informations
je pense que cela vient de mon cablage
le linky est bien en mode historique
bonne question c 'est quoi le mode historique et comment on y arrive ?