Hypfer / esp8266-vindriktning-particle-sensor

Wifi MQTT Data Logging via an esp8266 for the Ikea VINDRIKTNING PM2.5 air quality sensor
Apache License 2.0
1.16k stars 128 forks source link

After Wifi Connect, no Access to webinterface possible any more #31

Open 4920441 opened 2 years ago

4920441 commented 2 years ago

Hi,

What I have done:

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

balu- commented 2 years ago

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

greyhound3 commented 2 years ago

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!

LordPinhead commented 2 years ago

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.

greyhound3 commented 2 years ago

@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.

LordPinhead commented 2 years ago

@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.