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.
- Install the package:
pip install PyUbersolar - 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 example0600000002). 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
Metadata
Release files for pyubersolar 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyubersolar-0.1.5.tar.gz | 13.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyubersolar-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.1 kB
Release files / pyubersolar-0.1.5.tar.gz
| Download URL | pyubersolar-0.1.5.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
914932cc58f3b11217eb8a6867299d9accdf2dd4b14cc3f3cd990218761d0d0c
|
|
BLAKE2b-256 checksum How to use checksums |
93bb93489eac7c140be31aa6390649eaa9bab8380f8b7d467f2d515b362562b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2025.
Transparency logRelease files / pyubersolar-0.1.5-py3-none-any.whl
| Download URL | pyubersolar-0.1.5-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f72d5a00e062459420e347f2db36a7ba845a3b54bf917d19b13e38367b66f41e
|
|
BLAKE2b-256 checksum How to use checksums |
43b827a60e8bd7eb1910501aa65c9201508bf68a314f617b1e42dc1ac56ecb2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2025.
Transparency log