Online but not online

Hi Guys, a beginner here but I don't believe I'm doing anything silly.

I have two ESP8266 and have set them up the same (apart from the unnique secrets). One is online and working perfectly.

The other is showing connectivity to my home wifi and the IOT cloud in the serial stream but not as 'online' in the devices tab.

I am currently on a free acount.

Can anyone please help a newbie!?

Jonnie

Hi Jonnie - welcome
Summarising
You have defined both Devices and have the unique device ID and the secret key pairs?
You have attached the devices to separate Things?
You have defined the variables to be passed to AIoT cloud?
Both devices have attached through your router to the Internet?
The serial stream on each shows the Thing and Device credentials and they are unique?
They should connect - I have many ESP8266 connected this way.
Just looking up the restrictions of the free account. You are limited to 2 Things. So you should be OK if you don’t have an old test thing hanging around.

Hi Mick3000, thank you so much for your reply. This reply marks the first from anyone on this community, so a special thank you!

Yes so your summary is correct. Exactly.
Now, in the mean time I deleted my previous attempt and started again. I recreated a thing and device and hooked them up. I did this many times in the past but guess what... it connected!!!

I honestly can't point to anything I did differently. This remains so far a mystery to me. I am glad though I have another device working. (I'm creating simple temp monitors for my home)

To create more I now need to think about upgrading my Arduino IOT cloud plan.

BTW, in a desperate attempt to try to get a connection I bought Arduino nano every boards only to discover they haven't got wifi connectivity and therefore incompatable with IOT cloud! rookie mistake- ah well)

Thanks again for your help - hopefully onwards and upwards from here!
Jonnie

Hi @jonniepalmer
Thanks. Great news!
It sounds like you are following the same path I took. My first useable project was a number of temperature monitors around the house.
Adding in moisture monitoring for plants and relay control of the heating.
The there is so much to learn/understand on the journey!
So many rabbit holes also.
At the moment I am playing with painlessMesh to connect all my devices with a single bridge through to cloud services.
There’s masses of help and video online but little on Arduino IoT Cloud so I am happy to share.

1 Like

Great, well thanks again. I have managed to get 5 unique sensors up and running in 5 different rooms in my home. All is well but I notice that from time to time IOT cloud still reports a couple of them offline for long periods. At the same time though they are sending live data so they are very much online. Seems like a platform bug more so than anything else. Do you think I should have coded them up to only report data if the change is significant in the temp and humidty variables? At the moment the threshold is set to 0 in each case. Will that be placing anykind of bandwidth load on my setup?

thanks again for the help and encouragement!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.