Skip to content

Opensource HA compatible air quality monitor with CO2, temperature and humidity measurements

License

Notifications You must be signed in to change notification settings

nobodyguy/zigbee_air_quality_monitor_firmware

Repository files navigation

Zigbee air quality monitor firmware

Opensource HA compatible air quality monitor with CO2, temperature and humidity measurements.
Based on nRF Connect SDK v2.2.99.

Init west workspace

cd /workdir
ZEPHYR_BASE="" west init -l /workdir/project/
west update
cd ./project
./apply_patches.sh

Building

west build -b xiao_ble

Flashing

west flash --runner blackmagicprobe

Debugging

GDB:
west debug --runner blackmagicprobe

Or you can use this ./.vscode/launch.json config for Cortex-Debug extension:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Zephyr nRF52840",
            "cwd": "${workspaceFolder}",
            "request": "launch",
            "type": "cortex-debug",
            "servertype": "bmp",
            "BMPGDBSerialPort": "/dev/ttyACM0",
            "armToolchainPath": "${workspaceFolder}/../zephyr-sdk/arm-zephyr-eabi/bin",
            "gdbPath": "${workspaceFolder}/../zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb",
            "interface": "swd",
            "runToEntryPoint": "main",
            "showDevDebugOutput": "raw",
            "executable": "${workspaceFolder}/build/zephyr/zephyr.elf",
            "preLaunchCommands": [
                "add-symbol-file ${workspaceFolder}/build/zephyr/zephyr.elf"
              ]
        },
    ]
}

About

Opensource HA compatible air quality monitor with CO2, temperature and humidity measurements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published