node-mi-flora icon indicating copy to clipboard operation
node-mi-flora copied to clipboard

Raspberry and Homebridge

Open marcotini opened this issue 8 years ago • 17 comments

Is it possibile to make this repo compatible with bluetooth of Raspberry Pi 3 and Homebridge?

marcotini avatar Jan 17 '17 15:01 marcotini

The library works with raspberry pi 3's bluetooth (I've used it with mine) but I have no experience with Homebridge before. I'll put your suggestion to the enhancement list.

demirhanaydin avatar Jan 17 '17 16:01 demirhanaydin

  • 1 for Homebridge plugin

MrRobotoGit avatar Feb 03 '17 23:02 MrRobotoGit

+2 for Homebridge plugin

astrojetson8 avatar Apr 17 '17 01:04 astrojetson8

Ok I did it 🥇

img_3763

marcotini avatar Apr 19 '17 10:04 marcotini

The code?

Il giorno 19 apr 2017, alle ore 12:10, Marco Tini [email protected] ha scritto:

Ok I did it 🥇

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

MrRobotoGit avatar Apr 19 '17 10:04 MrRobotoGit

@marcotini how did you manage that?

astrojetson8 avatar Apr 21 '17 23:04 astrojetson8

@marcotini any update on how you got it work? @demirhanaydin do you plan to update this for homebridge?

astrojetson8 avatar May 05 '17 06:05 astrojetson8

I have no intention to work on homebridge plugin right now but I'll be happy to review any pull request related with homebridge integration.

demirhanaydin avatar May 05 '17 10:05 demirhanaydin

@demirhanaydin thanks for the update hopefully @marcotini can share what he has done with us.

astrojetson8 avatar May 05 '17 11:05 astrojetson8

@astrojetson8 I've used Domoticz with two script bash with eDomoticz homebridge plugin. If you are interest I can upload the code!

marcotini avatar May 05 '17 16:05 marcotini

@marcotini thanks for the update. it would be great if you can...

astrojetson8 avatar May 06 '17 20:05 astrojetson8

@astrojetson8 to make it simple (now I don't have time to do a tutorial) install Homebridge, Domoticz and then the plugin eDomoticz.

Clone this https://github.com/marcotini/miflora/ inside /home/domoticz/scripts and create virtual sensor (button and the 5 of the flora, temp, lux etc). Edit the demo.py with your MAC and the IDX of the sensor that you have create with Domoticz and than make the cron of flora.sh every 30 min.

I hope this can help.

marcotini avatar May 09 '17 15:05 marcotini

@marcotini thanks! actually i got it to work too but i used home assistant instead. I'll checkout your code as well.

astrojetson8 avatar May 09 '17 22:05 astrojetson8

IMHO Home Assistant is bad and is not working like it should.

marcotini avatar May 10 '17 07:05 marcotini

Someone actually created a plugin https://github.com/lucavb/homebridge-mi-flora. Looks like it needs some work but that should get you started.

fredericfdran avatar Jun 20 '17 10:06 fredericfdran

@fredericfdran thanks, checking with him.

astrojetson8 avatar Aug 01 '17 08:08 astrojetson8

You could also check out mi-flower-care, an advanced fork.

honkmaster avatar Mar 16 '18 19:03 honkmaster