个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Desktop app for the Odak Clean Air Assistant by Mountain Labs: live readings, six months of history, Air Coach results and firmware updates
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗
A desktop application built with Electron for interfacing with ODAK Air Quality Monitoring devices.
$DATA_DUMP) and saves them as CSV or JSON, with local time and pollutant names addedgit clone https://github.com/mountainlabs-dev/odak-gui.git
cd odak-gui
npm install
npm start
To build the application for distribution:
npm run make
This will create platform-specific distribution packages in the out directory.
Build a .deb package (requires dpkg and fakeroot):
npm run make -- --targets @electron-forge/maker-deb
Install it:
sudo apt install ./out/make/deb/x64/odak-gui_0.7.0_amd64.deb
The package installs a udev rule (/etc/udev/rules.d/60-odak.rules) that gives the logged-in user access to the device and stops ModemManager from probing it. Unplug and replug the device after installing. When running from source instead (npm start), add your user to the dialout group and log in again:
sudo usermod -aG dialout $USER
Firmware updates on Linux use udisks2 to mount the RPI-RP2 drive if the desktop does not mount it automatically.
Download the .dmg for your Mac (arm64 for Apple Silicon, x64 for Intel) and drag the app to Applications. The app is not yet signed with an Apple Developer ID, so the first time you open it macOS says it cannot verify the developer: click Done, then open System Settings → Privacy & Security and click Open Anyway. If it still won't open, clear the download quarantine flag:
xattr -cr "/Applications/Mountain Labs.app"
The application includes a built-in CLI that allows you to:
Common commands:
$HELP - Display available commands$GET_SETTINGS - Show current device settings$CAL_PRINT - View all calibration values$SYS_RST - Reset the device$EXIT - Exit calibration modeFor detailed CLI documentation, refer to the ODAK_CLI.md file.
Each sensor can be calibrated with:
The application monitors and displays the following parameters:
| Parameter | Unit | Description |
|---|---|---|
| Temperature | °C or °F | Ambient temperature |
| Humidity | % | Relative humidity |
| CO₂ | ppm | Carbon dioxide concentration |
| VOC | mg/m³ | Volatile organic compounds |
| PM1.0 | µg/m³ | Particulate matter (1.0 micron) |
| PM2.5 | µg/m³ | Particulate matter (2.5 microns) |
| PM10 | µg/m³ | Particulate matter (10 microns) |
| AQI | - | Air Quality Index |
| Pressure | hPa | Atmospheric pressure |
| Elevation | m or ft | Altitude above sea level |
| Battery | % | Device battery level |
odak-gui/
│
├── src/
│ ├── index.html # Main application layout
│ ├── index.js # Main process entry point
│ ├── preload.js # Bridge between renderer and main
│ ├── renderer.js # Renderer process logic
│ ├── styles.css # Application styling
│ │
│ └── modules/ # Feature modules
│ ├── chart-management.js # Chart visualization
│ ├── cli-interface.js # CLI functionality
│ ├── data-logging.js # Data logging features
│ ├── dom-elements.js # DOM element references
│ ├── error-handling.js # Error management
│ ├── firmware-update.js # Firmware update logic
│ └── port-management.js # Serial port handling
│
├── forge.config.js # Electron Forge configuration
├── package.json # Project metadata and dependencies
└── README.md # Project documentation
| Folder | What it holds |
|---|---|
src/ | The desktop app (Electron): main process, window, Insights, firmware updates |
web/ | The same app for Chrome and Edge, talking to Odak through Web Serial |
firmware/ | firmware.json, the list of the newest Odak firmware per board that the app checks |
snap/, packaging/ | Ubuntu snap, Microsoft Store and .deb packaging |
docs/ | Publishing, firmware updates, store listing, privacy policy |
Odak firmware files are published as firmware-* releases of this repository; see
docs/FIRMWARE_UPDATES.md. The firmware source code is not part of this repository.
Issues and pull requests are welcome at https://github.com/mountainlabs-dev/odak-gui. Every pull request is built for Linux and Windows by GitHub Actions. Please test changes with a real Odak when they touch the serial connection or firmware updates.
MIT, see LICENSE. Odak and Mountain Labs are trademarks of Mountain Labs Teknoloji AŞ.
.deb package (adds a udev rule) or add your user to the dialout group and log in again