Hello fellow buccaneers!
I have just started playing around with the enviro indoor board and have successfully managed to upload logs to adafruit.io. But I would prefer keeping everything on my local network so I set up InfluxDB in Docker with a bucket “enviro” and everything seems to be up and running on that end. Ports are exposed and I am able to make api calls via terminal.
I also have upgraded the enviro’s firmware to v0.0.8 btw.
I have run the provioning on the enviro and entered the IP and port number of the InfluxDB container and the bucket name as it is written in the enviro documentation.
But all I get when the enviro tries to upload the logs is a blinking red light. The log only show the following:
2022-09-10 09:19:02 [error / 115kB] ! failed to upload '2022-09-10T09:17:34Z.json' to influxdb 2022-09-10 09:19:02 [error / 113kB] ! reading upload failed 2022-09-10 09:19:02 [info / 96kB] > going to sleep 2022-09-10 09:19:02 [debug / 94kB] - clearing and disabling timer and alarm 2022-09-10 09:19:02 [info / 92kB] - setting alarm to wake at 09:30am 2022-09-10 09:19:02 [info / 90kB] - shutting down 2022-09-10 09:19:03 [debug / 88kB] - on usb power (so can't shutdown) halt and reset instead
The documentation for the InfluxDB destination says that I only need to enter values for the “influxdb_url” and “influxdb_bucket”. Since that did not work I also tried supplying the config with values for “influxdb_org” and “influxdb_token”. Still getting the same error.
Since I have no experience with InfluxDB and the log on the enviro doesn’t tell much about the error, I don’t really know where to go :(.