After many tries I found that for some reason the system doesn’t like the initialization of BME280 sensor on setup routine. After moving when I need to collect and publish data everything works fine. It always connect to the cloud (it seems quickly) and publish data. We will see…