IAQ reading = 0.

I’m following the balena-sense tutorial with the BME680 sensor. My dashboard is up and running but I’m only getting 0 for IAQ readings.

I’m using a Pi Zero W and during the installation of the services I had the below error, but everything after that seemed to work correctly. I did change the wiring during installation because I noticed a wrong attachement -.-’.

14.11.20 09:12:40 (-0700) telegraf 2020-11-14T16:12:40Z E! [inputs.http] Error in plugin: [url=http://sensor]: Get http://sensor: dial tcp 172.17.0.4:80: connect: connection refused
14.11.20 09:12:51 (-0700) telegraf 2020-11-14T16:12:51Z E! [inputs.http] Error in plugin: [url=http://sensor]: Get http://sensor: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
14.11.20 09:13:00 (-0700) telegraf 2020-11-14T16:13:00Z E! [inputs.http] Error in plugin: [url=http://sensor]: Get http://sensor: dial tcp 172.17.0.4:80: connect: connection refused
14.11.20 09:13:21 (-0700) telegraf 2020-11-14T16:13:21Z E! [agent] Error writing to outputs.influxdb: could not write any address
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0EROR[11-14|16:19:45] Request error logger=context userId=0 orgId=1 uname= error=“runtime error: invalid memory address or nil pointer dereference” stack="/usr/local/go/src/runtime/panic.go:212 (0x6ab37)\n/usr/local/go/src/runtime/signal_unix.go:695 (0x6aa10)\n/root/project/pkg/services/provisioning/provisioning.go:142 (0xe23a34)\n/root/project/pkg/api/dashboard.go:116 (0xe46c37)\n/usr/local/go/src/reflect/value.go:460 (0xafdc7)\n/usr/local/go/src/reflect/value.go:321 (0xaf5a7)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:177 (0x4d69bb)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:137 (0x4d64a7)\n/root/project/pkg/api/common.go:37 (0xe877bb)\n/usr/local/go/src/reflect/value.go:460 (0xafdc7)\n/usr/local/go/src/reflect/value.go:321 (0xaf5a7)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:177 (0x4d69bb)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:137 (0x4d64a7)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:121 (0x4d7727)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:112 (0xde5e67)\n/root/project/pkg/middleware/request_tracing.go:25 (0xde5e50)\n/usr/local/go/src/reflect/value.go:460 (0xafdc7)\n/usr/local/go/src/reflect/value.go:321 (0xaf5a7)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:177 (0x4d69bb)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:137 (0x4d64a7)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:121 (0x4d7727)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:112 (0xde579f)\n/root/project/pkg/middleware/request_metrics.go:36 (0xde5784)\n/usr/local/go/src/reflect/value.go:460 (0xafdc7)\n/usr/local/go/src/reflect/value.go:321 (0xaf5a7)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:177 (0x4d69bb)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:137 (0x4d64a7)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:121 (0x4d7727)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:112 (0xde569b)\n/root/project/pkg/middleware/recovery.go:160 (0xde5684)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:79 (0x4d75eb)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x4d6757)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x4d6557)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:121 (0x4d7727)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:112 (0xde3027)\n/root/project/pkg/middleware/logger.go:34 (0xde300c)\n/usr/local/go/src/reflect/value.go:460 (0xafdc7)\n/usr/local/go/src/reflect/value.go:321 (0xaf5a7)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:177 (0x4d69bb)\n/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:137 (0x4d64a7)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/context.go:121 (0x4d7727)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/router.go:187 (0x4e5a63)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/router.go:303 (0x4e1077)\n/root/go/pkg/mod/gopkg.in/macaron.v1@v1.3.4/macaron.go:220 (0x4dbab7)\n/usr/local/go/src/net/http/server.go:2807 (0x2bfa73)\n/usr/local/go/src/net/http/server.go:1895 (0x2bc03b)\n/usr/local/go/src/runtime/asm_arm.s:857 (0x8560f)\n"

Nevermind it just started working, just needed to give it some time.

Glad you got it working