Skip to main content

microBees Python Library

Project description

Official microBees Python Library

Used as a wrapper dependency in the Home Assistant integration.

Version

0.0.1

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


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.1.1.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file microBeesPy-0.1.1.tar.gz.

File metadata

  • Download URL: microBeesPy-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for microBeesPy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e88445897a05e07b94abc0b0b0eb823bb5e1e4c1fecc394145c80233f9b81d0f
MD5 68f6b208240f23dea1826536d4710759
BLAKE2b-256 2ef356188b13798a3513245e0d5eebf028058e9b8976a7710c60254d61bfb7f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page