-
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
Tasmota Platform espressif32 2024.09.30 - Arduino Core 3.1.0.240926 break Ethernet support #22234
Comments
Tested with an https://templates.blakadder.com/wireless_tag_WT32-ETH01.html module works via LAN (phy LAN8720) 18:39:35.555 CMD: Status 0
18:39:35.559 MQT: stat/sonoff-DA0F94/STATUS = {"Status":{"Module":0,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"sonoff-DA0F94","ButtonTopic":"0","Power":"0","PowerLock":"0","PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
18:39:35.592 MQT: stat/sonoff-DA0F94/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"sonoffs","OtaUrl":"","RestartReason":"Software reset CPU","Uptime":"0T00:03:47","StartupUTC":"2024-10-04T16:35:48","Sleep":10,"CfgHolder":4617,"BootCount":40,"BCResetTime":"2023-09-01T14:52:09","SaveCount":76}}
18:39:35.626 MQT: stat/sonoff-DA0F94/STATUS2 = {"StatusFWR":{"Version":"14.2.0.6(UNIVERSAL)","BuildDateTime":"2024-10-04T18:32:49","Core":"3_1_0","SDK":"5.3.1.240924","CpuFrequency":240,"Hardware":"ESP32-D0WD v1.0","CR":"357/699"}}
18:39:35.640 MQT: stat/sonoff-DA0F94/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Jason_Home_WLAN","Jason_Home_WLAN"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00208009","2805C80001000600003C5A0A192800000000","000080C0","08006000","00006000","00000000"]}}
18:39:35.679 MQT: stat/sonoff-DA0F94/STATUS4 = {"StatusMEM":{"ProgramSize":1396,"Free":1483,"Heap":139,"StackLowMark":3,"PsrMax":0,"PsrFree":0,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"16405E","FlashFrequency":40,"FlashMode":"QIO","Features":["0809","8F0AC7CF","00010001","006404C7","001022C0","00000001","40004080","00200000","5400002C","00000480","00000000"],"Drivers":"1,2,!3,!4,!5,9,10,!17,!20,!24,26,38,50,52,62,!68,82","Sensors":"1,2,3,5,6,9,15,18,19,35,40,102,127","I2CDriver":"10,17"}}
18:39:35.724 MQT: stat/sonoff-DA0F94/STATUS5 = {"StatusNET":{"Hostname":"sonoff-DA0F94-3988","IPAddress":"192.168.2.163","Gateway":"192.168.2.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.2.1","DNSServer2":"0.0.0.0","Mac":"C4:DE:E2:DA:0F:94","IP6Global":"fd4d:d9a8:7683:0:c6de:e2ff:feda:f94","IP6Local":"fe80::c6de:e2ff:feda:f94%st3","Ethernet":{"Hostname":"sonoff-DA0F94-3988-eth","IPAddress":"192.168.2.161","Gateway":"192.168.2.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.2.1","DNSServer2":"0.0.0.0","Mac":"C4:DE:E2:DA:0F:97","IP6Global":"fd4d:d9a8:7683:0:c6de:e2ff:feda:f97","IP6Local":"fe80::c6de:e2ff:feda:f97%en1"},"Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":16.0}}
18:39:35.778 MQT: stat/sonoff-DA0F94/STATUS6 = {"StatusMQT":{"MqttHost":"mqtt.lan","MqttPort":1883,"MqttClientMask":"sonoff-%06X","MqttClient":"sonoff-DA0F94","MqttUser":"openhabian","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
18:39:35.802 MQT: stat/sonoff-DA0F94/STATUS7 = {"StatusTIM":{"UTC":"2024-10-04T16:39:35Z","Local":"2024-10-04T18:39:35","StartDST":"2024-03-31T02:00:00","EndDST":"2024-10-27T03:00:00","Timezone":99,"Sunrise":"07:17","Sunset":"18:44"}}
18:39:35.827 MQT: stat/sonoff-DA0F94/STATUS10 = {"StatusSNS":{"Time":"2024-10-04T18:39:35"}} |
Tested your firmware from 19:22:07.309 CMD: status 0
19:22:07.313 MQT: stat/sonoff-DA0F94/STATUS = {"Status":{"Module":0,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"sonoff-DA0F94","ButtonTopic":"0","Power":"0","PowerLock":"0","PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
19:22:07.348 MQT: stat/sonoff-DA0F94/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"sonoffs","OtaUrl":"","RestartReason":"Software reset CPU","Uptime":"0T00:03:48","StartupUTC":"2024-10-04T17:18:19","Sleep":10,"CfgHolder":4617,"BootCount":41,"BCResetTime":"2023-09-01T14:52:09","SaveCount":80}}
19:22:07.383 MQT: stat/sonoff-DA0F94/STATUS2 = {"StatusFWR":{"Version":"14.2.0.5(biopdu)","BuildDateTime":"2024-10-03T18:47:57","Core":"3_0_5","SDK":"5.1.4.240912","CpuFrequency":160,"Hardware":"ESP32-D0WD v1.0","CR":"367/699"}}
19:22:07.397 MQT: stat/sonoff-DA0F94/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Jason_Home_WLAN","Jason_Home_WLAN"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00208009","2805C80001000600003C5A0A192800000000","000080C0","08006000","00006000","00000000"]}}
19:22:07.446 MQT: stat/sonoff-DA0F94/STATUS4 = {"StatusMEM":{"ProgramSize":2616,"Free":263,"Heap":112,"StackLowMark":19,"PsrMax":0,"PsrFree":0,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"16405E","FlashFrequency":40,"FlashMode":"DIO","Features":["0809","9FBAD7DF","001482A1","2143B7CF","054013F5","E0320981","400040F0","00200000","5480482D","81030091","00000004"],"Drivers":"1,2,!3,!4,!5,7,!8,9,10,11,12,13,!16,!20,!21,!24,26,!27,29,!34,!35,38,50,52,54,!59,62,!63,!67,!68,82,!121","Sensors":"1,2,3,5,6,7,8,9,10,11,12,13,14,19,21,26,29,31,42,45,55,58,59,66,67,85,92,98,109,127","I2CDriver":"3,5,7,8,9,10,11,12,13,14,15,17,18,20,22,24,29,31,36,41,42,44,46,47,48,58,62,65,69,77,82"}}
19:22:07.504 MQT: stat/sonoff-DA0F94/STATUS5 = {"StatusNET":{"Hostname":"sonoff-DA0F94-3988","IPAddress":"192.168.2.163","Gateway":"192.168.2.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.2.1","DNSServer2":"0.0.0.0","Mac":"C4:DE:E2:DA:0F:94","IP6Global":"fd4d:d9a8:7683:0:c6de:e2ff:feda:f94","IP6Local":"fe80::c6de:e2ff:feda:f94%st3","Ethernet":{"Hostname":"sonoff-DA0F94-3988-eth","IPAddress":"192.168.2.161","Gateway":"192.168.2.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.2.1","DNSServer2":"0.0.0.0","Mac":"C4:DE:E2:DA:0F:97","IP6Global":"fd4d:d9a8:7683:0:c6de:e2ff:feda:f97","IP6Local":"fe80::c6de:e2ff:feda:f97%en1"},"Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":16.0}}
19:22:07.569 MQT: stat/sonoff-DA0F94/STATUS6 = {"StatusMQT":{"MqttHost":"mqtt.lan","MqttPort":1883,"MqttClientMask":"sonoff-%06X","MqttClient":"sonoff-DA0F94","MqttUser":"openhabian","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
19:22:07.594 MQT: stat/sonoff-DA0F94/STATUS7 = {"StatusTIM":{"UTC":"2024-10-04T17:22:07Z","Local":"2024-10-04T19:22:07","StartDST":"2024-03-31T02:00:00","EndDST":"2024-10-27T03:00:00","Timezone":99,"Sunrise":"07:17","Sunset":"18:44"}}
19:22:07.611 MQT: stat/sonoff-DA0F94/STATUS10 = {"StatusSNS":{"Time":"2024-10-04T19:22:07"}}
19:22:07.628 MQT: stat/sonoff-DA0F94/STATUS11 = {"StatusSTS":{"Time":"2024-10-04T19:22:07","Uptime":"0T00:03:48","UptimeSec":228,"Heap":110,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":5,"Objects":56},"Wifi":{"AP":1,"SSId":"Jason_Home_WLAN","BSSId":"00:A0:57:2A:BD:19","Channel":11,"Mode":"HT20","RSSI":100,"Signal":-43,"LinkCount":1,"Downtime":"0T00:00:08"}}} |
My firmware on OTA is on 14.2.0.5... this is compiled at the previous commit... Please test this one... https://cc.biomine.it/ota/tasmota32-biopdu.v1.4.0.6.bin |
works fine too 00:00:00.002 HDW: ESP32-D0WD v1.0
00:00:00.016 UFS: FlashFS mounted with 304 kB free
00:00:00.038 CFG: Loaded from LKG File, Count 78
00:00:00.263 BRY: Berry initialized, RAM used 5217 bytes
00:00:00.274 Project biopdu - Tasmota Version 14.2.0.6(biopdu)-3_1_0(2024-10-03T15:14:04)
00:00:01.690 ETH: Connected at 100Mbps Full Duplex, Mac C4:DE:E2:DA:0F:97, Hostname sonoff-DA0F94-3988-eth
00:00:03.279 HTP: Web server active on sonoff-DA0F94-3988-eth with IP address 192.168.2.161
21:47:13.266 MQT: Attempting connection...
21:47:13.283 MQT: Connected
21:47:13.286 MQT: tele/sonoff-DA0F94/LWT = Online (retained)
21:47:13.287 MQT: cmnd/sonoff-DA0F94/POWER =
21:47:13.293 MQT: tele/sonoff-DA0F94/INFO1 = {"Info1":{"Module":"WT32_ETH01","Version":"14.2.0.6(biopdu)","FallbackTopic":"cmnd/sonoff-DA0F94_fb/","GroupTopic":"cmnd/sonoffs/"}}
21:47:13.307 MQT: tele/sonoff-DA0F94/INFO2 = {"Info2":{"WebServerMode":"Admin","Ethernet":{"Hostname":"sonoff-DA0F94-3988-eth","IPAddress":"192.168.2.161"}}}
21:47:13.321 MQT: tele/sonoff-DA0F94/INFO3 = {"Info3":{"RestartReason":"Software reset CPU","BootCount":41}}
21:47:16.001 WIF: Connecting to AP1 Jason_Home_WLAN Channel 11 BSSId 00:A0:57:2A:BD:19 in mode HT40 as sonoff-DA0F94-3988...
21:47:17.778 MQT: tele/sonoff-DA0F94/STATE = {"Time":"2024-10-04T21:47:17","Uptime":"0T00:00:07","UptimeSec":7,"Heap":116,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":5,"Objects":56}}
21:47:18.384 WIF: Connected
21:48:02.396 CMD: Status 0
21:48:02.400 MQT: stat/sonoff-DA0F94/STATUS = {"Status":{"Module":0,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"sonoff-DA0F94","ButtonTopic":"0","Power":"0","PowerLock":"0","PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
21:48:02.435 MQT: stat/sonoff-DA0F94/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"sonoffs","OtaUrl":"","RestartReason":"Software reset CPU","Uptime":"0T00:00:52","StartupUTC":"2024-10-04T19:47:10","Sleep":10,"CfgHolder":4617,"BootCount":41,"BCResetTime":"2023-09-01T14:52:09","SaveCount":80}}
21:48:02.470 MQT: stat/sonoff-DA0F94/STATUS2 = {"StatusFWR":{"Version":"14.2.0.6(biopdu)","BuildDateTime":"2024-10-03T15:14:04","Core":"3_1_0","SDK":"5.3.1.240924","CpuFrequency":160,"Hardware":"ESP32-D0WD v1.0","CR":"367/699"}}
21:48:02.484 MQT: stat/sonoff-DA0F94/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Jason_Home_WLAN","Jason_Home_WLAN"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00208009","2805C80001000600003C5A0A192800000000","000080C0","08006000","00006000","00000000"]}}
21:48:02.536 MQT: stat/sonoff-DA0F94/STATUS4 = {"StatusMEM":{"ProgramSize":2597,"Free":282,"Heap":110,"StackLowMark":19,"PsrMax":0,"PsrFree":0,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"16405E","FlashFrequency":40,"FlashMode":"DIO","Features":["0809","9FBAD7DF","001482A1","2143B7CF","054013F5","E0320981","400040F0","00200000","5480482D","81030091","00000004"],"Drivers":"1,2,!3,!4,!5,7,!8,9,10,11,12,13,!16,!20,!21,!24,26,!27,29,!34,!35,38,50,52,54,!59,62,!63,!67,!68,82,!121","Sensors":"1,2,3,5,6,7,8,9,10,11,12,13,14,19,21,26,29,31,42,45,55,58,59,66,67,85,92,98,109,127","I2CDriver":"3,5,7,8,9,10,11,12,13,14,15,17,18,20,22,24,29,31,36,41,42,44,46,47,48,58,62,65,69,77,82"}}
21:48:02.594 MQT: stat/sonoff-DA0F94/STATUS5 = {"StatusNET":{"Hostname":"sonoff-DA0F94-3988","IPAddress":"192.168.2.163","Gateway":"192.168.2.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.2.1","DNSServer2":"0.0.0.0","Mac":"C4:DE:E2:DA:0F:94","IP6Global":"fd4d:d9a8:7683:0:c6de:e2ff:feda:f94","IP6Local":"fe80::c6de:e2ff:feda:f94%st3","Ethernet":{"Hostname":"sonoff-DA0F94-3988-eth","IPAddress":"192.168.2.161","Gateway":"192.168.2.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.2.1","DNSServer2":"0.0.0.0","Mac":"C4:DE:E2:DA:0F:97","IP6Global":"fd4d:d9a8:7683:0:c6de:e2ff:feda:f97","IP6Local":"fe80::c6de:e2ff:feda:f97%en1"},"Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":16.0}}
21:48:02.659 MQT: stat/sonoff-DA0F94/STATUS6 = {"StatusMQT":{"MqttHost":"mqtt.lan","MqttPort":1883,"MqttClientMask":"sonoff-%06X","MqttClient":"sonoff-DA0F94","MqttUser":"openhabian","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
21:48:02.684 MQT: stat/sonoff-DA0F94/STATUS7 = {"StatusTIM":{"UTC":"2024-10-04T19:48:02Z","Local":"2024-10-04T21:48:02","StartDST":"2024-03-31T02:00:00","EndDST":"2024-10-27T03:00:00","Timezone":99,"Sunrise":"07:17","Sunset":"18:44"}}
21:48:02.701 MQT: stat/sonoff-DA0F94/STATUS10 = {"StatusSNS":{"Time":"2024-10-04T21:48:02"}}
21:48:02.718 MQT: stat/sonoff-DA0F94/STATUS11 = {"StatusSTS":{"Time":"2024-10-04T21:48:02","Uptime":"0T00:00:52","UptimeSec":52,"Heap":108,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":5,"Objects":56},"Wifi":{"AP":1,"SSId":"Jason_Home_WLAN","BSSId":"00:A0:57:2A:BD:19","Channel":11,"Mode":"HT40","RSSI":100,"Signal":-42,"LinkCount":1,"Downtime":"0T00:00:08"}}} |
can be a Olimex ESP32-PoE related issue ? |
What else? The used PHY chip is the same LAN8720. The LAN8720 is known to be problematic to init / reset when starting. Iirc Olimex had (has?) problems in there hardware designs here. |
any suggestion ? |
Maybe Olimex support can help? |
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
I'm using an Olimex ESP32-PoE, starting from commit id 1248bd1 the ethernet is no more visible, anyone else experience that?.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log: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)
The text was updated successfully, but these errors were encountered: