Open aidanwhelan opened 4 years ago
From sample plotting code, this is the format of a multi-channel package:
snprintf(buffer, 20, "%s,%s,%d,%d,%s,%d", str_temp_avg, str_hum_avg, full_avg, lux_avg, str_noise_avg, hrm_bpm);
ble.print(buffer);
This is called after a sensor-reading loop, just like ours.
UPDATE: multiple plots should be recognized using the Feeds feature in Adafruit IO.
After going through the Adafruit tutorial, it looks like they use a specific approach that is a little more involved than our current approach.
What they use is a MacOS Catcher Script and a specific MacOS Bluefruit setup that allows us to create a custom AIO key and link the site to our local script/machine. From there, setting up individual feeds is done automatically.
Adafruit IO receives a comma-delimited package of data over Bluetooth, but is not able to plot both signals. Data is transmitted at the same rate, but only the first item of the package is plotted (currently PPM).
https://learn.adafruit.com/schluff-the-oshw-sleep-monitor/the-code
Possible fixes: