Bluetti: Difference between revisions

From wikipost
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:




<pre>



# apt-get install git mosquitto python3-pip
# apt-get install git mosquitto python3-pip
Line 25: Line 25:


update the MAC address in the 'start-bluetti-client' script
update the MAC address in the 'start-bluetti-client' script
</pre>

Revision as of 11:06, 28 September 2025

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



# apt-get install git mosquitto python3-pip

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

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



$ cd /home/<user>/bin/bluetti
$ python -m venv venv
$ . venv/bin/activate
$ pip3 install git+https://github.com/ftrueck/bluetti_mqtt


run 'bluetoothctl' to show the EB3A ID and MAC

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