@mfalkvidd @electrik Yes! This did the trick for me. Thanks for your guidance.
Probably the instruction to use a version not higher than 2.6.2 has been given somewhere/sometime and I have overlooked it.
The serial monitor remained blank during upload, but when I select 9600 baud and press the reset-button it gives what I think is a healthy response:
⸮⸮5R⸮⸮64 MCO:BGN:INIT GW,CP=RNNGE---,FQ=80,REL=255,VER=2.3.2
121 TSF:LRT:OK
137 TSM:INIT
151 TSF:WUR:MS=0
174 TSM:INIT:TSP OK
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt
connected with XXX, channel 6
dhcp client start...
ip:192.168.178.46,mask:255.255.255.0,gw:192.168.178.1
403 TSM:INIT:GW MODE
426 TSM:READY:ID=0,PAR=0,DIS=0
458 MCO:REG:NOT NEEDED
ip:192.168.178.4,mask:255.255.255.0,gw:192.168.178.1
1544 GWT:TIN:CONNECTING...
2573 GWT:TIN:CONNECTING...
scandone
3601 GWT:TIN:CONNECTING...
3629 GWT:TIN:IP: 192.168.178.4
3662 MCO:BGN:STP
3680 MCO:BGN:INIT OK,TSP=1
3708 TSM:READY:NWD REQ
3735 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
pm open,type:2 0
And sure enough, the LAN has detected an ESP device at 192.168.178.4 now.
Secretly, I was hoping that connection to Domoticz would now also work but unfortunately I keep on getting the persistent message:
2022-11-25 11:54:58.598 Error: MySensorsGateway: Can not connect to: 192.168.178.4:5003
However, that probably needs to be adressed in a different topic.