{"id":31804336,"url":"https://github.com/flatsiedatsie/mi_flower_mate_plugin","last_synced_at":"2025-10-11T01:57:33.807Z","repository":{"id":49589142,"uuid":"122062067","full_name":"flatsiedatsie/Mi_Flower_mate_plugin","owner":"flatsiedatsie","description":"A plugin for Domoticz, the open source home automation software, which allows it to easily connect to Xiaomi Mi Flower Mate devices","archived":false,"fork":false,"pushed_at":"2023-02-20T12:26:51.000Z","size":136,"stargazers_count":13,"open_issues_count":3,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2023-02-28T11:02:42.932Z","etag":null,"topics":["bluetooth-low-energy","domoticz","flower-mate-devices","plants","plugin","python-plugin","xiaomi","xiaomi-smart-home"],"latest_commit_sha":null,"homepage":null,"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/flatsiedatsie.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}},"created_at":"2018-02-19T12:53:10.000Z","updated_at":"2023-02-20T12:26:56.000Z","dependencies_parsed_at":"2022-08-30T22:53:21.188Z","dependency_job_id":null,"html_url":"https://github.com/flatsiedatsie/Mi_Flower_mate_plugin","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/flatsiedatsie/Mi_Flower_mate_plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatsiedatsie%2FMi_Flower_mate_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatsiedatsie%2FMi_Flower_mate_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatsiedatsie%2FMi_Flower_mate_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatsiedatsie%2FMi_Flower_mate_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flatsiedatsie","download_url":"https://codeload.github.com/flatsiedatsie/Mi_Flower_mate_plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatsiedatsie%2FMi_Flower_mate_plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005924,"owners_count":26083989,"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-10T02:00:06.843Z","response_time":62,"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":["bluetooth-low-energy","domoticz","flower-mate-devices","plants","plugin","python-plugin","xiaomi","xiaomi-smart-home"],"created_at":"2025-10-11T01:56:55.688Z","updated_at":"2025-10-11T01:57:33.798Z","avatar_url":"https://github.com/flatsiedatsie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mi_Flower_mate_plugin\n\nThis plugin is no longer maintained, as I am now using https://www.candlesmarthome.com\n\nA plugin for Domoticz, the open source home automation software, which allows it to easily connect to Xiaomi Mi Flower Mate devices. To be noted : it may also works for other sensors than Xiaomi like E-Greetshopping (https://www.amazon.ca/Greetshopping-Monitor-Moisture-Detector-Suitable/dp/B08X2B18R5) or others that are compliant with Android Flower care App for instance (https://play.google.com/store/apps/details?id=com.huahuacaocao.flowercare\u0026hl=en\u0026gl=US)\n\nThese are Bluetooth LE plant monitoring devices which cost about 12 dollars. They last up to a year on a coincell battery, and measure moisture, temperature, light and conductivity.\nhttps://wiki.hackerspace.pl/projects:xiaomi-flora\n\nThe plugin creates a special switch. Toggle the switch to get fresh data from all sensors. By having a switch to poll for new data, it becomes easy to create timers and other fun integrations in scripts. Remember that frequent polling results in draining batteries of the devices.\n\nThe plugin also creates for each sensor 4 devices :\n\n    A Temperature device for the air temperature read from the sensor\n    A Moisture device for the soil humidity percentage read from the sensor\n    A Light device for reading the number of Lux from the sensor\n    A Conductivity device for reading the \"soil fertility\" from the sensor (micro Siemens by centimeter)\n  \n\nThe plugin now also has an \"automatic\" mode, where it will do a bluetooth scan for devices everytime Domoticz starts, and automatically add new devices it finds.\n\n\n## Links\nDetailed installation instructions can be found on the Domoticz wiki:\nhttps://www.domoticz.com/wiki/Plugins/Mi_flower_mate\n\nDiscussion about the plugin can be found here:\nhttps://www.domoticz.com/forum/viewtopic.php?f=65\u0026t=22281\n\n\n## Installation (short version)\nInstall the plugin as usual. See: https://www.domoticz.com/wiki/Using_Python_plugins\n\nYou also need the Bluepy library to be installed.\n\nwget https://bootstrap.pypa.io/get-pip.py\u003cbr/\u003e\nsudo python3 get-pip.py\u003cbr/\u003e\nsudo python3 -m pip install bluepy\u003cbr/\u003e\n\nAlternatively, you can use apt-get, but might install python 3.5 as well. If you are trying to stay on python 3.4, use the wget method above.\n\n  sudo apt-get install python3-pip libglib2.0-dev\u003cbr/\u003e\n  sudo pip3 install bluepy\u003cbr/\u003e\n  \n\nIn automatic mode, the plugin will do bluetooth scans at startup, and integrate any Mi Flora Devices it finds. \n\nIn manual mode you can select which devices to add by entering their mac addresses on the hardware page. To find your Flower Mates' mac-addresses do a bluetooth scan:\n\n  sudo hcitool lescan\n\n\n\n## Thanks to\n\nThis plugin builds on the work by Daniel Matuschek, who created a great library for the Flower Mate devices.\u003cbr/\u003e\nhttps://pypi.python.org/pypi/miflora\n\nIt also builds on the original domoticz script created by Tristan:\u003cbr/\u003e\nhttps://github.com/Tristan79/miflora\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatsiedatsie%2Fmi_flower_mate_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflatsiedatsie%2Fmi_flower_mate_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatsiedatsie%2Fmi_flower_mate_plugin/lists"}