Official microBees Python Library
Used as a wrapper dependency in the Home Assistant integration.
Version
0.3.5
Installation
>>> pip3 install microBeesPy
Getting Started
Go to https://developers.microbees.com/dashboard/ and register your developer App. Use CLIENTID and CLIENT SECRET generated.
Example basic usage
>>> microBees = MicroBees("my-client-id","my-secret")
>>> token = await microBees.login("mymicrobeesaccount@microbees.com","mypassword") //this will return the access_token
>>> bees = await microBees.getBees() // this will return the list of bees connected to mymicrobeesaccount@microbees.com
>>> cmdRes = await microBees.sendCommand(actuatorId,relayValue) //set the actuatorId to relay value (0 to off, 1 to on, 1000 to turn on for 1 second)
Support
If you find a bug, have any questions about how to use this SDK or have suggestions for improvements then feel free to file an issue on the GitHub project page https://github.com/microBeesTech/pythonSDK.
License
(MIT License)
Metadata
Release files for microBeesPy 0.3.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 | |
|---|---|---|---|
| microBeesPy-0.3.5.tar.gz | 6.9 kB | Details |
Release files / microBeesPy-0.3.5.tar.gz
| Download URL | microBeesPy-0.3.5.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94bf74d7e038ef401ae111b09b7ebcfacaeba1dfa7dd32ce208ae6e5e12147a4
|
|
BLAKE2b-256 checksum How to use checksums |
b43a9f90afdd1cd084fff05aef72e6f45e03e6db0baaa081661438f8859b3cdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.6
|