govee_btled:用于控制廉价蓝牙RGB灯泡的Python包装器

时间:2021-05-28 12:17:39
【文件属性】:
文件名称:govee_btled:用于控制廉价蓝牙RGB灯泡的Python包装器
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-28 12:17:39
python energy bluetooth rgb led govee_btled 用于控制廉价蓝牙RGB灯泡的Python包装器。 问题中的LED是Govee H6001,在上的售价为13欧元。 我还注意到,它的名称为Minger H6001。 安装 需要Python 3。 在Linux上的Python 3.7下进行了测试。 也应该适用于Windows。 pip install -U git+https://github.com/Freemanium/govee_btled 用法 包装器使用与蓝牙接口,并且需要root权限。 有关实际的完整示例,请参见__main__.py 。 import time from govee_btled import BluetoothLED led = BluetoothLED ( '' ) led . set_state ( True ) led . set_colo
【文件预览】:
govee_btled-master
----govee_btled()
--------shades_of_white.py(2KB)
--------errors.py(258B)
--------__init__.py(103B)
--------bluetooth_led.py(4KB)
----__main__.py(1022B)
----setup.py(340B)
----README.md(6KB)
----.gitignore(31B)

网友评论