{"id":22120389,"url":"https://github.com/znitche/crowsnest","last_synced_at":"2026-05-04T02:39:24.722Z","repository":{"id":234576359,"uuid":"789173521","full_name":"zNitche/CrowsNest","owner":"zNitche","description":"lightberryAPI + Raspberry Pi Pico W = LAN services hub","archived":false,"fork":false,"pushed_at":"2024-06-28T15:26:39.000Z","size":1607,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T12:15:28.669Z","etag":null,"topics":["api","async","microcontroller","micropython","network-monitoring","raspberry-pi-pico","services-hub"],"latest_commit_sha":null,"homepage":"","language":"Python","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/zNitche.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":"2024-04-19T21:12:42.000Z","updated_at":"2024-06-28T15:26:43.000Z","dependencies_parsed_at":"2024-05-02T18:35:31.809Z","dependency_job_id":"6b92ac24-ea41-415a-8763-90d2ab09d57e","html_url":"https://github.com/zNitche/CrowsNest","commit_stats":null,"previous_names":["znitche/eaglenest"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zNitche%2FCrowsNest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zNitche%2FCrowsNest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zNitche%2FCrowsNest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zNitche%2FCrowsNest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zNitche","download_url":"https://codeload.github.com/zNitche/CrowsNest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245220462,"owners_count":20579785,"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","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":["api","async","microcontroller","micropython","network-monitoring","raspberry-pi-pico","services-hub"],"created_at":"2024-12-01T14:23:12.027Z","updated_at":"2026-05-04T02:39:19.683Z","avatar_url":"https://github.com/zNitche.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrowsNest\nlightberryAPI + Raspberry Pi Pico W = LAN services hub\n\n![case_1](media/1.jpg)\n![case_2](media/2.jpg)\n\n### Requirements (Microcontroller)\n\n- [lightberryAPI v1.2.7](https://github.com/zNitche/lightberryAPI/releases/tag/v1.2.7) - frozen module\n- [aht20.py](https://github.com/zNitche/pico-aht20/blob/master/aht20.py) - frozen module\n- [microHTTP v1.0.0](https://github.com/zNitche/microHTTP/releases/tag/v1.0.0) - frozen module\n\n### Features:\n- Providing API + serving services data for [web ui](https://github.com/zNitche/CrowsNestUI).\n- Logging environment temperature and humidity.\n- Serving React based frontend.\n- Build in database supporting data sorting and querying.\n- Database models serialization.\n- Simple cache implementation.\n- Checking services accessibility.\n\n### How to use it:\n1. Build (and flash rpi pico with) MicroPython firmware with modules described in `Requirements` section.\n2. Build and prepare (described in README) [web ui](https://github.com/zNitche/CrowsNestUI).\n3. Copy content of web ui `dist` to `/files` directory.\n4. Create and fill `lightberryAPI` config.\n```\ncp lightberry_config.template.json lightberry_config.json\n```\n5. Create and fill database.\n```\ncp db.template.json db.json\n```\n6. Flash Raspberry Pi Pico with this project files.\n\n### Project Goals:\nThe main goals of the project was to: \n- Use lightberryAPI in real case scenario.\n- Build low power consumption device I can use to track LAN services.\n- Design and 3D print case for device.\n\n### Extra\n#### Database tools\n- minify `db.json`\n  ```\n  python3 tools/convert_db.py --db_path ./db.json --minify\n  ```\n- de-minify `db.json`\n  ```\n  python3 tools/convert_db.py --db_path ./db.json\n  ```\n\n### Development\npackages in `requirements.txt` are used for development\n\n```\npip3 install -r requirements.txt\n```\n\n#### Remote Shell\nfor flashing pico you can use `rshell`\n```\npip3 install rshell==0.0.32\n```\n\nenter REPL\n```\nrshell \nrepl\n```\n\nflash\n```\nrshell -f commands/flash\n```\n\nclear all files\n```\nrshell -f commands/wipe\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznitche%2Fcrowsnest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznitche%2Fcrowsnest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznitche%2Fcrowsnest/lists"}