在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):vshymanskyy/blynk-library-python开源软件地址(OpenSource Url):https://github.com/vshymanskyy/blynk-library-python开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):Python client for Blynk IoTNote: The library has been updated for Blynk 2.0. If you like Blynk - give it a star, or fork it and contribute! What is Blynk?Blynk provides iOS and Android apps to control any hardware over the Internet or directly using Bluetooth. You can easily build graphic interfaces for all your projects by simply dragging and dropping widgets, right on your smartphone. Blynk is the most popular IoT platform used by design studios, makers, educators, and equipment vendors all over the world. DownloadBlynk Mobile App: Google Play | App Store DocumentationSocial: Webpage / Facebook / Twitter / Kickstarter Usage exampleimport BlynkLib
# Initialize Blynk
blynk = BlynkLib.Blynk('YourAuthToken')
# Register Virtual Pins
@blynk.VIRTUAL_WRITE(1)
def my_write_handler(value):
print('Current V1 value: {}'.format(value))
@blynk.VIRTUAL_READ(2)
def my_read_handler():
# this widget will show some time in seconds..
blynk.virtual_write(2, int(time.time()))
while True:
blynk.run() Features
Ubuntu/Linux/Raspberry Pi installationpip install blynk-library-python For Blynk.Edgent Dynamic Provisioning, please see ESP32/ESP8266 installation
PyCom installation
Implementations for other platforms
LicenseThis project is released under The MIT License (MIT) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论