Bluetti: Difference between revisions

From wikipost
Jump to navigation Jump to search
(Created page with "Resources to get battery voltage and other stats from Bluetti Power Boxes on linux. pip install git+https://github.com/ftrueck/bluetti_mqtt")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:




<pre>
pip install git+https://github.com/ftrueck/bluetti_mqtt

# 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>
---


</pre>

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>
---