Unable to join to wifi network for the second time

Hi!

I ordered a kit with NodeMCU and SDS011 and following the guide I was able to set it up successfully, it already appeared under my devices and on the map, with incoming data.

Then I decided I want to send data to a third party API, so I unplugged the sensor, waited for it to restart, and wanted to set up wifi connection + custom API, but ever since I am unable to even join the wifi network. It connects for a short while (I can see it on the router’s admin page), then disconnect. The sensor’s network in the meantime is always visible (airRohr-).

Can anyone provide some help?

Thanks in advance,

Welcome !

Are you sure you want to connect the right way. YOu should be able to access the sensor through the router on an adresse 192.168.1.<100 or something>. Check the DHCP client list of the router.

If you keep seeing the AirRohr-… network it means you are not connected to your router at all. And you have only 10 minutes to connect because of security reason. Please read the instructions attentively.

Thanks for the reply!

As I also have no idea what’s going wrong I tried debugging a bit. It would be most useful to see the logs, but I haven’t managed to make it work as the flashtool documentation seems a bit outdated (driver link for the NodeMCU is broken). Do you have any tips on debug tools?

Try to read the (USB) serial with putty

Or with the Arduino IDE.

It worked out, thanks for the responses. I checked the logs with Putty and it was unable to connect to the wifi. Interestingly, after a wifi network restart it worked again. ¯\(ツ)

One more follow up question: what is the easiest way to change the sensor configuration (connect to a different wifi, send data to a different custom API, etc.)? Without having to disconnect and wait for it to forget the config

Connect through the router and change the config.