Skip to content

Wemos D1 Lite rebooting when Tasmota set as Generic Module #2716

@RJC078

Description

@RJC078

Hi,

Apologies in advance, im new at this!!

I have programmed a Wemos D1 Lite with Tasmota using both Arduino IDE and PlatformIO and am having problems! After programming the Wemos and it is configured as a Sonoff module, all seems to work fine, but after I change the module type to Generic, the Wemos continually reboots.

The output of "Status 0" is

00:00:13 RSL: stat/sonoff/STATUS = {"Status":{"Module":18,"FriendlyName":["Sonoff"],"Topic":"sonoff","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":0}}
00:00:13 RSL: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"Garage1","OtaUrl":"http://sonoff.maddox.co.uk/tasmota/sonoff.ino.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:12","StartupUTC":"","Sleep":0,"BootCount":141,"SaveCount":145,"SaveAddress":"FB000"}}
00:00:13 RSL: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"5.13.1","BuildDateTime":"2018-05-13T19:51:34","Boot":31,"Core":"2_4_1","SDK":"2.2.1(cfd48f3)"}}
00:00:13 RSL: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Telstra737F",""],"TelePeriod":300,"SetOption":["00008009","55818000"]}}
00:00:13 RSL: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":533,"Free":468,"Heap":21,"ProgramFlashSize":1024,"FlashSize":4096,"FlashMode":3}}
00:00:13 RSL: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff-0697","IPAddress":"192.168.0.67","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"61.9.194.49","Mac":"DC:4F:22:1D:A2:B9","Webserver":2,"WifiConfig":3}}
00:00:13 RSL: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.46","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_1DA2B9","MqttUser":"DVES_USER","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}}
00:00:13 RSL: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"Thu Jan 01 00:00:13 1970","Local":"Thu Jan 01 00:00:13 1970","StartDST":"Thu Jan 01 00:00:00 1970","EndDST":"Thu Jan 01 00:00:00 1970","Timezone":1,"Sunrise":"07:43","Sunset":"16:03"}}
00:00:13 RSL: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"1970-01-01T00:00:13"}}
00:00:13 RSL: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"1970-01-01T00:00:13","Uptime":"0T00:00:12","Vcc":3.032,"Wifi":{"AP":1,"SSId":"Telstra737F","RSSI":80,"APMac":"10:DA:43:4F:0C:37"}}}_

The Log shows the following

_```
00:00:00 Project sonoff Sonoff (Topic sonoff, Fallback DVES_1DA2B9, GroupTopic Garage1) Version 5.13.1-2_4_1
00:00:00 WIF: Connecting to AP1 Telstra737F in mode 11N as sonoff-0697...
00:00:08 WIF: Connected
00:00:08 DNS: Initialized
00:00:08 HTP: Web server active on sonoff-0697.local with IP address 192.168.0.67
00:00:09 MQT: Attempting connection...
00:00:09 MQT: Connected
00:00:09 MQT: tele/s
00:00:00 Project sonoff Sonoff (Topic sonoff, Fallback DVES_1DA2B9, GroupTopic Garage1) Version 5.13.1-2_4_1
00:00:00 WIF: Connecting to AP1 Telstra737F in mode 11N as sonoff-0697...
00:00:08 WIF: Connected
00:00:08 DNS: Initialized
00:00:08 HTP: Web server active on sonoff-0697.local with IP address 192.168.0.67
00:00:09 MQT: Attempting connection...
00:00:09 MQT: Connected
00:00:09 MQT: tele/sonoff/LWT = Online (retained)
00:00:09 MQT: cmnd/sonoff/POWER =
00:00:09 MQT: tele/sonoff/INFO1 = {"Module":"Generic","Version":"5.13.1","FallbackTopic":"DVES_1DA2B9","GroupTopic":"Garage1"}
00:00:09 MQT: tele/sonoff/INFO2 = {"WebServerMode":"Admin","Hostname":"sonoff-0697","IPAddress":"192.168.0.67"}
00:00:09 MQT: tele/sonoff/INFO3 = {"RestartReason":"Software/System restart"}
00:00:09 MQT: stat/sonoff/RESULT = {"Command":"Unknown"}
00:00:09 MQT: stat/sonoff/RESULT = {"GPIO0":"0 (None)","GPIO1":"0 (None)","GPIO2":"0 (None)","GPIO3":"0 (None)","GPIO4":"0 (None)","GPIO5":"1 (DHT11)","GPIO12":"0 (None)","GPIO13":"0 (None)","GPIO14":"0 (None)","GPIO15":"0 (None)","GPIO16":"0 (None)"}
11:25:27 APP: Restarting

ets Jan 8 2013,rst cause:2, boot mode:(3,0)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v614f7c32
~ld

I have tried erasing all the memory and re-programming and the fault still occurs. If i change the Module back to the Sonoff module it settles down and maintains a connection to the router.

Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions