esp8266-vindriktning-particle-sensor icon indicating copy to clipboard operation
esp8266-vindriktning-particle-sensor copied to clipboard

After Wifi Connect, no Access to webinterface possible any more

Open 4920441 opened this issue 4 years ago • 5 comments
trafficstars

Hi,

What I have done:

  • first connect to the esp wifi accesspoint and configure ssid, password and mqtt server + credentials.
  • it reboots
  • it connects to wifi, gets an ip from the wifi network
  • mqtt sends messages and mqtt broker receives them as well

But: I cannot access the webinterface for editing the mqtt Server etc. any more - I only get a

"ERR_CONNECTION_REFUSED"

Don't know where to look... I think its a default that only accesses from 192.168.4.0/24 are allowed (standard AP of the ESP Lib) but I don't know yet where it is defined.

Thanks a lot!

cheers

4

4920441 avatar Oct 21 '21 12:10 4920441

could you try #32 ? The webinterface should start always.

balu- avatar Nov 08 '21 12:11 balu-

Had the same issue, you can reconnect if you switch off the configured wifi and restart the chip. After it doesn't find the wifi it will reappear in the network list!

greyhound3 avatar Nov 10 '21 15:11 greyhound3

Thx for the trick, but seeing the second sensor or be able to change the config would be something that you maybe need to do more often.

LordPinhead avatar Nov 14 '21 11:11 LordPinhead

@LordPinhead I switched to DSPHOME in home assistant and after a first flash the firmware (and configuration) can be updated over wifi. It's more comfortable.

greyhound3 avatar Nov 14 '21 12:11 greyhound3

@LordPinhead I switched to DSPHOME in home assistant and after a first flash the firmware (and configuration) can be updated over wifi. It's more comfortable.

With Arduino Studio, you can at least reflash the sketch, but not the config. So I end up writing the data into the sketch and Upload it again with the OTA function. It works, I moved it to my new OpenHabian installation after the last one crashed.

LordPinhead avatar Nov 14 '21 12:11 LordPinhead