microBees Python Library
Project description
Official microBees Python Library
Used as a wrapper dependency in the Home Assistant integration.
Version
0.3.3
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)
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
microBeesPy-0.3.3.tar.gz
(5.6 kB
view details)
File details
Details for the file microBeesPy-0.3.3.tar.gz
.
File metadata
- Download URL: microBeesPy-0.3.3.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b69c3031fde8301668b5315e7a2f4d5070c58789aaa46a79becef56ab6f7f42 |
|
MD5 | 1f25a324e8e4882dd2d3a608575f7af0 |
|
BLAKE2b-256 | 3be4519f20b706b43e726a8db803b4e1966d8e52f8d6e3093dbf280e6faebcec |