io.statusText() not showing right status

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
jsafavi
 
Posts: 22
Joined: Thu Jun 15, 2017 4:07 pm

io.statusText() not showing right status

Post by jsafavi »

Hi all!

When I try to use io.statusText() inside void loop() to print the current status of connection to serial monitor and also adalogger, an incorrect status is shown:
"Network disconnected."

However values are clearly updated on Adafruit IO feeds (the connection is active and working).

Is there something that I may be missing? additional code or something to get the correct connection status? Or does io.statusText() not work inside void loop() ?

Thanks

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”