Author Topic: Wifi signal problems - Reconnect !!  (Read 2400 times)

maximo80

  • Newbie
  • *
  • Posts: 17
Wifi signal problems - Reconnect !!
« on: January 04, 2017, 07:45:36 am »
Hi everybody,

I've 3 projects running but with wifi problems.

One of them I'm reading 2 temperature signals every 5 seconds, after several hours working properly oak wifi is disconnected and it doesn't post data to web service.
I'm checking out a lot of workarounds found on this forum but finally nothing goes well. I use AUTOMATIC SYSTEM MODE to try to reconnect automatically but it doesn't.

Data: I have measured RSSI and I know it is poor -80 but If i do a oak reset, the wifi is reconnected automatically and everything is working fine so I don't know what can i do.

Do you have some idea?

Regards,

PeterF

  • Hero Member
  • *****
  • Posts: 881
Re: Wifi signal problems - Reconnect !!
« Reply #1 on: January 04, 2017, 05:04:39 pm »
Just FYI, SYSTEM_MODE(AUTOMATIC) is the default setting, so there's no need to actually use that unless you want to be very explicit in your code of what mode the device is in... ;)

What does the Oak actually do... do it stop responding completely, and vanish from the Particle Dashboard, or does it go into safe mode (triple blink pattern?). If it's the latter, maybe try the manual config mode only variant under Tools -> Boards ?

If it freezes / vanishes completely, some more info and tinkering is needed! :o What sort of temperature sensors are we talking about? DS18B20s? What is the Oak doing in the downtime between readings... sleeping with a delay? running a continuous loop waiting for time to elapse? Have you tried sprinkling some yield() and Particle.process() calls in the code to see if that livens it up again?