{"id":17648671,"url":"https://github.com/matthias-bs/flora1","last_synced_at":"2026-05-09T10:36:49.178Z","repository":{"id":63583066,"uuid":"372561855","full_name":"matthias-bs/Flora1","owner":"matthias-bs","description":"Raspberry Pi Irrigation System","archived":false,"fork":false,"pushed_at":"2024-11-24T13:27:51.000Z","size":1603,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T09:53:03.340Z","etag":null,"topics":["mqtt","python","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthias-bs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-05-31T16:03:32.000Z","updated_at":"2024-11-24T13:27:52.000Z","dependencies_parsed_at":"2025-02-05T09:53:10.015Z","dependency_job_id":"22aa6b92-82ee-43ec-b9d6-1d7b0dc7d448","html_url":"https://github.com/matthias-bs/Flora1","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthias-bs%2FFlora1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthias-bs%2FFlora1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthias-bs%2FFlora1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthias-bs%2FFlora1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthias-bs","download_url":"https://codeload.github.com/matthias-bs/Flora1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290583,"owners_count":20753724,"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":["mqtt","python","raspberry-pi"],"created_at":"2024-10-23T11:19:45.063Z","updated_at":"2026-05-09T10:36:49.136Z","avatar_url":"https://github.com/matthias-bs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![linting: pylint](https://github.com/matthias-bs/flora1/actions/workflows/pylint.yml/badge.svg)](https://github.com/matthias-bs/flora1/actions/workflows/pylint.yml)\n[![GitHub release](https://img.shields.io/github/release/matthias-bs/flora1?maxAge=3600)](https://github.com/matthias-bs/flora1/releases)\n[![License: GPLv3](https://img.shields.io/badge/license-GPLv3-green)](https://github.com/matthias-bs/flora1/blob/main/LICENSE)\n\n# flora1 \u0026mdash; Raspberry Pi Irrigation System\n\n\n![flora-1_188x300](https://user-images.githubusercontent.com/83612361/120393655-9590ad80-c332-11eb-8bba-2d2cbcf6389f.jpg)\n\n\n## Features\n* Plant status monitorig via [Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon](https://github.com/ThomDietrich/miflora-mqtt-daemon)\n* Tank low / tank empty status monitoring with XKC-Y25-T12V (Non-Contact Liquid Level Sensor)\n* Pump control (12 Volts) with [Infineon BTS621L1](https://www.infineon.com/cms/en/product/power/smart-low-side-high-side-switches/high-side-switches/classic-profet-12v-automotive-smart-high-side-switch/bts621l1-e3128a/) (Smart Two-Channel High-Side Power Switch)\n* Automatic and manual irrigation control with one or two pumps\n* Controlling and monitoring via MQTT \n\n\n## Dashboard with [IoT MQTT Panel](https://snrlab.in/iot/iot-mqtt-panel-user-guide) (Example)\n\n![IoTMQTTPanel_Flora-Control_400x580](https://user-images.githubusercontent.com/83612361/120223811-7adf0b80-c242-11eb-98a7-2d18f1335ca9.png)\n\n## Why is it called _flora1_?\n\nBecause _flora2_ is already in the works!\n\n## Notes\n\n### Starting with Linux systemd service\n\n#### Issue\n\nAfter updating from *Raspbian Buster* to Raspberry Pi OS *Debian Bookworm*, the service wouln't start. The reason was that some code in `lgpio` used for accessing GPIO pins tries to write into the working directory (see https://github.com/gpiozero/gpiozero/issues/1106), which was not permitted.\n\n#### Workaround\n\n* Split WorkingDirectory and RuntimeDirectory (see [09_software/template.service](https://github.com/matthias-bs/Flora1/blob/2-starting-via-linux-systemd-service-fails/09_software/template.service))\n  * WorkingDirectory=/var/run/flora/\n  * RuntimeDirectory=/opt/flora\n* Create `/var/run/flora` at startup (if will not persist if created manually!)\n  * See https://serverfault.com/questions/824393/var-run-directory-creation-even-though-service-is-disabled\n  * In `/usr/lib/tmpfiles.d/var.conf`:\u003cbr\u003e\n    add\u003cbr\u003e\n    `d /var/run/flora 0770 root daemon -`\n\n----\n\n## Disclaimer and Legal\n\n\u003e *Xiaomi* and *Mi Flora* are registered trademarks of *BEIJING XIAOMI TECHNOLOGY CO., LTD.*\n\u003e\n\u003e This project is a community project not for commercial use.\n\u003e The authors will not be held responsible in the event of device failure or withered plants.\n\u003e\n\u003e This project is in no way affiliated with, authorized, maintained, sponsored or endorsed by *Xiaomi* or any of its affiliates or subsidiaries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthias-bs%2Fflora1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthias-bs%2Fflora1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthias-bs%2Fflora1/lists"}