06-08-2022 11:27 AM
Hello,
I followed the set up instrustions on the BSEC2 Github and managed to get the BME688 sensors working using the ESP8266 (arduino feather Huzzah!) and the basic example. I wanted to write the data i'm reading to an influxDB server although the code causes the ESP8266 to crash whenever I add the client.writepoint(sensor) line.
I've attached the code and commented where I've tried to add the write command (both inside the loop funciton and newdatacall function) if anyone could advise how to modify the code so that the upload to influx is successful without causeing the code to crash that would be fantstic.
Thanks
Solved! Go to Solution.
06-09-2022 03:59 AM
Hi Gavin,
Official BSEC2 example demonstrates reading BME688 data and executing the BSEC2 algorithm. It haven't included uploading data to the InfluxDB server.
06-14-2022 09:46 AM
Yeah i understand it doesn't include the upload. Thank you for the reply anyhow
06-14-2022 11:16 AM
Hi Gavin,
You could try to find some example to use from sever supplier.
06-19-2022 02:08 PM
Check out adding MQTT to the board, publishing the data of the sensor to the mqtt broker, and then connecting the mqtt broker to influx.
A bit of a round about way but it will probably be easier for you to do it like this.