Skip to main content

Bluetti BT

Project description

bluetti-bt-lib

Inofficial Library for basic communication to bluetti powerstations. Core functions based on https://github.com/warhammerkid/bluetti_mqtt

Disclaimer

This library is provided without any warranty or support by Bluetti. I do not take responsibility for any problems it may cause in all cases. Use it at your own risk.

Installation

pip install bluetti-bt-lib

Commands for testing

Scan for supported devices

usage: bluetti-scan [-h]

Detect bluetti devices by bluetooth name

options:
  -h, --help  show this help message and exit

Detect device type by mac address

usage: bluetti-detect [-h] mac

Detect bluetti devices

positional arguments:
  mac         Mac-address of the powerstation

options:
  -h, --help  show this help message and exit

Read device data for supported devices

usage: bluetti-read [-h] [-m MAC] [-t TYPE] [-e ENCRYPTION]

Detect bluetti devices

options:
  -h, --help            show this help message and exit
  -m MAC, --mac MAC     Mac-address of the powerstation
  -t TYPE, --type TYPE  Type of the powerstation (AC70 f.ex.)
  -e ENCRYPTION, --encryption ENCRYPTION
                        Add this if encryption is needed

Supported Powerstations and data

Validated

Device Name total_battery_percent dc_input_power ac_input_power dc_output_power ac_output_power
AC70
AC180
EB3A
EP600 PV Grid AC Phases
Handsfree 1

Added and mostly validated by contributors (some are moved here from the HA Integration https://github.com/Patrick762/hassio-bluetti-bt):

Device Name Contributor total_battery_percent dc_input_power ac_input_power dc_output_power ac_output_power
AC2A @ruanmed
AC60 @mzpwr
AC60P @mzpwr
AC70P @matthewpucc
AC180P @Patrick762
AC200L bluetti-mqtt
AC200M bluetti-mqtt
AC200PL @0x4E4448
AC300 bluetti-mqtt
AC500 bluetti-mqtt
EP500 bluetti-mqtt
EP500P bluetti-mqtt
EP760 @Apfuntimes PV Grid AC Phases
EP800 @jhagenk

Controls

Controls will be migrated to this library soon

Battery pack data

Data for battery packs will no longer be available in this library

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bluetti_bt_lib-0.0.4.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bluetti_bt_lib-0.0.4-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file bluetti_bt_lib-0.0.4.tar.gz.

File metadata

  • Download URL: bluetti_bt_lib-0.0.4.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for bluetti_bt_lib-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1cfa2a51fd0dac8389238effffb55ee61f0d22e0bca0726773665dcf38ba6761
MD5 dba76caff3b8c43cd12d0254fbcb8c26
BLAKE2b-256 5aad99abd71fca945020dac5c9d2a8ab0526705724ae5e52244f5f0de8dfb919

See more details on using hashes here.

File details

Details for the file bluetti_bt_lib-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: bluetti_bt_lib-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for bluetti_bt_lib-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d86dec61b52b48f757ed5172ffed4fee36e061a49d50dee10e7bc54741b792ea
MD5 2e18ba760024d7fc9b9e992dd8bac535
BLAKE2b-256 f6177d86960b50548677a11b0db1246da141773c2324b4ea9dbd1cd9f04c4039

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page