Re: Python plugin: Xiaomi Mi Flower Mate
Posted: Monday 26 April 2021 21:51
I will repeat the question stated in some post above - does this plugin work with Domoticz installed on Windows?
Open source Home Automation System
https://forum.domoticz.com/
Does not look so according the library issue where this plugin is based on: https://github.com/basnijholt/miflora/issues/51
HM31 wrote: ↑Tuesday 22 June 2021 20:11 Added these above icons in a new version (plus correction of conductivity device unit) in https://github.com/flatsiedatsie/Mi_Flower_mate_plugin
This plugin works with all sensors that have 'flower mate' or 'flower care' in there name (when bluetooth scanned, or that have C4:7C:8D: in BT mac address prefix), thus not only Xiaomi sensors.
?Flower Sensors: (Flower Sensors) poller error
Code: Select all
2021-08-09 12:35:14.195 Flower Sensors hardware started.
2021-08-09 12:35:14.591 Flower Sensors: (Flower Sensors) Manual mode is selected
2021-08-09 12:35:14.195 Status: Flower Sensors: (Flower Sensors) Started.
2021-08-09 12:35:14.195 Status: Flower Sensors: (Flower Sensors) Entering work loop.
2021-08-09 12:35:14.587 Status: Flower Sensors: (Flower Sensors) Initialized version 1.0.0, author 'blauwebuis'
2021-08-09 12:35:46.578 Flower Sensors: (Flower Sensors) amount of Flower Mates to now ask for data: 3
2021-08-09 12:35:46.573 Status: User: Admin (IP: 192.168.x.y) initiated a switch command (420/Flower Sensors - update Mi Flowermates/On)
2021-08-09 12:35:54.084 Flower Sensors: (Flower Sensors) getting data from sensor: C4:7C:8D:XX:XX:C4
2021-08-09 12:35:57.199 Flower Sensors: (Flower Sensors) moisture = 56
2021-08-09 12:35:57.204 Flower Sensors: (Flower Sensors) temperature = 26.0
2021-08-09 12:35:57.210 Flower Sensors: (Flower Sensors) light = 799
2021-08-09 12:35:57.216 Flower Sensors: (Flower Sensors) conductivity = 398
2021-08-09 12:36:04.081 Flower Sensors: (Flower Sensors) getting data from sensor: C4:7C:8D:YY:YY:E2
2021-08-09 12:36:36.433 Flower Sensors: (Flower Sensors) moisture = 53
2021-08-09 12:36:36.445 Flower Sensors: (Flower Sensors) temperature = 25.5
2021-08-09 12:36:36.456 Flower Sensors: (Flower Sensors) light = 496
2021-08-09 12:36:36.468 Flower Sensors: (Flower Sensors) conductivity = 1571
2021-08-09 12:36:36.659 Flower Sensors: (Flower Sensors) getting data from sensor: C4:7C:8D:ZZ:ZZ:2C
2021-08-09 12:37:49.174 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:37:49.175 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:37:49.175 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:37:49.175 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:37:49.175 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:37:49.175 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:38:03.186 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:38:03.186 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:38:03.186 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:38:03.186 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:38:03.187 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:38:03.187 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:38:17.190 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:38:17.190 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:38:17.190 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:38:17.191 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:38:17.191 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:38:17.191 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:38:31.194 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:38:31.195 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:38:31.195 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:38:31.195 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:38:31.195 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:38:31.196 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:38:37.801 Flower Sensors: (Flower Sensors) poller error
2021-08-09 12:38:45.199 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:38:45.199 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:38:45.199 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:38:45.200 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:38:45.200 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:38:45.200 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:38:59.211 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:38:59.211 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:38:59.211 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:38:59.212 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:38:59.212 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:38:59.212 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:39:13.216 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:39:13.216 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:39:13.216 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:39:13.217 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:39:13.217 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:39:13.217 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:39:27.220 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:39:27.220 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:39:27.220 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:39:27.220 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:39:27.221 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:39:27.221 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:39:41.224 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:39:41.224 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:39:41.224 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:39:41.224 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:39:41.224 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:39:41.224 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:39:55.227 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:39:55.228 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:39:55.228 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:39:55.228 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:39:55.228 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:39:55.228 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:40:10.876 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:40:10.876 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:40:10.876 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:40:10.876 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:40:10.876 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:40:10.876 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:40:24.880 Error: APC UPS ES-350 hardware (19) thread seems to have ended unexpectedly
2021-08-09 12:40:24.880 Error: Piles hardware (23) thread seems to have ended unexpectedly
2021-08-09 12:40:24.880 Error: Aspirateur Papi hardware (28) thread seems to have ended unexpectedly
2021-08-09 12:40:24.881 Error: ASUS Mesh hardware (29) thread seems to have ended unexpectedly
2021-08-09 12:40:24.881 Error: Prise rideaux salon hardware (31) thread seems to have ended unexpectedly
2021-08-09 12:40:24.881 Error: Flower Sensors hardware (30) thread seems to have ended unexpectedly
2021-08-09 12:40:38.760 Flower Sensors: (Flower Sensors) error getting moisture data
2021-08-09 12:40:38.760 Flower Sensors: (Flower Sensors) error getting temperature data
2021-08-09 12:40:38.761 Flower Sensors: (Flower Sensors) error getting light data
2021-08-09 12:40:38.761 Flower Sensors: (Flower Sensors) Error getting conductivity data
... All returns to normal after that ...
HM31 wrote: ↑Monday 09 August 2021 18:58 Hi,
I'm facing a strange behavior when a sensor came out of scope. The plugin's thread seems to last very long (even after detecting a scan error) and all other Python threads seem to end unexpectedly during heartbeat execution (including Xiaomi Mi Flower Mate plugin itself). All return to normal after the end of the erroneous scan process. Until the next time.
Code: Select all
hcitool lescan
Code: Select all
2022-10-07 12:11:41.193 Status: User: Admin (IP: 192.168.XXX.YYY) initiated a switch command (45/Flower Mate - update Mi Flowermates/On)
2022-10-07 12:11:49.065 Flower Mate: getting data from sensor: <MAC-ADDRESS>
2022-10-07 12:11:49.069 Flower Mate: poller error
2022-10-07 12:13:25.162 Error: Flower Mate hardware (14) thread seems to have ended unexpectedly
I've installed the new update yesterday, and unfortunately the issue is still occurring. I am the only one to get this error?dorjey wrote: ↑Tuesday 08 March 2022 11:55 Hi All,
I have 2 Xiaomi Mi Flower Mate installed for a while, and I noticed a data inconsistency between what is displayed by Domoticz and what I receive from my device :
vs
Is there anyone experiencing this issue?
(domoticz v2022.1 but had the same issue with the previous version I remember)
,,, and of course after posting this it stops working.
If anyone else is still struggling, this might help.