A simplest and unofficial client command for leafee mag
It tested on Raspberry Pi Zero W with Raspbian Stretch.
$ sudo apt-get install python-pip libglib2.0-dev bluez-tools
$ sudo pip install bluepy
$ sudo hciconfig hci0 down
$ sudo btmgmt le on
$ sudo hciconfig hci0 up
$ wget https://gist.githubusercontent.com/mugifly/ccbd49bccaa57b8d98626f67437b618d/raw/mag.py
$ chmod u+x mag.py
$ sudo hcitool lescan
$ ./mag.py ff:ff:ff:ff:ff:ff
-
- This project allows you to build an unofficial hub (and WebAPI server) for leafee mag on your Raspberry Pi.
-
- This project allows you to easily make the home automation with using window / door status.
I made a custom component of Home Assistant for leafee mag.
Let's enjoy to home automation 😊
https://github.com/mugifly/homeassistant-leafeemag