A python API relying on the BLED112 to talk to the Mooshimeter
python -m pip install pyserial
- Get the file bglib.py : sdfg <<< this is a direct file link - (source https://github.com/jrowberg/bglib/tree/master/Python)
- Save bglib.py to EITHER - this folder - in your Python Lib directory (usually C:/PythonXX/Lib)
This script is meant to demonstrate use of the Mooshimeter and BGWrapper classes. The script does the following:
- Scan for BLE devices
- Filter for Mooshimeters
- Connect to the Mooshimeter with strongest signal
- Configure the meter to read Voltage in 60V range and Current in 10A range
- Begin streaming data and printing the results to the console