<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Plugins%2FMi_flower_mate</id>
	<title>Plugins/Mi flower mate - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Plugins%2FMi_flower_mate"/>
	<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Plugins/Mi_flower_mate&amp;action=history"/>
	<updated>2026-09-18T23:45:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Plugins/Mi_flower_mate&amp;diff=16211&amp;oldid=prev</id>
		<title>Walter vl: /* Introduction */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Plugins/Mi_flower_mate&amp;diff=16211&amp;oldid=prev"/>
		<updated>2021-06-23T11:50:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Introduction&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__FORCETOC__&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
This Python Plugin helps you take care of your plants using cheap bluetooth flower sensors that Xiaomi produces.&lt;br /&gt;
It can automatically scan for Flower Mate devices (default), or you can enter the mac addresses of the devices you want to use manually. In that case, enter the MAC address for each of your flower mates, separated by a comma, and the plugin does the rest. &lt;br /&gt;
The plugin will create 4 sensors (moisture, temperature, light, fertility score) for each Flower Mate.&lt;br /&gt;
It will also create a &amp;#039;master switch&amp;#039;. When you toggle it, it will request fresh data from the Flower Mates.&lt;br /&gt;
Now you can just set a timer for the switch in Domoticz for whatever time(s) you would like to get updated data.&lt;br /&gt;
Remember to allow Domoticz to create new devices for the first start.&lt;br /&gt;
&lt;br /&gt;
This plugin works with all sensors that have &amp;#039;flower mate&amp;#039; or &amp;#039;flower care&amp;#039; in there name (when bluetooth scanned, or that have C4:7C:8D: in BT mac address prefix), thus not only Xiaomi sensors.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
You need the Bluepy library to be installed. If you don&amp;#039;t mind that python 3.5 is installed, just enter these commands in the terminal:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install python3-pip libglib2.0-dev&lt;br /&gt;
  sudo pip3 install bluepy&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can try:&lt;br /&gt;
&lt;br /&gt;
  wget https://bootstrap.pypa.io/get-pip.py&lt;br /&gt;
  sudo python3 get-pip.py&lt;br /&gt;
  sudo python3 -m pip install bluepy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, install the plugin like any other plugin: [[Using_Python_plugins]]&lt;br /&gt;
&lt;br /&gt;
Download plugin from [https://github.com/flatsiedatsie/Mi_Flower_mate_plugin GitHub]&lt;br /&gt;
&lt;br /&gt;
If you are using the manual option, scan for your Flower Mates to find their mac-addresses by entering this command into a terminal:&lt;br /&gt;
&lt;br /&gt;
  sudo hcitool lescan&lt;br /&gt;
&lt;br /&gt;
Forum discussion for this plugin: https://www.domoticz.com/forum/viewtopic.php?p=273850&lt;br /&gt;
==External step by step==&lt;br /&gt;
&lt;br /&gt;
A step by step howto is available [https://www.sancla.com/domoticz/how-to-domoticz-and-mi-flora-plant-sensor/ here]&lt;/div&gt;</summary>
		<author><name>Walter vl</name></author>
	</entry>
</feed>