Device not connecting to cloud even though connects to WifI

Read this:

Pete.