Hi @zsiti, that’s all great, however I consider my BLE and related plugins still in beta. I’m waiting for some more response. I’m by no means a Coffeescript expert, this is actually my first proper implementation using that language, and it would be great if a fellow @developer could have a look at my code and give me feedback.
My idea behind channeling more users at your plugin was that the more people use it, the more feedback you get, and that way the plugin will get better and better
One thing I’m particularly interested in is if the values of the Mi Flora are consistent. I sometimes see some errors where the vaules of the light intensity and humidity seem to be switched, but I can’t find a bug in my code. Also the battery seems to drain a bit faster. Could you share your experiences on this?
I’ll be testing your plugin in parallel with the open-homeautomation miflora python script which was the base of my solution with parsing an output file with logwatcher. If I’ll find any inconsistencies, I’ll get back to you. In my experience if the polling time is frequent, it will cause fast battery draining. It depends on the needs of the user of course, but for me polling every hour is enough, and my sensors’ battery level drains very slow.
Could you make configurable poll time perhaps? EDIT: I see you’ve already implemented this in the latest version I’ll set my sensors to 1hr polling, and see if the battery drains fast or not.
Also the plugins can’t yet be found in the Pimatic plugin manager, actually the BLE plugin in there is an old, not working, one. So I also need to take some actions to make that work.
As you’ve mentioned by @Michael-Rudek if your plugin will be stable enough, you should push it to npm, so pimatic users can get is easier.
Your work on this is much appreciated by me, and I’m sure by the community as well