Log Sonoffs a cada 4 segundos


(Guga Machado de Carvalho) #1

Estou com uma dúvida.

Apesar de aparentemente meus Sonoffs estarem todos funcionando perfeitamente, eles todos tem este mesmo log.

Aparentemente é gerado a cada 4 segundos.

17:11:45 MQT: stat/kitchen/STATUS2 = {"StatusFWR":{"Version":"6.2.0","BuildDateTime":"2018-08-31T15:15:32","Boot":6,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
17:11:45 MQT: stat/kitchen/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["MC BLACKBEAR",""],"TelePeriod":300,"SetOption":["00008229","55818000","00000001"]}}
17:11:45 MQT: stat/kitchen/STATUS4 = {"StatusMEM":{"ProgramSize":472,"Free":528,"Heap":17,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":3,"Features":["00000809","0FDAE794","24000000","23B617CE","00000000"]}}
17:11:45 MQT: stat/kitchen/STATUS5 = {"StatusNET":{"Hostname":"Kitchen","IPAddress":"192.168.0.114","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"8.8.8.8","Mac":"XXX","Webserver":2,"WifiConfig":3}}
17:11:45 MQT: stat/kitchen/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.175","MqttPort":1883,"MqttClientMask":"kitchen","MqttClient":"kitchen","MqttUser":"guga","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}}
17:11:45 MQT: stat/kitchen/STATUS7 = {"StatusTIM":{"UTC":"Wed Sep 12 20:11:45 2018","Local":"Wed Sep 12 17:11:45 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Fri Aug 24 10:00:00 2018","Timezone":-3,"Sunrise":"02:22","Sunset":"15:10"}}
17:11:45 MQT: stat/kitchen/STATUS10 = {"StatusSNS":{"Time":"2018-09-12T17:11:45"}}
17:11:46 MQT: stat/kitchen/STATUS11 = {"StatusSTS":{"Time":"2018-09-12T17:11:45","Uptime":"0T00:42:47","Vcc":3.170,"POWER":"OFF","Wifi":{"AP":1,"SSId":"XXX","RSSI":96,"APMac":"XXX"}}}
17:11:50 MQT: stat/kitchen/STATUS = {"Status":{"Module":10,"FriendlyName":["Kitchen"],"Topic":"kitchen","ButtonTopic":"kitchen","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":1}}
17:11:50 MQT: stat/kitchen/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"kitchen","OtaUrl":"https://192.168.0.175:9541/data/firmwares/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:42:52","StartupUTC":"2018-09-12T19:28:58","Sleep":0,"BootCount":16,"SaveCount":419,"SaveAddress":"F8000"}}
17:11:50 MQT: stat/kitchen/STATUS2 = {"StatusFWR":{"Version":"6.2.0","BuildDateTime":"2018-08-31T15:15:32","Boot":6,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
17:11:50 MQT: stat/kitchen/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["XXX",""],"TelePeriod":300,"SetOption":["00008229","55818000","00000001"]}}
17:11:50 MQT: stat/kitchen/STATUS4 = {"StatusMEM":{"ProgramSize":472,"Free":528,"Heap":17,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":3,"Features":["00000809","0FDAE794","24000000","23B617CE","00000000"]}}
17:11:50 MQT: stat/kitchen/STATUS5 = {"StatusNET":{"Hostname":"Kitchen","IPAddress":"192.168.0.114","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"8.8.8.8","Mac":"XXX","Webserver":2,"WifiConfig":3}}
17:11:50 MQT: stat/kitchen/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.175","MqttPort":1883,"MqttClientMask":"kitchen","MqttClient":"kitchen","MqttUser":"XXX","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}}
17:11:50 MQT: stat/kitchen/STATUS7 = {"StatusTIM":{"UTC":"Wed Sep 12 20:11:50 2018","Local":"Wed Sep 12 17:11:50 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Fri Aug 24 10:00:00 2018","Timezone":-3,"Sunrise":"02:22","Sunset":"15:10"}}
17:11:50 MQT: stat/kitchen/STATUS10 = {"StatusSNS":{"Time":"2018-09-12T17:11:50"}}
17:11:50 MQT: stat/kitchen/STATUS11 = {"StatusSTS":{"Time":"2018-09-12T17:11:50","Uptime":"0T00:42:52","Vcc":3.171,"POWER":"OFF","Wifi":{"AP":1,"SSId":"XXX","RSSI":90,"APMac":"XXXXF"}}}
17:11:55 MQT: stat/kitchen/STATUS = {"Status":{"Module":10,"FriendlyName":["Kitchen"],"Topic":"kitchen","ButtonTopic":"kitchen","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":1}}
17:11:55 MQT: stat/kitchen/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"kitchen","OtaUrl":"https://192.168.0.175:9541/data/firmwares/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:42:57","StartupUTC":"2018-09-12T19:28:58","Sleep":0,"BootCount":16,"SaveCount":419,"SaveAddress":"F8000"}}
17:11:55 MQT: stat/kitchen/STATUS2 = {"StatusFWR":{"Version":"6.2.0","BuildDateTime":"2018-08-31T15:15:32","Boot":6,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
17:11:55 MQT: stat/kitchen/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["XXX",""],"TelePeriod":300,"SetOption":["00008229","55818000","00000001"]}}
17:11:55 MQT: stat/kitchen/STATUS4 = {"StatusMEM":{"ProgramSize":472,"Free":528,"Heap":17,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":3,"Features":["00000809","0FDAE794","24000000","23B617CE","00000000"]}}
17:11:55 MQT: stat/kitchen/STATUS5 = {"StatusNET":{"Hostname":"Kitchen","IPAddress":"192.168.0.114","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"8.8.8.8","Mac":"XXX","Webserver":2,"WifiConfig":3}}
17:11:55 MQT: stat/kitchen/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.175","MqttPort":1883,"MqttClientMask":"kitchen","MqttClient":"kitchen","MqttUser":"XXX","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}}
17:11:56 MQT: stat/kitchen/STATUS7 = {"StatusTIM":{"UTC":"Wed Sep 12 20:11:55 2018","Local":"Wed Sep 12 17:11:55 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Fri Aug 24 10:00:00 2018","Timezone":-3,"Sunrise":"02:22","Sunset":"15:10"}}
17:11:56 MQT: stat/kitchen/STATUS10 = {"StatusSNS":{"Time":"2018-09-12T17:11:56"}}
17:11:56 MQT: stat/kitchen/STATUS11 = {"StatusSTS":{"Time":"2018-09-12T17:11:56","Uptime":"0T00:42:58","Vcc":3.170,"POWER":"OFF","Wifi":{"AP":1,"SSId":"XXX","RSSI":90,"APMac":"XXX"}}}
17:12:01 MQT: stat/kitchen/STATUS = {"Status":{"Module":10,"FriendlyName":["Kitchen"],"Topic":"kitchen","ButtonTopic":"kitchen","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":1}}
17:12:01 MQT: stat/kitchen/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"kitchen","OtaUrl":"https://192.168.0.175:9541/data/firmwares/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:43:03","StartupUTC":"2018-09-12T19:28:58","Sleep":0,"BootCount":16,"SaveCount":419,"SaveAddress":"F8000"}}
17:12:01 MQT: stat/kitchen/STATUS2 = {"StatusFWR":{"Version":"6.2.0","BuildDateTime":"2018-08-31T15:15:32","Boot":6,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
17:12:01 MQT: stat/kitchen/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["XXX",""],"TelePeriod":300,"SetOption":["00008229","55818000","00000001"]}}
17:12:01 MQT: stat/kitchen/STATUS4 = {"StatusMEM":{"ProgramSize":472,"Free":528,"Heap":17,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":3,"Features":["00000809","0FDAE794","24000000","23B617CE","00000000"]}}
17:12:01 MQT: stat/kitchen/STATUS5 = {"StatusNET":{"Hostname":"Kitchen","IPAddress":"192.168.0.114","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"8.8.8.8","Mac":"XXXX","Webserver":2,"WifiConfig":3}}
17:12:01 MQT: stat/kitchen/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.175","MqttPort":1883,"MqttClientMask":"kitchen","MqttClient":"kitchen","MqttUser":"XXX","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}}
17:12:01 MQT: stat/kitchen/STATUS7 = {"StatusTIM":{"UTC":"Wed Sep 12 20:12:01 2018","Local":"Wed Sep 12 17:12:01 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Fri Aug 24 10:00:00 2018","Timezone":-3,"Sunrise":"02:22","Sunset":"15:10"}}
17:12:01 MQT: stat/kitchen/STATUS10 = {"StatusSNS":{"Time":"2018-09-12T17:12:01"}}
17:12:01 MQT: stat/kitchen/STATUS11 = {"StatusSTS":{"Time":"2018-09-12T17:12:01","Uptime":"0T00:43:03","Vcc":3.169,"POWER":"OFF","Wifi":{"AP":1,"SSId":"XXXX","RSSI":88,"APMac":"XXXX"}}}
17:12:05 MQT: stat/kitchen/STATUS = {"Status":{"Module":10,"FriendlyName":["Kitchen"],"Topic":"kitchen","ButtonTopic":"kitchen","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":1}}
17:12:05 MQT: stat/kitchen/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"kitchen","OtaUrl":"https://192.168.0.175:9541/data/firmwares/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:43:07","StartupUTC":"2018-09-12T19:28:58","Sleep":0,"BootCount":16,"SaveCount":419,"SaveAddress":"F8000"}}
17:12:05 MQT: stat/kitchen/STATUS2 = {"StatusFWR":{"Version":"6.2.0","BuildDateTime":"2018-08-31T15:15:32","Boot":6,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
17:12:05 MQT: stat/kitchen/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["MC BLACKBEAR",""],"TelePeriod":300,"SetOption":["00008229","55818000","00000001"]}}
17:12:05 MQT: stat/kitchen/STATUS4 = {"StatusMEM":{"ProgramSize":472,"Free":528,"Heap":17,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":3,"Features":["00000809","0FDAE794","24000000","23B617CE","00000000"]}}
17:12:05 MQT: stat/kitchen/STATUS5 = {"StatusNET":{"Hostname":"Kitchen","IPAddress":"192.168.0.114","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"8.8.8.8","Mac":"XXXX","Webserver":2,"WifiConfig":3}}
17:12:05 MQT: stat/kitchen/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.175","MqttPort":1883,"MqttClientMask":"kitchen","MqttClient":"kitchen","MqttUser":"XXX","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}}
17:12:05 MQT: stat/kitchen/STATUS7 = {"StatusTIM":{"UTC":"Wed Sep 12 20:12:05 2018","Local":"Wed Sep 12 17:12:05 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Fri Aug 24 10:00:00 2018","Timezone":-3,"Sunrise":"02:22","Sunset":"15:10"}}
17:12:05 MQT: stat/kitchen/STATUS10 = {"StatusSNS":{"Time":"2018-09-12T17:12:05"}}
17:12:05 MQT: stat/kitchen/STATUS11 = {"StatusSTS":{"Time":"2018-09-12T17:12:05","Uptime":"0T00:43:07","Vcc":3.170,"POWER":"OFF","Wifi":{"AP":1,"SSId":"XXXX","RSSI":90,"APMac":"XXXX"}}}

Estou usando a seguinte configuração no config.yaml

#### SONOFF TOUCH KITCHEN
- platform: mqtt
  name: "Kitchen"
  command_topic: "cmnd/kitchen/power"
  state_topic: "stat/kitchen/POWER"
  availability_topic: "tele/kitchen/LWT"
  payload_available: "Online"
  payload_not_available: "Offline"
  qos: 1
  payload_on: "ON"
  payload_off: "OFF"
  retain: false

E no console de cada tasmota inseri os seguintes parametros

SwitchRetain Off

ButtonRetain On

ButtonRetain Off

PowerOnState 3

PowerRetain On

SensorRetain On

Foram colocados nesta sequência.

Abraços,