Skip to main content

A library to communicate with UberSolar devices

Project description

Donate Upload Python Package

Library to control UberSolar UberSmart devices.

Command line interface

The package ships with a simple CLI that can scan for nearby UberSolar devices and run a few built-in actions for testing.

  1. Install the package: pip install PyUbersolar
  2. Run the CLI module: python -m pyubersolar [options]

If you omit --address, the command scans for all discoverable devices and prints their status. Provide an address to target a specific device (use the address shown in the discovery output).

Options

  • --address <address> – Bluetooth address (MAC or UUID on macOS) of the device to connect to.
  • --switch <hex> – Send a raw switch payload (for example 0600000002). This toggles the device switches after connecting.
  • --wifiap – Enable the Wi-Fi AP mode on the device.
  • --time – Set the device clock to the current system time.
  • -d, --debug – Enable verbose debug logging.

All actions that modify the device (--switch, --wifiap, --time) require that you also provide --address.

Example: python -m pyubersolar --address AA:BB:CC:DD:EE:FF --time --debug

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

pyubersolar-0.1.5.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

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

pyubersolar-0.1.5-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file pyubersolar-0.1.5.tar.gz.

File metadata

  • Download URL: pyubersolar-0.1.5.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyubersolar-0.1.5.tar.gz
Algorithm Hash digest
SHA256 914932cc58f3b11217eb8a6867299d9accdf2dd4b14cc3f3cd990218761d0d0c
MD5 529493f3d3c8e6054c7d9331508738cf
BLAKE2b-256 93bb93489eac7c140be31aa6390649eaa9bab8380f8b7d467f2d515b362562b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyubersolar-0.1.5.tar.gz:

Publisher: python-publish.yml on RenierM26/pyUbersolar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyubersolar-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pyubersolar-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyubersolar-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f72d5a00e062459420e347f2db36a7ba845a3b54bf917d19b13e38367b66f41e
MD5 785f70cd795d804e4eefd73a3546012f
BLAKE2b-256 43b827a60e8bd7eb1910501aa65c9201508bf68a314f617b1e42dc1ac56ecb2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyubersolar-0.1.5-py3-none-any.whl:

Publisher: python-publish.yml on RenierM26/pyUbersolar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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