A library to communicate with UberSolar devices
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
914932cc58f3b11217eb8a6867299d9accdf2dd4b14cc3f3cd990218761d0d0c
|
|
| MD5 |
529493f3d3c8e6054c7d9331508738cf
|
|
| BLAKE2b-256 |
93bb93489eac7c140be31aa6390649eaa9bab8380f8b7d467f2d515b362562b2
|
Provenance
The following attestation bundles were made for pyubersolar-0.1.5.tar.gz:
Publisher:
python-publish.yml on RenierM26/pyUbersolar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyubersolar-0.1.5.tar.gz -
Subject digest:
914932cc58f3b11217eb8a6867299d9accdf2dd4b14cc3f3cd990218761d0d0c - Sigstore transparency entry: 660585232
- Sigstore integration time:
-
Permalink:
RenierM26/pyUbersolar@d2299e8247df7203efa615100fe84d392ac6fc48 -
Branch / Tag:
refs/tags/0.1.5 - Owner: https://github.com/RenierM26
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d2299e8247df7203efa615100fe84d392ac6fc48 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f72d5a00e062459420e347f2db36a7ba845a3b54bf917d19b13e38367b66f41e
|
|
| MD5 |
785f70cd795d804e4eefd73a3546012f
|
|
| BLAKE2b-256 |
43b827a60e8bd7eb1910501aa65c9201508bf68a314f617b1e42dc1ac56ecb2a
|
Provenance
The following attestation bundles were made for pyubersolar-0.1.5-py3-none-any.whl:
Publisher:
python-publish.yml on RenierM26/pyUbersolar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyubersolar-0.1.5-py3-none-any.whl -
Subject digest:
f72d5a00e062459420e347f2db36a7ba845a3b54bf917d19b13e38367b66f41e - Sigstore transparency entry: 660585235
- Sigstore integration time:
-
Permalink:
RenierM26/pyUbersolar@d2299e8247df7203efa615100fe84d392ac6fc48 -
Branch / Tag:
refs/tags/0.1.5 - Owner: https://github.com/RenierM26
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d2299e8247df7203efa615100fe84d392ac6fc48 -
Trigger Event:
release
-
Statement type: