Closed RickPennings closed 5 years ago
Please add status 0
output before you try to change config
@Jason2866 Updated the report.
Please add Status 0 of the device in the state where it stops after the reset. Also provide the out of Template and GPIO.
Thanks
@meingraham Could you explain what you mean with "out of template"? GPIO is configured like the tutorial https://github.com/arendst/Sonoff-Tasmota/wiki/BlitzWolf-SHP6. Do note, I followed the tutorial by the letter, and used the http://thehackbox.org/tasmota/release/sonoff.bin binary.
The module resets like this after setting the module to the correct one (45, Blitzwolf SHP):
14:06:26 RSL: stat/sonoff/RESULT = {"Reset":"Reset and Restarting"} 14:06:27 CFG: Use defaults 14:06:27 MQT: Attempting connection... 14:06:28 DNS: Query done. MQTT services found 0 14:06:29 APP: Restarting
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d vbb28d4a3 ~ld
00:00:00 Project sonoff Sonoff Version 6.4.1(sonoff)-2_4_2 00:00:00 WIF: WifiManager active for 3 minutes 00:00:00 HTP: Web server active on sonoff-7888 with IP address 192.168.4.1 Status 0 00:00:06 CMD: Status 0 00:00:06 RSL: stat/sonoff/STATUS = {"Status":{"Module":1,"FriendlyName":["Sonoff"],"Topic":"sonoff","ButtonTopic":"0","Power":1,"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":0}} 00:00:06 RSL: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://thehackbox.org/tasmota/release/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:06","StartupUTC ":"","Sleep":50,"BootCount":0,"SaveCount":4,"SaveAddress":"F8000"}} 00:00:06 RSL: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"6.4.1(sonoff)","BuildDateTime":"2018-12-24T14:41:00","Boot":31,"Core":"2_42","SDK":"2.2.1(cfd48f3)"}} 00:00:06 RSL: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["",""],"TelePeriod":300,"SetOption":["00008009","558180C0","00000000"]}} 00:00:06 RSL: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":521,"Free":480,"Heap":22,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144068","FlashMode":3,"Features":["00000809","0FDAE794","000383A0","23B617CE","00 003BC0"]}} 00:00:06 RSL: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff-7888","IPAddress":"0.0.0.0","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.1.1","Mac":"BC:DD:C2:23:1E:D0","Webserver":2,"WifiConfi g":4}} 00:00:06 RSL: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_231ED0","MqttUser":"DVES_USER","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}} 00:00:06 RSL: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"Thu Jan 01 00:00:06 1970","Local":"Thu Jan 01 00:00:06 1970","StartDST":"Thu Jan 01 00:00:00 1970","EndDST":"Thu Jan 01 00:00:00 1970","Timezone":"+00:00","Sunrise":"07: 43","Sunset":"16:03"}} 00:00:06 RSL: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"1970-01-01T00:00:06"}} 00:00:06 RSL: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"1970-01-01T00:00:06","Uptime":"0T00:00:06","Vcc":3.328,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"ON","Wifi":{"AP":1,"SSId":"","BSSId":"FF:FF:FF:FF:FF:FF", "Channel":1,"RSSI":100}}}
14:11:35 CMD: GPIO 14:11:35 RSL: stat/sonoff/RESULT = {"GPIO1":"0 (None)","GPIO3":"0 (None)"}
Oops, I just realized we use an ancient version of the firmware, retrying with version 6.6.0...
It appears this module does not have a pullup resistor, configuring gpio13 as button1n makes a lot less noise in the logs. This could also be the cause of random resets to default configs because of a false long press detection that takes 10 * (hold time) deciseconds.
@plampix
We ask for Status 0
because it helps highlight firmware/Core versions, certain settings, etc. The firmware version would have been one of the first red flags to address ;-)
Template
and GPIOS
are also Console commands. They display additional device configurations. These also can help highlight strange GPIO assignments.
It seems that prodding for the information has at least given you an aha moment of things to investigate.
@meingraham I tested with the latest version, and reproduced the problem with it. Unfortunately the remark of plampix clouds this report. If I need to present more data I will update the issue stated on top. I will add additional details with the requested logs and requested command outputs with the states clearly stated during the output of the log.
Not doubting your issue exists. We just need more information.
Another possibility is that device models stay the same but the manufacturer actually changes the electronics. Looks exactly the same on the outside and very similar inside, but they alter the electronics to use different energy monitoring chips, controls MCU, even the ESP (8285 vs. 8266). What you may be encountering is related to this.
You may want to start with a "blank" template. First go with no GPIO assigned and choose BASE 45. Then follow the "new device" GPIO setup to "find" the functions of each GPIO. perhaps this will eliminate the bootloops that are resetting the device to defaults.
Mike
@meingraham After flashing it over 40 times to reproduce this problem @plampix tried the following. Before changing to module type 45, he used 0 and changed the GPIO13 to Button1 and GPIO15 to relay1. This reproduced the same issue. After erase_flash and write_flash of sonoff.bin the problem did not occur anymore. This would mean that either the modification of @plampix actually has been stored somewhere, where erase_flash and write_flash have not been writing, or it might have shorted something in the plug itself.
I don't know how, but the problem is not reproducible anymore. I'm going to order another plug to check if I can reproduce it on that one. For the time being, I'm closing the issue.
Thanks all for the support!
Ah, good old remnants in the flash.
BTW, you have used the (45) Module
which sets the device GPIO "in code". And it appears that is still correct for the SHP6 now that you've swept out any gremlins from the flash. What I was suggesting was using the Template to assign ALL GPIO yet still make use of the special energy monitoring code for (45). See the wiki for Templates. Since 6.4.1.16 most devices will not be added as Modules unless they are truly unique. Templates offer much more flexibility and re-usability. There are over 350 devices supported using templates.
Anyway, glad it's all working now.
Mike
Problem occurred again. Going to try your last comment @meingraham, I'm guessing that it'll solve the problem. Thanks for the tip. When I'll get it working I'll send an addition for the guide for this device.
BUG DESCRIPTION
When a BlitzWolf SHP6 EU is flashed with Tasmota, there are no problems. The moment you change the Configuration -> Configure Module to BlitzWolf SHP (45), after resetting, the module keeps working for 48 seconds, then resets to firmware defaults. Figuring this is the same result as holding a button I changed the setOption32 to a different time setting, and what'd you know, it firmware resets to defaults with the given time.
I'm assuming there is a hold button registered with this configuration module preset, but I can't seem to figure out how to resolve this issue.
REQUESTED INFORMATION
Make sure these boxes are checked before submitting your issue. Thank you
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
status 0
: n.a.Status 0 after changing profile: 12:32:06 CMD: status 0 12:32:06 RSL: stat/sonoff/STATUS = {"Status":{"Module":45,"FriendlyName":["Sonoff"],"Topic":"sonoff","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":0}} 12:32:06 RSL: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://thehackbox.org/tasmota/release/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:11","StartupUTC":"2019-07-29T11:31:55","Sleep":50,"BootCount":3,"SaveCount":10,"SaveAddress":"FA000"}} 12:32:06 RSL: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"6.4.1(sonoff)","BuildDateTime":"2018-12-24T14:41:00","Boot":31,"Core":"2_42","SDK":"2.2.1(cfd48f3)"}} 12:32:06 RSL: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Pocos Guest",""],"TelePeriod":300,"SetOption":["00008009","558180C0","00000000"]}} 12:32:06 RSL: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":521,"Free":480,"Heap":21,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144068","FlashMode":3,"Features":["00000809","0FDAE794","000383A0","23B617CE","00003BC0"]}} 12:32:06 RSL: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff-7888","IPAddress":"192.168.131.109","Gateway":"192.168.131.1","Subnetmask":"255.255.255.0","DNSServer":"10.0.1.71","Mac":"BC:DD:C2:23:1E:D0","Webserver":2,"WifiConfig":4}} 12:32:06 RSL: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_231ED0","MqttUser":"DVES_USER","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}} 12:32:06 RSL: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"Mon Jul 29 11:32:06 2019","Local":"Mon Jul 29 12:32:06 2019","StartDST":"Sun Mar 31 02:00:00 2019","EndDST":"Sun Oct 27 03:00:00 2019","Timezone":"+01:00","Sunrise":"05:19","Sunset":"20:34"}} 12:32:06 RSL: stat/sonoff/STATUS9 = {"StatusPTH":{"PowerDelta":80,"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}} 12:32:06 RSL: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"2019-07-29T12:32:06","ENERGY":{"TotalStartTime":"2019-07-29T12:30:05","Total":0.000,"Yesterday":0.000,"Today":0.000,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":0,"Current":0.000}}} 12:32:06 RSL: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"2019-07-29T12:32:06","Uptime":"0T00:00:11","Vcc":3.332,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"OFF","Wifi":{"AP":1,"SSId":"Pocos Guest","BSSId":"24:16:6D:7E:D2:01","Channel":1,"RSSI":72}}}
EDIT: 12:32:45 RSL: stat/sonoff/RESULT = {"POWER":"ON"} 12:32:45 RSL: stat/sonoff/POWER = ON 12:32:46 RSL: stat/sonoff/RESULT = {"POWER":"OFF"} 12:32:46 RSL: stat/sonoff/POWER = OFF 12:32:47 RSL: stat/sonoff/RESULT = {"WifiConfig":"WifiManager selected"} 12:32:48 WIF: WifiManager active for 3 minutes 12:32:48 HTP: Web server stopped 12:32:48 HTP: Web server active on sonoff-7888.local with IP address 192.168.4.1 12:32:48 MQT: Attempting connection... 12:32:49 DNS: Query done. MQTT services found 0 12:32:52 RSL: stat/sonoff/RESULT = {"WifiConfig":"SmartConfig selected"} 12:32:53 APP: Restarting
load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v60000608 ~ld
00:00:00 CFG: Loaded from flash at F9, Count 3 00:00:00 Project sonoff Sonoff Version 6.6.0(release-sonoff)-2_3_0 00:00:00 WIF: WifiManager active for 3 minutes 00:00:00 HTP: Web server active on sonoff-7888 with IP address 192.168.4.1 00:00:14 CMD: status 0Template 00:00:14 RSL: stat/sonoff/STATUS = {"Status":{"Module":1,"FriendlyName":["Sonoff"],"Topic":"sonoff","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} 00:00:14 RSL: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://thehackbox.org/tasmota/release/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:14","StartupUTC":"","Sleep":50,"CfgHolder":4617,"BootCount":1,"SaveCount":4,"SaveAddress":"F8000"}} 00:00:14 RSL: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"6.6.0(release-sonoff)","BuildDateTime":"2019-07-06T13:10:20","Boot":31,"Core":"2_30","SDK":"1.5.3(aec24ac9)"}} 00:00:14 RSL: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","280500000100060000000000000000000000","00000000"]}} 00:00:14 RSL: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":503,"Free":500,"Heap":15,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144068","FlashMode":3,"Features":["00000809","0FDAE396","001783A0","22B617CD","01003BC0"]}} 00:00:14 RSL: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff-7888","IPAddress":"0.0.0.0","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.1.1","Mac":"BC:DD:C2:23:1E:D0","Webserver":2,"WifiConfig":4}} 00:00:14 RSL: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_231ED0","MqttUser":"DVES_USER","MqttCount":0,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}} 00:00:14 RSL: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"Thu Jan 01 00:00:14 1970","Local":"Thu Jan 01 00:00:14 1970","StartDST":"Thu Jan 01 00:00:00 1970","EndDST":"Thu Jan 01 00:00:00 1970","Timezone":"+00:00","Sunrise":"07:43","Sunset":"16:03"}} 00:00:14 RSL: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"1970-01-01T00:00:14"}} 00:00:14 RSL: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"1970-01-01T00:00:14","Uptime":"0T00:00:14","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"ON","Wifi":{"AP":1,"SSId":"","BSSId":"FF:FF:FF:FF:FF:FF","Channel":1,"RSSI":100,"LinkCount":0,"Downtime":"0T00:00:00"}}} 00:00:26 CMD: Template 00:00:26 RSL: stat/sonoff/RESULT = {"NAME":"Generic","GPIO":[255,255,255,255,255,255,255,255,255,255,255,255,255],"FLAG":15,"BASE":18} 00:00:33 CMD: GPIOS 00:00:33 RSL: stat/sonoff/RESULT = {"GPIOs1":["0 (None)","18 (Button2)","91 (Button2n)","123 (Button2i)","127 (Button2in)","19 (Button3)","92 (Button3n)","124 (Button3i)","128 (Button3in)","20 (Button4)","93 (Button4n)","125 (Button4i)","129 (Button4in)","9 (Switch1)","82 (Switch1n)","10 (Switch2)","83 (Switch2n)","11 (Switch3)","84 (Switch3n)","12 (Switch4)","85 (Switch4n)","13 (Switch5)","86 (Switch5n)","14 (Switch6)","87 (Switch6n)","15 (Switch7)","88 (Switch7n)"]} 00:00:33 RSL: stat/sonoff/RESULT = {"GPIOs2":["16 (Switch8)","89 (Switch8n)","22 (Relay2)","30 (Relay2i)","23 (Relay3)","31 (Relay3i)","24 (Relay4)","32 (Relay4i)","25 (Relay5)","33 (Relay5i)","26 (Relay6)","34 (Relay6i)","27 (Relay7)","35 (Relay7i)","28 (Relay8)","36 (Relay8i)","53 (Led2)","57 (Led2i)","54 (Led3)","58 (Led3i)","55 (Led4)","59 (Led4i)","157 (LedLink)","158 (LedLinki)","37 (PWM1)","46 (PWM1i)","38 (PWM2)","47 (PWM2i)","39 (PWM3)","48 (PWM3i)"]} 00:00:33 RSL: stat/sonoff/RESULT = {"GPIOs3":["40 (PWM4)","49 (PWM4i)","41 (PWM5)","50 (PWM5i)","42 (Counter1)","94 (Counter1n)","43 (Counter2)","95 (Counter2n)","44 (Counter3)","96 (Counter3n)","45 (Counter4)","97 (Counter4n)","148 (Serial Tx)","149 (Serial Rx)","5 (I2C SCL)","6 (I2C SDA)","1 (DHT11)","2 (AM2301)","3 (SI7021)","4 (DS18x20)","7 (WS2812)","8 (IRsend)","51 (IRrecv)","105 (RFSend)","106 (RFrecv)","73 (SR04 Tri)","74 (SR04 Ech)","102 (HX711 SCK)"]} 00:00:33 RSL: stat/sonoff/RESULT = {"GPIOs4":["103 (HX711 DAT)","130 (HLWBL SEL)","131 (HLWBL SELi)","132 (HLWBL CF1)","133 (HLW8012 CF)","134 (BL0937 CF)","156 (ADE7953 IRQ)","145 (CSE7766 Tx)","146 (CSE7766 Rx)","135 (MCP39F5 Tx)","136 (MCP39F5 Rx)","137 (MCP39F5 Rst)","62 (PZEM0XX Tx)","63 (PZEM004 Rx)","98 (PZEM016 Rx)","99 (PZEM017 Rx)","71 (SerBr Tx)","72 (SerBr Rx)","60 (MHZ Tx)","61 (MHZ Rx)","64 (SAir Tx)","65 (SAir Rx)","101 (SDS0X1 Tx)","70 (SDS0X1 Rx)"]} 00:00:33 RSL: stat/sonoff/RESULT = {"GPIOs5":["69 (PMS5003)","104 (TX20)","107 (Tuya Tx)","108 (Tuya Rx)","143 (MY92x1 DI)","144 (MY92x1 DCKI)","140 (SM16716 CLK)","141 (SM16716 DAT)","142 (SM16716 PWR)","147 (ALux IrRcv)","159 (ALux IrSel)"]} 00:01:02 WIF: Hostname %s-%04d, SSId1 Pocos Guest, SSId2 00:01:04 APP: Restarting
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v60000608 ~ld
00:00:00 CFG: Loaded from flash at F7, Count 5 00:00:00 Project sonoff Sonoff Version 6.6.0(release-sonoff)-2_3_0 00:00:00 WIF: Connecting to AP1 Pocos Guest in mode 11N as sonoff-7888... 00:00:04 WIF: Connected 00:00:04 HTP: Web server active on sonoff-7888 with IP address 192.168.131.109 15:51:08 CMD: status0 15:51:08 RSL: stat/sonoff/STATUS = {"Status":{"Module":1,"FriendlyName":["Sonoff"],"Topic":"sonoff","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} 15:51:17 CMD: status 0 15:51:17 RSL: stat/sonoff/STATUS = {"Status":{"Module":1,"FriendlyName":["Sonoff"],"Topic":"sonoff","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} 15:51:17 RSL: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://thehackbox.org/tasmota/release/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:39","StartupUTC":"2019-07-29T14:50:38","Sleep":50,"CfgHolder":4617,"BootCount":2,"SaveCount":7,"SaveAddress":"F5000"}} 15:51:17 RSL: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"6.6.0(release-sonoff)","BuildDateTime":"2019-07-06T13:10:20","Boot":31,"Core":"2_30","SDK":"1.5.3(aec24ac9)"}} 15:51:17 RSL: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Pocos Guest",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","280500000100060000000000000000000000","00000000"]}} 15:51:17 RSL: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":503,"Free":500,"Heap":15,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144068","FlashMode":3,"Features":["00000809","0FDAE396","001783A0","22B617CD","01003BC0"]}} 15:51:17 RSL: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff-7888","IPAddress":"192.168.131.109","Gateway":"192.168.131.1","Subnetmask":"255.255.255.0","DNSServer":"10.0.1.71","Mac":"BC:DD:C2:23:1E:D0","Webserver":2,"WifiConfig":4}} 15:51:17 RSL: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_231ED0","MqttUser":"DVES_USER","MqttCount":0,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}} 15:51:17 RSL: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"Mon Jul 29 14:51:17 2019","Local":"Mon Jul 29 15:51:17 2019","StartDST":"Sun Mar 31 02:00:00 2019","EndDST":"Sun Oct 27 03:00:00 2019","Timezone":"+01:00","Sunrise":"05:19","Sunset":"20:34"}} 15:51:17 RSL: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"2019-07-29T15:51:17"}} 15:51:17 RSL: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"2019-07-29T15:51:17","Uptime":"0T00:00:39","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"ON","Wifi":{"AP":1,"SSId":"Pocos Guest","BSSId":"24:16:6D:7E:D2:01","Channel":1,"RSSI":74,"LinkCount":1,"Downtime":"0T00:00:04"}}} 15:51:24 CMD: Template 15:51:24 RSL: stat/sonoff/RESULT = {"NAME":"Generic","GPIO":[255,255,255,255,255,255,255,255,255,255,255,255,255],"FLAG":15,"BASE":18} 15:51:33 CMD: GPIOS 15:51:33 RSL: stat/sonoff/RESULT = {"GPIOs1":["0 (None)","18 (Button2)","91 (Button2n)","123 (Button2i)","127 (Button2in)","19 (Button3)","92 (Button3n)","124 (Button3i)","128 (Button3in)","20 (Button4)","93 (Button4n)","125 (Button4i)","129 (Button4in)","9 (Switch1)","82 (Switch1n)","10 (Switch2)","83 (Switch2n)","11 (Switch3)","84 (Switch3n)","12 (Switch4)","85 (Switch4n)","13 (Switch5)","86 (Switch5n)","14 (Switch6)","87 (Switch6n)","15 (Switch7)","88 (Switch7n)"]} 15:51:33 RSL: stat/sonoff/RESULT = {"GPIOs2":["16 (Switch8)","89 (Switch8n)","22 (Relay2)","30 (Relay2i)","23 (Relay3)","31 (Relay3i)","24 (Relay4)","32 (Relay4i)","25 (Relay5)","33 (Relay5i)","26 (Relay6)","34 (Relay6i)","27 (Relay7)","35 (Relay7i)","28 (Relay8)","36 (Relay8i)","53 (Led2)","57 (Led2i)","54 (Led3)","58 (Led3i)","55 (Led4)","59 (Led4i)","157 (LedLink)","158 (LedLinki)","37 (PWM1)","46 (PWM1i)","38 (PWM2)","47 (PWM2i)","39 (PWM3)","48 (PWM3i)"]} 15:51:33 RSL: stat/sonoff/RESULT = {"GPIOs3":["40 (PWM4)","49 (PWM4i)","41 (PWM5)","50 (PWM5i)","42 (Counter1)","94 (Counter1n)","43 (Counter2)","95 (Counter2n)","44 (Counter3)","96 (Counter3n)","45 (Counter4)","97 (Counter4n)","148 (Serial Tx)","149 (Serial Rx)","5 (I2C SCL)","6 (I2C SDA)","1 (DHT11)","2 (AM2301)","3 (SI7021)","4 (DS18x20)","7 (WS2812)","8 (IRsend)","51 (IRrecv)","105 (RFSend)","106 (RFrecv)","73 (SR04 Tri)","74 (SR04 Ech)","102 (HX711 SCK)"]} 15:51:33 RSL: stat/sonoff/RESULT = {"GPIOs4":["103 (HX711 DAT)","130 (HLWBL SEL)","131 (HLWBL SELi)","132 (HLWBL CF1)","133 (HLW8012 CF)","134 (BL0937 CF)","156 (ADE7953 IRQ)","145 (CSE7766 Tx)","146 (CSE7766 Rx)","135 (MCP39F5 Tx)","136 (MCP39F5 Rx)","137 (MCP39F5 Rst)","62 (PZEM0XX Tx)","63 (PZEM004 Rx)","98 (PZEM016 Rx)","99 (PZEM017 Rx)","71 (SerBr Tx)","72 (SerBr Rx)","60 (MHZ Tx)","61 (MHZ Rx)","64 (SAir Tx)","65 (SAir Rx)","101 (SDS0X1 Tx)","70 (SDS0X1 Rx)"]} 15:51:33 RSL: stat/sonoff/RESULT = {"GPIOs5":["69 (PMS5003)","104 (TX20)","107 (Tuya Tx)","108 (Tuya Rx)","143 (MY92x1 DI)","144 (MY92x1 DCKI)","140 (SM16716 CLK)","141 (SM16716 DAT)","142 (SM16716 PWR)","147 (ALux IrRcv)","159 (ALux IrSel)"]} 15:51:48 MOD: BlitzWolf SHP Module, ADC0 0 15:51:49 APP: Restarting
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v60000608 ~ld
00:00:00 CFG: Loaded from flash at F4, Count 8 00:00:00 Project sonoff Sonoff Version 6.6.0(release-sonoff)-2_3_0 00:00:00 WIF: Connecting to AP1 Pocos Guest in mode 11N as sonoff-7888... 00:00:04 WIF: Connected 00:00:04 HTP: Web server active on sonoff-7888 with IP address 192.168.131.109 15:52:02 CMD: status 0 15:52:02 RSL: stat/sonoff/STATUS = {"Status":{"Module":45,"FriendlyName":["Sonoff"],"Topic":"sonoff","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} 15:52:02 RSL: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://thehackbox.org/tasmota/release/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:12","StartupUTC":"2019-07-29T14:51:50","Sleep":50,"CfgHolder":4617,"BootCount":3,"SaveCount":9,"SaveAddress":"FB000"}} 15:52:02 RSL: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"6.6.0(release-sonoff)","BuildDateTime":"2019-07-06T13:10:20","Boot":31,"Core":"2_30","SDK":"1.5.3(aec24ac9)"}} 15:52:02 RSL: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Pocos Guest",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","280500000100060000000000000000000000","00000000"]}} 15:52:02 RSL: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":503,"Free":500,"Heap":15,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144068","FlashMode":3,"Features":["00000809","0FDAE396","001783A0","22B617CD","01003BC0"]}} 15:52:02 RSL: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff-7888","IPAddress":"192.168.131.109","Gateway":"192.168.131.1","Subnetmask":"255.255.255.0","DNSServer":"10.0.1.71","Mac":"BC:DD:C2:23:1E:D0","Webserver":2,"WifiConfig":4}} 15:52:02 RSL: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_231ED0","MqttUser":"DVES_USER","MqttCount":0,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}} 15:52:02 RSL: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"Mon Jul 29 14:52:02 2019","Local":"Mon Jul 29 15:52:02 2019","StartDST":"Sun Mar 31 02:00:00 2019","EndDST":"Sun Oct 27 03:00:00 2019","Timezone":"+01:00","Sunrise":"05:19","Sunset":"20:34"}} 15:52:02 RSL: stat/sonoff/STATUS9 = {"StatusPTH":{"PowerDelta":0,"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}} 15:52:02 RSL: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"2019-07-29T15:52:02","ENERGY":{"TotalStartTime":"2019-07-29T15:49:33","Total":0.000,"Yesterday":0.000,"Today":0.000,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":1.00,"Voltage":1,"Current":0.283}}} 15:52:02 RSL: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"2019-07-29T15:52:02","Uptime":"0T00:00:12","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"ON","Wifi":{"AP":1,"SSId":"Pocos Guest","BSSId":"24:16:6D:7E:D2:01","Channel":1,"RSSI":72,"LinkCount":1,"Downtime":"0T00:00:04"}}} 15:52:05 CMD: Template 15:52:05 RSL: stat/sonoff/RESULT = {"NAME":"Generic","GPIO":[255,255,255,255,255,255,255,255,255,255,255,255,255],"FLAG":15,"BASE":18} 15:52:09 CMD: GPIOS 15:52:09 RSL: stat/sonoff/RESULT = {"GPIOs1":["0 (None)","18 (Button2)","91 (Button2n)","123 (Button2i)","127 (Button2in)","19 (Button3)","92 (Button3n)","124 (Button3i)","128 (Button3in)","20 (Button4)","93 (Button4n)","125 (Button4i)","129 (Button4in)","9 (Switch1)","82 (Switch1n)","10 (Switch2)","83 (Switch2n)","11 (Switch3)","84 (Switch3n)","12 (Switch4)","85 (Switch4n)","13 (Switch5)","86 (Switch5n)","14 (Switch6)","87 (Switch6n)","15 (Switch7)","88 (Switch7n)"]} 15:52:09 RSL: stat/sonoff/RESULT = {"GPIOs2":["16 (Switch8)","89 (Switch8n)","22 (Relay2)","30 (Relay2i)","23 (Relay3)","31 (Relay3i)","24 (Relay4)","32 (Relay4i)","25 (Relay5)","33 (Relay5i)","26 (Relay6)","34 (Relay6i)","27 (Relay7)","35 (Relay7i)","28 (Relay8)","36 (Relay8i)","53 (Led2)","57 (Led2i)","54 (Led3)","58 (Led3i)","55 (Led4)","59 (Led4i)","157 (LedLink)","37 (PWM1)","46 (PWM1i)","38 (PWM2)","47 (PWM2i)","39 (PWM3)","48 (PWM3i)","40 (PWM4)"]} 15:52:09 RSL: stat/sonoff/RESULT = {"GPIOs3":["49 (PWM4i)","41 (PWM5)","50 (PWM5i)","42 (Counter1)","94 (Counter1n)","43 (Counter2)","95 (Counter2n)","44 (Counter3)","96 (Counter3n)","45 (Counter4)","97 (Counter4n)","148 (Serial Tx)","149 (Serial Rx)","5 (I2C SCL)","6 (I2C SDA)","1 (DHT11)","2 (AM2301)","3 (SI7021)","4 (DS18x20)","7 (WS2812)","8 (IRsend)","51 (IRrecv)","105 (RFSend)","106 (RFrecv)","73 (SR04 Tri)","74 (SR04 Ech)","102 (HX711 SCK)","103 (HX711 DAT)"]} 15:52:09 RSL: stat/sonoff/RESULT = {"GPIOs4":["130 (HLWBL SEL)","133 (HLW8012 CF)","156 (ADE7953 IRQ)","145 (CSE7766 Tx)","146 (CSE7766 Rx)","135 (MCP39F5 Tx)","136 (MCP39F5 Rx)","137 (MCP39F5 Rst)","62 (PZEM0XX Tx)","63 (PZEM004 Rx)","98 (PZEM016 Rx)","99 (PZEM017 Rx)","71 (SerBr Tx)","72 (SerBr Rx)","60 (MHZ Tx)","61 (MHZ Rx)","64 (SAir Tx)","65 (SAir Rx)","101 (SDS0X1 Tx)","70 (SDS0X1 Rx)","69 (PMS5003)","104 (TX20)","107 (Tuya Tx)","108 (Tuya Rx)","143 (MY92x1 DI)"]} 15:52:09 RSL: stat/sonoff/RESULT = {"GPIOs5":["144 (MY92x1 DCKI)","140 (SM16716 CLK)","141 (SM16716 DAT)","142 (SM16716 PWR)","147 (ALux IrRcv)","159 (ALux IrSel)"]}