I’m somewhat confused about the internal workings of Cayenne and looking for some guidance.
I would like my Arduino or MQTT device to limit connectivity with cayenne server to specific time intervals, say 30 seconds so that the wireless module doesn’t need to continuously transmit.
I tried to create a delay on the main loop, so that the Cayenne.loop(); function runs periodically (rather than continuously), but while data sent from the device to the dashboard gets updated, data from the dashboard to the device (for example toggling a switch), is completely lost and not updated on Cayenne.loop(); next run, as expected.
I first noticed this issue on a slow network. Its common for the dashboard to just say ‘device offline’ and any data to be sent to the device is lost. Again, data sent into the dashboard is updated.
Is there a way to overcome this limitation?