{"id":49543155,"url":"https://github.com/pacjo/ts-green","last_synced_at":"2026-05-02T16:30:39.231Z","repository":{"id":347354306,"uuid":"1193767644","full_name":"pacjo/ts-green","owner":"pacjo","description":"Smart plant monitoring system for SCIR (Sieci czujnikowe i internetu rzeczy) for use in TriState science club","archived":false,"fork":false,"pushed_at":"2026-04-21T11:22:49.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-21T13:28:06.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pacjo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-27T15:03:36.000Z","updated_at":"2026-04-21T11:22:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pacjo/ts-green","commit_stats":null,"previous_names":["pacjo/ts-green"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pacjo/ts-green","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacjo%2Fts-green","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacjo%2Fts-green/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacjo%2Fts-green/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacjo%2Fts-green/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pacjo","download_url":"https://codeload.github.com/pacjo/ts-green/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacjo%2Fts-green/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32541912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T12:25:33.646Z","status":"ssl_error","status_checked_at":"2026-05-02T12:24:51.733Z","response_time":132,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-05-02T16:30:38.482Z","updated_at":"2026-05-02T16:30:39.226Z","avatar_url":"https://github.com/pacjo.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project SCIR\n\n## Troubleshooting\n\n### Adding Firebeetle 2 ESP32-C6 support to PlatformIO\n\nSince Arduino Core 3.X platforms aren't supported by upstream PlatformIO project it is necessary to use [pioarduino](https://github.com/pioarduino/platform-espressif32) provided version instead. To do that modify `platformio.ini` to have this line:\n\n```ini\nplatform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip\nboard = ...\n```\n\n\n### Python package errors when executing `pio ...` commands\n\nWhen executing some `pio`/`platformio` commands errors such as `ModuleNotFoundError: No module named 'platformio'.` can occur. This shouldn't affect the project in any way. It's recommended to wait and let the command continue on it's own instead of stopping the execution.\n\n\n### IDE completions for pio libraries\n\n1. run:\n    ```bash\n    pio run --target compiledb\n    ```\n2. (optional) restart IDE language servers\n\n\n## TODO:\n\n- [x] ~~make utils return SensorReading classes~~\n- [ ] full queue should drop old reading instead of new ones - or should it? tbd.\n- [ ] maybe instead of `pushReading(take*())` we just do `push*()` - this would require a way to retrive those value locally (a queue before the network queue or smth)\n- [ ] simplify all reading functions in main (since all share basically the same structure). maybe create a sensor class per each and have a generic function with this class as parameter and this class would hold setup code, measurement function and delay. also rename from print* since that's no longer correct\n- [ ] move server code out of platformio project\n- [ ] add json parsing error handling and reconnection support\n- [ ] maybe introduce logger which could log to serial and network?\n- [ ] optimize stack size in setup()\n- [ ] maybe namespaces to separate the same sensors per plant?\n- [ ] or just one plant\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacjo%2Fts-green","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacjo%2Fts-green","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacjo%2Fts-green/lists"}