flatsiedatsie / Mi_Flower_mate_plugin

A plugin for Domoticz, the open source home automation software, which allows it to easily connect to Xiaomi Mi Flower Mate devices
GNU General Public License v3.0
13 stars 5 forks source link

Update plugin.py #8

Closed SzemiSun closed 5 years ago

SzemiSun commented 5 years ago

Report FlowerMate Moisture sensor as an humidity sensor

lboue commented 5 years ago

It works fine for me wih this patch:

2019-04-07 17:38:43.386  Status: User: Admin initiated a switch command (280/Flower - update Mi Flowermates/On)
2019-04-07 17:38:43.434  (Flower) amount of Flower Mates to now ask for data: 2
2019-04-07 17:38:52.957  (Flower) getting data from sensor: C4:7C:8D:65:EA:**
2019-04-07 17:38:56.771  (Flower) moisture = 12
2019-04-07 17:38:56.792  (Flower) temperature = 20.9
2019-04-07 17:38:56.803  (Flower) light = 697
2019-04-07 17:38:56.813  (Flower) conductivity = 11
2019-04-07 17:39:06.336  (Flower) getting data from sensor: C4:7C:8D:65:E9:**
2019-04-07 17:39:09.196  (Flower) moisture = 23
2019-04-07 17:39:09.215  (Flower) temperature = 21.7
2019-04-07 17:39:09.225  (Flower) light = 598
2019-04-07 17:39:09.235  (Flower) conductivity = 61