Skip to main content

Bluetti BT

Project description

bluetti-bt-lib

Inofficial Library for basic communication to bluetti powerstations.

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

Controls

Controls will be migrated to this library soon

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.3.tar.gz (14.8 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.3-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bluetti_bt_lib-0.0.3.tar.gz
  • Upload date:
  • Size: 14.8 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.3.tar.gz
Algorithm Hash digest
SHA256 f6ccdb104ecf1fdc4ba55a86f09f8f90245a25a4382d898a00eec4029d5e8b9c
MD5 e5bfbfd41ce1975f7e10d3099dc3e0a9
BLAKE2b-256 48e3a74b523b81660694372dd5d6644bdafd4f0e0afb6cd432288f987067a5e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bluetti_bt_lib-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 26.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 393b044c5d325851cfbb01c4b4eaa992113cd24bc4517a8630ba2dc112539a4e
MD5 1989f096113511a6c394faff514b9bb8
BLAKE2b-256 dc3e6849570429c188e4cf3234e417f24b75f98fd1c962cd81f09f9f3fecf893

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