個人 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