Bluetti: Difference between revisions

From wikipost
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 17: Line 17:
$ . venv/bin/activate
$ . venv/bin/activate
$ pip3 install git+https://github.com/ftrueck/bluetti_mqtt
$ pip3 install git+https://github.com/ftrueck/bluetti_mqtt




(venv) me@host:~/bin/bluetti $ bluetti-mqtt --scan
Scanning....
Found EB3A2314000814597: address F4:D9:1A:B4:7F:04










Latest revision as of 11:33, 28 September 2025

Resources to get battery voltage and other stats from Bluetti Power Boxes on linux.



# apt-get install git bluez mosquitto python3-pip python3-venv

---[/etc/mosquitto/mosquitto.conf]---
allow_anonymous true
---


$ mkdir ~/bin
$ mkdir ~/bin/bluetti
$ cd ~/bin/bluetti
$ python -m venv venv
$ . venv/bin/activate
$ pip3 install git+https://github.com/ftrueck/bluetti_mqtt




(venv) me@host:~/bin/bluetti $ bluetti-mqtt --scan
Scanning....
Found EB3A2314000814597: address F4:D9:1A:B4:7F:04







run 'bluetoothctl' to show the EB3A ID and MAC

update the MAC address in the 'start-bluetti-client' script


---[/etc/rc.local]---
su -c "/home/<user>/bin/bluetti/start-bluetti-client &" <user>
---