[AE-13] CO2 and IAQ values in Dashboard sketch always 0
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- embedded-iot, frontend
Research direction
Reproduce the issue with the linked NiclaSenseME.ino sketch and the Nicla Sense ME Dashboard in Chrome, following the listed IDE and pairing steps. Inspect how the sketch supplies IAQ and CO2 data to the dashboard; done means both dashboard streams report non-zero sensor values.
Written by the indexing model from the issue text.
Description
Describe the problem
The values for the gas sensor and air quality are not displayed on the Nicla Sense ME dashboard and are always zero.

To reproduce
I am following this tutorial on the docs website: https://docs.arduino.cc/tutorials/nicla-sense-me/web-ble-dashboard
- Open IDE 2.0.4
- Update libraries to latest version (if requested)
- Load the
NiclaSenseME.inosketch - The following message is displayed in the
Outputwindow
Sketch uses 313028 bytes (59%) of program storage space. Maximum is 527616 bytes.
Global variables use 39600 bytes (61%) of dynamic memory, leaving 24688 bytes for local variables. Maximum is 64288 bytes.
"C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2/bin/openocd.exe" -d2 -s "C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2/share/openocd/scripts/" -f interface/cmsis-dap.cfg -c "transport select swd; adapter speed 1000" -f target/nrf52.cfg -c "telnet_port disabled; init; reset init; halt; adapter speed 10000; program {C:\Users\user\AppData\Local\Temp\arduino\sketches\5B5C76D81A5136F18ABEB99A48521561/NiclaSenseME.ino.elf}; reset run; shutdown"
Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:45)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
adapter speed: 1000 kHz
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: FW Version = v1.0
Info : CMSIS-DAP: Serial# = 401D6526
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x2ba01477
Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : starting gdb server for nrf52.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00006dc4 msp: 0x20010000
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00006dc4 msp: 0x20010000
** Programming Started **
Info : nRF52832-CIAA(build code: E0) 512kB Flash, 64kB RAM
Info : Padding image section 0 at 0x0005b854 with 4 bytes
Warn : Adding extra erase range, 0x0005c6d0 .. 0x0005cfff
** Programming Finished **
shutdown command invoked
- Open the Nicla Sense ME Dashboard with Chrome then pair with the Nicla BLE Sense ME
- The stream for the Indoor Air Quality and CO2 value is constantly zero.
Expected behavior
The value for the Indoor Air Quality and CO2 is non-zero
Arduino IDE version
2.0.4
Operating system
Windows 10
- Dominant language
- JavaScript
- Stars
- 80
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from arduino/ArduinoAI
-
Windows Bluetooth Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
All issues in arduino/ArduinoAI
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100