-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with templates on power sockets #6713
Comments
Did you upgrade a working device or is this a new device that you flashed with Tasmota and have specified a template that worked on another similar device you set up in the past? |
As you said that you are using all default settings from the codebase, have you tried the precompiled bins (http://thehackbox.org/tasmota/sonoff.bin) Remember that you can not use 4MB firmware on GOSUND. If you upload a 4MB to a 1MB device, then you will need to erase all flash using esptool.py as explained in the wiki and flash again with esptool.py |
No I upgraded both working devices. The templates have worked in the past without any problems. |
May be you already know, but I will clarify just for anyone else reading this. The minimal firmware is only for 1MB devices. Using it on firmwares with other memory maps like 4MB (or with SPIFFS) will stuck the device (as it has 1mb memory map) and the only way to recover your device is by erasing and flashing by serial with esptool.py as explained in the wiki. Now, coming back to your issue. If you can't reach the device, I'm sorry but you will need to erase and flash by serial. The core 2.5.2 has a bug in the memory manager. That is why is not longer supported in Tasmota. The cores 2.4.2 and 2.3.0 have security issues as explained in the comments in platformio.ini file. That is why the core used in the precompiled bins (http://thehackbox.org/tasmota/) is only arduino core pre2.6.0 that is faster, more reliable than the previous cores and don't have any known bug or security issues. If you want to know more about that, please see issue #6666 |
Ok I understand. Yes I have to flash the device by serial again. I know that there are some problem's, when you change the core... The running core bevor I tried the precompiled image was STAGE/2.2.2-dev(38a443e).( That one is standard activated at the git) The only strange thing is that all other devices keep there templates when I had updated it. For exampel the 1 Channel Modul with this template: Just the power sockets won´t work with the templates . |
If flash was not erased completely before flashing Tasmota all kind of strange issues can occur. |
Yes I understand that erasing is most of the time the best decision. But I don´t want do dismount a device to flash it through serial interface! And not every device is easy to dismount. Look at the link in my first post. (The RGB socket is glued) I really wanted to avoid having to open the device. This socket has no screws. I hope now I am able to open it without to destroy it!! |
@nightfly0815 There is ALWAYS the risk to brick the device when using Tuya Convert. |
Just went over an upgrade from 6.5.0.15 to 6.6.0.20 with your template Blitz-test active without any problem:
So expect it to work just fine. |
Putting this issue ON HOLD until the user has time to perform the test. Thanks. |
Hey, I could fix the two sockets! Thanks for helping. |
BUG DESCRIPTION
After the newest update the power Sockets doesn,t work anymore withe the templates.
I have two differnt sockets and the problem is the same at both of them.
One socket is this one : #2223
The other one is this: https://github.com/arendst/Sonoff-Tasmota/wiki/RGB-Smart-Plug-16A
It´s not possible to active the template in the dropdown menu.
When I set a template, the socket reboots and set the template back to sonoff basic modul.
My self compiled image is standard! I just change this line:
env_default = sonoff-minimal, sonoff-DE, sonoff-DE-4MB
All other settings are standard from the git!
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
Backlog Template; Module; GPIO
:Backlog Rule1; Rule2; Rule3
:Status 0
:19:46:07 MQT: stat/Geschirrspüler/STATUS = {"Status":{"Module":1,"FriendlyName":["Geschirrspüler"],"Topic":"Geschirrspüler","ButtonTopic":"0","Power":0,"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}}
19:46:07 MQT: stat/Geschirrspüler/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://192.168.0.30:9999/data/firmwares/sonoff.bin","RestartReason":"Exception","Uptime":"0T00:01:05","StartupUTC":"2019-10-21T17:45:02","Sleep":50,"CfgHolder":4617,"BootCount":52,"SaveCount":299,"SaveAddress":"F9000"}}
19:46:07 MQT: stat/Geschirrspüler/STATUS2 = {"StatusFWR":{"Version":"6.6.0.20(sonoff)","BuildDateTime":"2019.10.21 19:17:26","Boot":4,"Core":"STAGE","SDK":"2.2.2-dev(38a443e)"}}
19:46:07 MQT: stat/Geschirrspüler/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Openwrt_sonoff",""],"TelePeriod":300,"Resolution":"55C180C0","SetOption":["00008009","2805C8000100060000005A00000000170700","00100000"]}}
19:46:07 MQT: stat/Geschirrspüler/STATUS4 = {"StatusMEM":{"ProgramSize":565,"Free":436,"Heap":22,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144068","FlashMode":3,"Features":["00000407","8FDAE397","043683A0","22B617CD","01001BC0","00007081"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26","Sensors":"1,2,3,4,5,6,7,8,9,10,14,15,17,18,20,22,26,34"}}
19:46:07 MQT: stat/Geschirrspüler/STATUS5 = {"StatusNET":{"Hostname":"Geschirrspüler","IPAddress":"192.168.0.106","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.0.1","Mac":"EC:FA:BC:2E:04:27","Webserver":2,"WifiConfig":4}}
19:46:07 MQT: stat/Geschirrspüler/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.145","MqttPort":1883,"MqttClientMask":"Geschirrspüler","MqttClient":"Geschirrspüler","MqttUser":"sonoff","MqttCount":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}}
19:46:07 MQT: stat/Geschirrspüler/STATUS7 = {"StatusTIM":{"UTC":"Mon Oct 21 17:46:07 2019","Local":"Mon Oct 21 19:46:07 2019","StartDST":"Sun Mar 31 02:00:00 2019","EndDST":"Sun Oct 27 03:00:00 2019","Timezone":99,"Sunrise":"08:19","Sunset":"18:50"}}
19:46:07 MQT: stat/Geschirrspüler/STATUS10 = {"StatusSNS":{"Time":"2019-10-21T19:46:07"}}
19:46:07 MQT: stat/Geschirrspüler/STATUS11 = {"StatusSTS":{"Time":"2019-10-21T19:46:07","Uptime":"0T00:01:0
Console output here:
The text was updated successfully, but these errors were encountered: