Skip to content

Latest commit

 

History

History
executable file
·
46 lines (36 loc) · 935 Bytes

NOTES.md

File metadata and controls

executable file
·
46 lines (36 loc) · 935 Bytes

config.yaml

mqtt add on

RPI Dev

RaspiOS ships with python3 >= 3.9, so you just need to install pip3: sudo raspi-config # set locale sudo apt update && sudo apt install -y python3-pip git

cd batmon-ha
pip3 install -r requirements
echo "PATH=$PATH:/home/pi/.local/bin" >> ~/.bashrc
bleak-lescan

Bluetooth Tools

Scan bleak-lescan

bluetoothctl 
connect C8:47:8C:F7:AD:B4

Explore BLE Device Services:

bleak/examples/service_explorer.py

Mqtt

  • SoC
  • Current
  • Charge
  • Capacity
  • Device info
  • Switches
  • Voltages