I sometimes get the exact same values, as I have posted them a few posts above.
I could’nt solve the problem yet!
-
Xiaomi MiFlora plant sensor
-
Is anyone here using a raspberry pi 3 with it’s integrated BT module? I found some posts on the internet that tell this has a problem and to solve this you have to install from source with tools enabled. After many hours finding all the dependencies it compiled and I used btmgnt tool, but now I very often get “too many levels of symbolic links (40)”… well I will try a bt dongle at another raspberry as soon as this dongle arrives.
-
@Anduril
I also use RPI3 with the integrated BT-module. Currently Pimatic is connected with 4 Miflora plant sensors and runs without any problems. So I can’t confirm this.
I installed Raspbian with the PIXEL GUI. -
Mine stopped working properly a few days ago.
Most of the time I get these odd values “4804.2” for temperature and so on in combination with error 107, 16 and 37 -
@Freekwilly I can confirm, one of my sensors is sometimes measuring 4804.2°C in the past few days (on FW 2.8.6), my second sensor (which is on FW 2.7.0) doesn’t give false measurements.
-
Hey guys,
it really helped to wait for the new bluetooth dongle and use it on another rpi. Script is working great. As I use it on a remote rpi I use crontab to execute the script and copy the log via scp to my pimatic-rpi. Only problem is that the logreader device does not update when a new file is copied. Is that normal and do I have to update the logreader device manually?
When editing the device and saving it does an update to the newest values. -
@Anduril, which bluetooth dongle did you order? I still use an older RPi without buildin bluetooth, and like to add a dongle
-
@rrooggiieerr I just took one of the cheapest on amazon. So I can confirm that LogiLink BT0015 works, but I think all the others will do as well.
-
@Anduril, thanks! So that’s one with the CSR8510 chipset. I ordered a cheap one on eBay and will give it a try
-
I have also installed my first Plant Sensor. My approach to connect it to Pimatic has been a different variant.
I am quite a fan of MQTT and Node-RED. So I created a flow in Node-RED with a MQTT output and a log in my Influx database. So I can show the data in Grafana as well.
I have a trigger every 5 min but I might extend this.
By using a simple MQTT sensor in pimatic the data is shown:
And the Output in Grafana (For now only one plant:)
-
Found this Project at GitHub
https://github.com/demirhanaydin/node-mi-floraMaybe someone could implement this as a pimatic plugin?!
-
Hi, any way to tweet if a plant needs water or light or something else, like they did here?
https://www.open-homeautomation.com/2016/08/31/let-your-plant-twitter-if-it-needs-to-be-watered/ -
I use rpi-miflora-mqtt and use Pushbullet for notification. For twitter and other services, mqttwarn can be used.
Pimatic = Smart Home
-
@wutu Ok, thanks i’ll check it out.
-
@real1 I have used a telegram bot. Works very well and you can also request the status from within telegram.
-
Im kind a new to pimatic and am struggling with the rules to send. I’ve tried telegram and its easy to set up, but cant figure out the rules to send the valors of miflora to telegram
-
@real1 Hi I have bypassed the pimatic in this case. Although I think it can be done as well maybe with more effort.
I am using node red for the Reading and sending part and I am Reading the values of the sensors via a python script. As I have six of them it would be to much effort to put this in rules in pimatic. If you like I can send you more info on the setup.
-
@dynamite ok, please. I read the values of miflora via a py script too i followed @zsiti instructions and created demo1.py, all good in pimatic, and values show ok. Currently waiting for a new sensor and that’s the easy part
My idea was to send values to telegram for example. (I would prefer tweeter, but i think you can forward those messages later). I created the bot and can communicate with pimatic. But if it’s outside pimatic all good for me.
Thanks for the help -
@real1 I have become quite a fan of nodered. It is very easy to install besides your Pimatic. With the plugin of @mwittig you can also make a good connection with pimatic. (If required)
Basically what I did: I have a trigger every 15min I have a small function containing the mac addresses of the sensors and the lower limit of moisture content. These values are pushed into the python script. The result of this script is push into MQTT, influxdb and if the moisture content is below the lower limit a message is sent to telegram. As there is also a twitter plugin (as far as I know), so sending to twitter will not be a problem.
May sound complicated but the actual setup in nodered is quite easy.If I send a command /plant to my telegram bot the procedure above is triggered as well and the outcome of the python script is forwarded to telegram. This giving an actual status of the various plants on my phone.
You can also import the values from Pimatic and do the sending part within nodered.