john30 / ebusd-esp

Firmware for ESP8266 allowing eBUS communication for ebusd (https://github.com/john30/ebusd)
150 stars 21 forks source link

Wemos D1 mini ESP connectivity issues with latest UniFi AP firmware. #81

Open Xeno8888 opened 1 year ago

Xeno8888 commented 1 year ago

Dear John,

As I already mentioned in my ebus issue, I have connectivity issues between my UniFi U6-LR/nanoHD and the ESP8266 (lost packets, timeouts, connectivity issues ...).

Is there a chance to get a test firmware with the latest libraries/framework?

I have some other ESP8266 devices (with my own firmware) here that seem to work more or less as expected with the current UniFi AP firmware.

Also, is there a way to debug the ebusd-esp firmware?

I logged the serial line and the first thing I saw was this crash (after an esp reset) - happened twice:

Welcome to eBUS adapter 3, build 20221215
ebusd device string: ens:(IP unset):9999
WiFi signal: 50% (-75dBm)
Press return twice within 5 seconds to change the configuration...
Entering eBUS mode.

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (28):
epc1=0x4021c926 epc2=0x00000000 epc3=0x40101a00 excvaddr=0x00000009 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffd40 end: 3fffffc0 offset: 0190
3ffffed0:  00000000 3fff2658 00000001 4020bde6
3ffffee0:  4021d318 00000000 00001388 4020f3cb
3ffffef0:  00000000 00000000 3fff46c4 00000000
3fffff00:  4021d318 00000000 000003e8 402092d2
3fffff10:  00000000 3fff2060 3fff46c4 00000000
3fffff20:  00000000 00000000 00000000 00000000
3fffff30:  00000000 4020593c 00000000 4021c384
3fffff40:  4021c370 3fff22ec ffffffff 3ffe85f0
3fffff50:  00000000 3fff22ec ffffffff 0000270f
3fffff60:  000091bd ba52dcb1 00000000 feefeffe
3fffff70:  00000000 feefeffe feefeffe feefeffe
3fffff80:  00000000 00000000 00000001 40100870
3fffff90:  3fffdad0 00000000 3fff280c 3fff2820
3fffffa0:  3fffdad0 00000000 3fff280c 40219cbc
3fffffb0:  feefeffe feefeffe 3ffe8610 401007cd
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

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