{"id":18858500,"url":"https://github.com/hardwario/enmon","last_synced_at":"2025-10-14T08:15:39.509Z","repository":{"id":106461621,"uuid":"244311681","full_name":"hardwario/enmon","owner":"hardwario","description":"Environmental Monitoring Toolkit for HARDWARIO Bridge Module","archived":false,"fork":false,"pushed_at":"2023-02-10T08:31:00.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-23T07:31:46.274Z","etag":null,"topics":["ft260","hid","iot","sensor","usb"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hardwario.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-02T07:53:43.000Z","updated_at":"2023-01-13T20:25:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"3cf72f25-a797-40e0-a540-543b6dc85473","html_url":"https://github.com/hardwario/enmon","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/hardwario/enmon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardwario%2Fenmon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardwario%2Fenmon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardwario%2Fenmon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardwario%2Fenmon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardwario","download_url":"https://codeload.github.com/hardwario/enmon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardwario%2Fenmon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018318,"owners_count":26086334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ft260","hid","iot","sensor","usb"],"created_at":"2024-11-08T04:13:41.420Z","updated_at":"2025-10-14T08:15:39.504Z","avatar_url":"https://github.com/hardwario.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Repository: enmon\r\n\r\n[![Travis](https://img.shields.io/travis/hardwario/enmon/master.svg)](https://travis-ci.org/hardwario/enmon)\r\n[![Appveyor](https://ci.appveyor.com/api/projects/status/71uqxwhpcabphs26?svg=true)](https://ci.appveyor.com/project/Hardwario/enmon)\r\n[![Release](https://img.shields.io/github/release/hardwario/enmon.svg)](https://github.com/hardwario/enmon/releases)\r\n[![License](https://img.shields.io/github/license/hardwario/enmon.svg)](https://github.com/hardwario/enmon/blob/master/LICENSE)\r\n[![Twitter](https://img.shields.io/twitter/follow/hardwario_en.svg?style=social\u0026label=Follow)](https://twitter.com/hardwario_en)\r\n\r\nThis repository contains source code for the **Environmental Monitoring Toolkit**.\r\n\r\nThe result is a CLI utility (called `enmon`) that reads hardware sensor data via **HARDWARIO Bridge Module** such as:\r\n\r\n* Temperature (from **Humidity Tag** or **Climate Module**)\r\n* Humidity (from **Humidity Tag** or **Climate Module**)\r\n* Illuminance (from **Lux Meter Tag** or **Climate Module**)\r\n* Pressure (from **Barometer Tag** or **Climate Module**)\r\n* Altitude (from **Barometer Tag** or **Climate Module**)\r\n\r\nThe read values are printed to the console (via `stdout`) and can be easily piped to other tools.\r\n\r\nThis tool is also integrated with **HARDWARIO Playground** so you can easily use it altogether with **Node-RED**.\r\n\r\n\u003e HARDWARIO Bridge Module does not need any drivers as it uses USB HID for communication.\r\n\r\n\r\n## Requirements\r\n\r\n* Host with Windows, macOS, or Linux operating system\r\n* HARDWARIO Bridge Module\r\n* Micro USB cable\r\n\r\n\r\n## Build\r\n\r\nYou will need CMake + C compiler (GCC, LLVM Clang, or MSVC) to build the binary.\r\n\r\nJust follow these steps:\r\n\r\n1. Open the Terminal app or Command Prompt.\r\n\r\n1. Clone the repository:\r\n\r\n       $ git clone https://github.com/hardwario/enmon.git\r\n\r\n1. Go to the repository:\r\n\r\n       $ cd enmon\r\n\r\n1. Create the `build` directory:\r\n\r\n       $ mkdir build\r\n\r\n1. Go to the `build` directory:\r\n\r\n       $ cd build\r\n\r\n1. Let CMake create the build script:\r\n\r\n       $ cmake ..\r\n\r\n1. Start the actual build:\r\n\r\n       $ cmake --build .\r\n\r\nThe result is the single `enmon` (or `enmon.exe`) executable in the `build` directory. Feel free to copy it where you want.\r\n\r\n\r\n## Usage\r\n\r\nYou can invoke the help:\r\n\r\n    $ ./enmon --help\r\n\r\nRun without arguments will read the sensor data, print them, and exit:\r\n\r\n    $ ./enmon\r\n    @SENSOR: \"Temperature\",27.20\r\n    @SENSOR: \"Humidity\",50.2\r\n    @SENSOR: \"Illuminance\",25\r\n    @SENSOR: \"Pressure\",95306\r\n    @SENSOR: \"Altitude\",514.2\r\n\r\nYou can force the program to continuously read the sensors with a specified delay:\r\n\r\n    $ ./enmon --loop --delay=5\r\n    @SENSOR: \"Temperature\",27.20\r\n    @SENSOR: \"Humidity\",50.2\r\n    @SENSOR: \"Illuminance\",25\r\n    @SENSOR: \"Pressure\",95306\r\n    @SENSOR: \"Altitude\",514.2\r\n    @SENSOR: \"Temperature\",27.20\r\n    @SENSOR: \"Humidity\",50.2\r\n    @SENSOR: \"Illuminance\",25\r\n    @SENSOR: \"Pressure\",95306\r\n    @SENSOR: \"Altitude\",514.2\r\n\r\n\r\n## Linux\r\n\r\nOn Linux, it is important to get the `udev` properly configured so you won't need the admin right to access the device. Please, follow these steps:\r\n\r\n1. Install the dependencies:\r\n\r\n       # apt install -y build-essential cmake libudev-dev\r\n\r\n1. Create the file `/etc/udev/rules.d/99-enmon.rules`:\r\n\r\n       SUBSYSTEMS==\"usb\", ACTION==\"add\", ATTRS{idVendor}==\"0403\", ATTRS{idProduct}==\"6030\", MODE=\"0666\"\r\n\r\n1. Reload the `udev` rules:\r\n\r\n       # udevadm control --reload\r\n\r\n\r\n## License\r\n\r\nThis project is licensed under the [**MIT License**](https://opensource.org/licenses/MIT/) - see the [**LICENSE**](LICENSE) file for details.\r\n\r\n---\r\n\r\nMade with ❤️ by [**HARDWARIO a.s.**](https://www.hardwario.com/) in the heart of Europe.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardwario%2Fenmon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardwario%2Fenmon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardwario%2Fenmon/lists"}