A friend of mine asked me for some help on an Akeru device: it is an Arduino + Sigfox modem.

After a few tinkering, we succeed to do what he wanted and share it: gather some sensor data and collect it in a PHP webpage. The Arduino code is quite easy thanks to the Akeru library, but Sigfox callback is a bit more tricky. The callback will be parsed by a PHP script on my friend’s server, but I also played a bit with it to able to use ioPush, my IoT logger/push notification server.

An extract of the C code we used:

// Structure declaration
struct myData {
  float   humidity;
  float   temp;
  float   pressure;

// Set data to be send
myData dataToSend = {humidity, temperature, pressure};
// Send them

Then you can add a custom data configuration in Sigfox’s callback page to let them parse it (in one line):


Now select the page to be called with the required format:


Post requests can also be issued as explained in ioPush examples.

2020 update: Akeru website is down :'(

comments powered by Disqus