So, this is extracted from my Sonoff T1 (3CH Module) Tasmota console, just after my lights went off (for no reason)
As we can see it was a mqtt connection fail.
Any sugestions?
My wife is getting a little $ˆ$#%#$ because of this. It happens a few times a day.
00:14:27 MQT: Attempting connection...
00:14:34 MQT: Connect failed to 192.168.1.94:1883, rc -2. Retry in 10 sec
00:14:44 MQT: Attempting connection...
00:14:50 MQT: Connect failed to 192.168.1.94:1883, rc -2. Retry in 10 sec
00:15:01 MQT: Attempting connection...
00:15:07 MQT: Connect failed to 192.168.1.94:1883, rc -2. Retry in 10 sec
00:15:18 MQT: Attempting connection...
00:15:24 MQT: Connect failed to 192.168.1.94:1883, rc -2. Retry in 10 sec
00:15:29 RSL: stat/Escritorio/STATUS = {"Status":{"Module":30,"FriendlyName":["Escritorio Teto","Escritorio Cubo","Escritorio Abajur"],"Topic":"Escritorio","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1}}
00:15:29 RSL: stat/Escritorio/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"Escritorio","OtaUrl":"http://thehackbox.org/tasmota/release/sonoff.bin","RestartReason":"Software/System restart","Uptime":"3T06:19:17","StartupUTC":"2019-05-24T16:56:12","Sleep":50,"CfgHolder":4617,"BootCount":50,"SaveCount":1683,"SaveAddress":"F9000"}}
00:15:29 RSL: stat/Escritorio/STATUS2 = {"StatusFWR":{"Version":"6.5.0(release-sonoff)","BuildDateTime":"2019-03-19T12:24:10","Boot":6,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
00:15:29 RSL: stat/Escritorio/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["LobaoFotografia",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008029","280500000100000000000000000000000000","00000000"]}}
00:15:29 RSL: stat/Escritorio/STATUS4 = {"StatusMEM":{"ProgramSize":507,"Free":496,"Heap":12,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144051","FlashMode":3,"Features":["00000809","0FDAE394","000783A0","23B617CE","00003BC0"]}}
00:15:29 RSL: stat/Escritorio/STATUS5 = {"StatusNET":{"Hostname":"Escritorio-4120","IPAddress":"192.168.1.142","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.1.1","Mac":"xx:xx:xx:xx:xx:xx","Webserver":2,"WifiConfig":2}}
00:15:29 RSL: stat/Escritorio/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.94","MqttPort":1883,"MqttClientMask":"escritorio","MqttClient":"escritorio","MqttUser":"luizlobao","MqttCount":69,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}}
00:15:29 RSL: stat/Escritorio/STATUS7 = {"StatusTIM":{"UTC":"Mon May 27 23:15:29 2019","Local":"Tue May 28 00:15:29 2019","StartDST":"Sun Mar 31 02:00:00 2019","EndDST":"Sun Oct 27 03:00:00 2019","Timezone":"+01:00","Sunrise":"04:54","Sunset":"20:40"}}
00:15:29 RSL: stat/Escritorio/STATUS10 = {"StatusSNS":{"Time":"2019-05-28T00:15:29"}}
00:15:29 RSL: stat/Escritorio/STATUS11 = {"StatusSTS":{"Time":"2019-05-28T00:15:29","Uptime":"3T06:19:17","Vcc":3.220,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":172,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"LobaoFotografia","BSSId":"xx:xx:xx:xx:xx:xx","Channel":1,"RSSI":100,"LinkCount":38,"Downtime":"0T00:01:41"}}}`Preformatted text`