Bluetti: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
--- |
--- |
||
⚫ | |||
⚫ | |||
⚫ | |||
$ mkdir ~/bin |
|||
$ mkdir ~/bin/bluetti |
|||
$ cd |
$ cd ~/bin/bluetti |
||
$ python -m venv venv |
$ python -m venv venv |
||
$ . 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 |
|||
Line 25: | Line 34: | ||
update the MAC address in the 'start-bluetti-client' script |
update the MAC address in the 'start-bluetti-client' script |
||
⚫ | |||
⚫ | |||
⚫ | |||
</pre> |
</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> ---