Bluetti: Difference between revisions

From wikipost
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
---
---


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


$ mkdir ~/bin

$ mkdir ~/bin/bluetti

$ cd /home/<user>/bin/bluetti
$ cd ~/bin/bluetti
$ python -m venv venv
$ python -m venv venv
$ . venv/bin/activate
$ . venv/bin/activate
Line 25: Line 22:


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


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


</pre>
</pre>

Revision as of 11:31, 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


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