I have a project where I want my Pinoccio to send/POST a message to a server when a switch is triggered.
Many of the examples I have found are where a message is sent to the Pinoccio. The other examples I've found are where the Pinoccio is constantly connected the HQ (e.g. the temperature examples) however I guess this example will wear down the battery on the Pinoccio very quickly.
Can someone tell me whether it is possible for the Pinoccio to communicate with the HQ only when an event is triggered on the device?