Skip to content
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

Sonoff L1 problem from 9.3.1 #12008

Closed
12 of 14 tasks
djpa3k opened this issue May 3, 2021 · 21 comments
Closed
12 of 14 tasks

Sonoff L1 problem from 9.3.1 #12008

djpa3k opened this issue May 3, 2021 · 21 comments
Labels
bug Type - Confirmated Bug fixed Result - The work on the issue has ended

Comments

@djpa3k
Copy link

djpa3k commented May 3, 2021

PROBLEM DESCRIPTION

Sonoff L1 does not listen to any commands except on/off. The device responds to sound when turned on and colors can be set with the remote control.
Using RC (change color) can be seen in the console but not on color pallete .
Same with 9.4.0 and 9.3.1
With 9.2.0 is everything OK.
Another older L1 with 9.3.1 works perfectly

REQUESTED INFORMATION

  • Read the Contributing Guide and Policy and the Code of Conduct
  • Searched the problem in issues
  • Searched the problem in discussions
  • Searched the problem in the docs
  • Searched the problem in the chat
  • Device used (e.g., Sonoff Basic): Sonoff L1
  • Tasmota binary firmware version number used: 9.4.0
    • Pre-compiled
    • Self-compiled
  • Flashing tools used: Tasmotizer
  • Provide the output of command: Backlog Template; Module; GPIO 255:
  Configuration output here:
21:19:37.735 CMD: Backlog Template
21:19:37.765 MQT: stat/led_spaln1_2E8CDC/RESULT = {"NAME":"Generic","GPIO":[1,3200,0,3232,1,0,0,0,0,320,1,0,0,0],"FLAG":0,"BASE":70}
21:19:58.061 CMD: Module
21:19:58.068 MQT: stat/led_spaln1_2E8CDC/RESULT = {"Module":{"70":"Sonoff L1"}}
21:20:13.480 CMD: GPIO 255
21:20:13.491 MQT: stat/led_spaln1_2E8CDC/RESULT = {"GPIO0":{"0":"None"},"GPIO1":{"3200":"Serial Tx"},"GPIO2":{"0":"None"},"GPIO3":{"3232":"Serial Rx"},"GPIO4":{"0":"None"},"GPIO5":{"0":"None"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO12":{"0":"None"},"GPIO13":{"320":"Led_i1"},"GPIO14":{"0":"None"},"GPIO15":{"0":"None"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"}}
  • If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
  Rules output here:

  • Provide the output of this command: Status 0:
  STATUS 0 output here:
21:05:27.121 CMD: status 0
21:05:27.124 SRC: WebConsole from 192.168.1.108
21:05:27.127 CMD: Group 0, Index 1, Command "STATUS", Data "0"
21:05:27.134 MQT: stat/led_spaln1_2E8CDC/STATUS = {"Status":{"Module":70,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"led_spaln1_2E8CDC","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,"InfoRetain":0,"StateRetain":0}}
21:05:27.143 MQT: stat/led_spaln1_2E8CDC/STATUS1 = {"StatusPRM":{"Baudrate":19200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin.gz","RestartReason":"Software/System restart","Uptime":"0T00:05:12","StartupUTC":"2021-05-03T20:00:15","Sleep":50,"CfgHolder":4617,"BootCount":4,"BCResetTime":"2021-05-03T20:57:21","SaveCount":28,"SaveAddress":"F5000"}}
21:05:27.153 MQT: stat/led_spaln1_2E8CDC/STATUS2 = {"StatusFWR":{"Version":"9.4.0(tasmota)","BuildDateTime":"2021-04-23T10:07:22","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8285","CR":"352/699"}}
21:05:27.160 MQT: stat/led_spaln1_2E8CDC/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":4,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["pa3k",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C8000100060000005A0A000000000000","00000080","00006000","00000000"]}}
21:05:27.171 MQT: stat/led_spaln1_2E8CDC/STATUS4 = {"StatusMEM":{"ProgramSize":599,"Free":404,"Heap":24,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144051","FlashFrequency":40,"FlashMode":3,"Features":["00000809","8FDAC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","00000020"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45","Sensors":"1,2,3,4,5,6"}}
21:05:27.182 MQT: stat/led_spaln1_2E8CDC/STATUS5 = {"StatusNET":{"Hostname":"led_spaln1_2E8CDC-3292","IPAddress":"192.168.1.117","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer":"91.221.110.18","Mac":"C4:DD:57:2E:8C:DC","Webserver":2,"WifiConfig":4,"WifiPower":17.0}}
21:05:27.189 MQT: stat/led_spaln1_2E8CDC/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.111","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_2E8CDC","MqttUser":"DVES_USER","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
21:05:27.200 MQT: stat/led_spaln1_2E8CDC/STATUS7 = {"StatusTIM":{"UTC":"2021-05-03T20:05:27","Local":"2021-05-03T21:05:27","StartDST":"2021-03-28T02:00:00","EndDST":"2021-10-31T03:00:00","Timezone":"+01:00","Sunrise":"05:25","Sunset":"20:07"}}
21:05:27.209 MQT: stat/led_spaln1_2E8CDC/STATUS10 = {"StatusSNS":{"Time":"2021-05-03T21:05:27"}}
21:05:27.219 MQT: stat/led_spaln1_2E8CDC/STATUS11 = {"StatusSTS":{"Time":"2021-05-03T21:05:27","Uptime":"0T00:05:12","UptimeSec":312,"Heap":24,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":100,"Color":"002AFF","HSBColor":"230,100,100","Channel":[0,16,100],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"pa3k","BSSId":"60:32:B1:1F:3D:3A","Channel":11,"RSSI":100,"Signal":-41,"LinkCount":1,"Downtime":"0T00:00:05"}}}
21:05:33.178 CMD: weblog 2
  • Set weblog to 4 and then, when you experience your issue, provide the output of the Console log:
  Console output here:
21:01:12.608 SRC: WebGui from 192.168.1.108
21:01:12.611 CMD: Group 0, Index 1, Command "HSBCOLOR", Data "114"
21:01:12.619 MQT: stat/led_spaln1_2E8CDC/RESULT = {"POWER":"ON","Dimmer":100,"Color":"19FF00","HSBColor":"114,100,100","Channel":[10,100,0]}
21:01:12.644 SL1: Send AT+UPDATE="sequence":"1620075672320","switch":"on","light_type":1,"colorR":2,"colorG":255,"colorB":0,"bright":100,"mode":1,"sensitive":5,"speed":50
21:01:12.770 SL1: Rcvd 
21:01:12.772 SL1: Send AT+SEND=ok
21:01:13.584 CFG: Saved to flash at F6, Count 27, Bytes 4096
21:01:14.041 HTP: Console

TO REPRODUCE

Steps to reproduce the behavior:

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

ADDITIONAL CONTEXT

Add any other context about the problem here.

(Please, remember to close the issue when the problem has been addressed)

@ascillato2 ascillato2 added the troubleshooting Type - Troubleshooting label May 3, 2021
@arendst
Copy link
Owner

arendst commented May 4, 2021

I cannot reproduce as mine works fine.

Execute command hsbcolor 114 from console:

11:47:13.838 CMD: hsbcolor 114
11:47:13.841 SRC: WebConsole from 192.168.2.1
11:47:13.844 CMD: Group 0, Index 1, Command "HSBCOLOR", Data "114"
11:47:13.851 MQT: stat/l1/RESULT = {"POWER":"ON","Dimmer":100,"Color":"19FF00","HSBColor":"114,100,100","Channel":[10,100,0]}
11:47:13.912 SL1: Send AT+UPDATE="sequence":"1620128833280","switch":"on","light_type":1,"colorR":25,"colorG":255,"colorB":0,"bright":100,"mode":1,"sensitive":5,"speed":50
11:47:14.014 SL1: Rcvd AT+RESULT="sequence":"1620128833280"
11:47:14.016 SL1: Send AT+SEND=ok
11:47:14.610 CFG: Saved to flash at FB, Count 1579, Bytes 4096

Press button on RC:

11:49:12.957 SL1: Rcvd AT+UPDATE="switch":"on","light_type":1,"colorR":255,"colorG":63,"colorB":0,"bright":100,"mode":1,"speed":50,"sensitive":5
11:49:12.960 SRC: Remote
11:49:12.963 CMD: Group 0, Index 2, Command "COLOR", Data "ff3f00"
11:49:12.971 MQT: stat/l1/RESULT = {"POWER":"ON","Dimmer":100,"Color":"FF3F00","HSBColor":"15,100,100","Channel":[100,25,0]}
11:49:12.973 SL1: Send AT+SEND=ok
11:49:13.615 CFG: Saved to flash at FA, Count 1580, Bytes 4096

Notice the received data from the L1 represented by SL1: Rcvd ....

Do you receive anything from the L1? In you log it appears it dos not receive anything.

@djpa3k
Copy link
Author

djpa3k commented May 4, 2021

SL1: Rcvd is empty (9.4.0, 9.3.1, 9.2.0) but 9.2.0 works OK with empty SL1: Rcvd

Do you receive anything from the L1? In you log it appears it dos not receive anything.

@mefisto22
Copy link

The problem is with me too.

@djpa3k
Copy link
Author

djpa3k commented May 8, 2021

I try compile 9.4.0 with xlgt_05_sonoff_l1.ino before ac8d2698 - color change works OK but SL1: Rcvd still empty.

I found another problem: speed and speed2 command does not woks. Same with another piece of L1 where is not problem with color change after 9.3.1

This output from another piece of L1 with not modified 9.4.0 but speed2/speed problem (transitions):

11:30:37.165 CMD: power 0
11:30:37.168 SRC: WebConsole from 192.168.1.108
11:30:37.171 CMD: Group 0, Index 1, Command "POWER", Data "0"
11:30:37.177 MQT: stat/led_tv_E7DDB0/RESULT = {"POWER":"OFF"}
11:30:37.183 MQT: stat/led_tv_E7DDB0/POWER = OFF
11:30:41.033 WIF: Checking connection...
11:30:41.893 CMD: speed2 10
11:30:41.896 SRC: WebConsole from 192.168.1.108
11:30:41.899 CMD: Group 0, Index 2, Command "SPEED", Data "10"
11:30:41.906 MQT: stat/led_tv_E7DDB0/RESULT = {"Speed2":10}
11:30:44.447 CMD: power 1
11:30:44.450 SRC: WebConsole from 192.168.1.108
11:30:44.453 CMD: Group 0, Index 1, Command "POWER", Data "1"
11:30:44.458 SL1: Send AT+UPDATE="sequence":"1620473444203","switch":"on","light_type":1,"colorR":0,"colorG":0,"colorB":255,"bright":100,"mode":1,"sensitive":5,"speed":50
11:30:44.542 MQT: stat/led_tv_E7DDB0/RESULT = {"POWER":"ON"}
11:30:44.547 MQT: stat/led_tv_E7DDB0/POWER = ON
11:30:44.606 SL1: Rcvd AT+RESULT="sequence":"1620473444203"
11:30:44.609 SL1: Send AT+SEND=ok

@DDock
Copy link

DDock commented May 22, 2021

I was having the same thing after just getting into the Tasmota ecosystem. I downgraded from 9.4.0 to 9.2.0 and it is working properly. I was having issues where I could only control on / off but not color. I didn't see this mentioned but the L1 Lite was always stuck in MUSIC mode, where if you tap the box it would constantly change color. Not sure if the issue with the firmware is due to not honoring music mode toggle. I did attempt to send the L1MusicSync command to turn the mode on / off but neither fixed the issue.

@martinsefcik
Copy link

I can confirm there are multiple issues introduced in newer versions (9.4.0). 9.2.0 is working fine. I guess they were introduced by new L1MusicSync command.
List of issues:

  • after plugging power adapter it always starts in music sync mode. Even in cases it was in power off state before unplugging power adapter
  • as it was mentioned it is not possible to control brightness and color from web UI
  • brightness buttons on remote control does not work correctly. I can change brightness only once and after first press brightness is changed but automatically music mode is enabled and then second press of brightness button does not work I guess due to enabled music mode, so I have to change color on remote control and then I again can once press brightness button and it is working but only after first press so I have to again press any color to disable music mode and again I can use brightness button and so on ...

@github-actions
Copy link

This issue has been automatically marked as stale because it hasn't any activity in last few weeks. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Action - Issue left behind - Used by the BOT to call for attention label Jun 19, 2021
@DDock
Copy link

DDock commented Jun 19, 2021

Has this issue been fixed. Don't want this to become "stale" if it isn't fixed yet. Don't have any sort of notifications here that is is being worked on or fixed.

@github-actions github-actions bot removed the stale Action - Issue left behind - Used by the BOT to call for attention label Jun 20, 2021
@khacduy1978
Copy link

My Sonoff L1 Lite is on 9.5.0 firmware and the above issues are the same.

@mhamzahkhan
Copy link

Also having this issue with my Sonoff L1 on 9.5.0 :(

@github-actions
Copy link

This issue has been automatically marked as stale because it hasn't any activity in last few weeks. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Action - Issue left behind - Used by the BOT to call for attention label Jul 22, 2021
@martinsefcik
Copy link

How we can help to resolve this issue ?

@github-actions github-actions bot removed the stale Action - Issue left behind - Used by the BOT to call for attention label Jul 22, 2021
@mdiazgoncalves
Copy link

I can confirm there are multiple issues introduced in newer versions (9.4.0). 9.2.0 is working fine. I guess they were introduced by new L1MusicSync command.
List of issues:

* after plugging power adapter it always starts in music sync mode. Even in cases it was in power off state before unplugging power adapter

* as it was mentioned it is not possible to control brightness and color from web UI

* brightness buttons on remote control does not work correctly. I can change brightness only once and after first press brightness is changed but automatically music mode is enabled and then second press of brightness button does not work I guess due to enabled music mode, so I have to change color on remote control and then I again can once press brightness button and it is working but only after first press so I have to again press any color to disable music mode and again I can use brightness button and so on ...

I have the same issues with Sonoff L1. Can't we disable L1MusicSync command?

@arendst
Copy link
Owner

arendst commented Aug 3, 2021

Try latest development version available after T + 2 hours.

@martinsefcik
Copy link

martinsefcik commented Aug 4, 2021

I tested it with 9.5.0.5 | 20210804 18:17 and I guess all described issues are still present.

@khacduy1978
Copy link

I tested it with 9.5.0.5 | 20210804 18:17 and I guess all described issues are still present.

I can confirm these issues do not resolve after testing the latest development version.

@mediarath
Copy link

Same with the 9.5.0.7
3x of „new“ Sonoff SpiderZ did not work.
A older one works in the newer versions above 9.2 properly.

@arendst
Copy link
Owner

arendst commented Aug 23, 2021

Now we're getting somewhere.

I'll revisit the changes made between the two versions and try to come up with a solution.

@arendst
Copy link
Owner

arendst commented Aug 25, 2021

Fixed in latest dev branch.

See discussion here #12930 (comment)

@arendst arendst added bug Type - Confirmated Bug fixed Result - The work on the issue has ended and removed troubleshooting Type - Troubleshooting labels Aug 25, 2021
@martinsefcik
Copy link

I can confirm that everything works fine with latest dev version.

@arendst Thank you!

@martinsefcik
Copy link

martinsefcik commented Aug 25, 2021

Maybe one more thing ... shouldn't be music sync mode be turned off automatically if I press for example any color on remote control ? Or do I have to explicitly always turn it off by L1MusicSync 0 command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type - Confirmated Bug fixed Result - The work on the issue has ended
Projects
None yet
Development

No branches or pull requests

10 participants