We know we can query the flukso server via the API, but not for real-time data, i.e. the 1 secs readings.
We would like to having all 1 secs readings from all fluksos go to our own DB. Unfortunately, the fluksos are not on the same subnet (the IP of the DB is fixed and can be contacted from the flukso shell, we however cannot contact the fluksos easily from the DB server).
Soo... or we wait for Mosquitto on the Flukso (but how will we contact this MQTT server without having an IP?), or we implement a push strategy, such as:
+ on the flukso, execute "wget -q -O - http://localhost:8080/sensor/my_sensor_id?version=1.0&interval=minute&unit=watt" with cron every so many seconds, and append the new part to a csv like file
+ again with cron (from time to time), post the file with wget to a web interface which stores it in our DB (we could also do with a mysql client, but this probably won't be provided by a default flukso)
I 'm hoping/searching for an easier path (because this one is quirky). Hence, feel free to comment or post suggestions.