Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bulbeewipy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bulbeewipy

Python library to control Beewi SmartLight by Otio bulb in BLE

  • 1.0.4
  • PyPI
  • Socket score

Maintainers
1

BulBeewiPy

PyPI version

Python library to control Beewi by Otio smart lights. You can read and write this settings :

  • Brightness
  • White tone (Cold/Hot)
  • Color (R/G/B)
  • White/Color mode

Methods explanation

/!\ Each passed integer values must be in the range [0,255]

turnOn()

Turn on the light

turnOff()

Turn off the light

setWhite()

Toggle light in White mode

setColor(r:int, g:int, b:int)

Toggle light in Color mode and set the color in RGB

setBrightness(brightness:int)

Set the brightness of the light (works in white and color mode)

setWhiteWarm(warm:int)

Set the tone of the light if you want a cold or hot white. /!\ Only works in white mode

Example

    from  bulbeewipy  import BeewiSmartLight
    from  time  import  sleep
    b = BeewiSmartLight("D0:39:72:CC:AA:48")
    b.turnOn()
    sleep(8)
    b.turnOff()

Thanks

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc