bshlocal-0.0.7


توضیحات

Bosch Smart Home Local API Python Library
ویژگی مقدار
سیستم عامل OS Independent
نام فایل bshlocal-0.0.7
نام bshlocal
نسخه کتابخانه 0.0.7
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Clemens-Alexander Brust
ایمیل نویسنده cabrust@pm.me
آدرس صفحه اصلی https://github.com/cabrust/bshlocal
آدرس اینترنتی https://pypi.org/project/bshlocal/
مجوز -
# Bosch Smart Home Local API Python Library This library implements the local communication REST API for the Bosch Smart Home system. The API documentation is available [here](https://github.com/BoschSmartHome/bosch-shc-api-docs). It supports both long and short polling. The following device services are implemented: * ```TemperatureLevel``` * ```ValveTappet``` * ```ShutterContact``` * ```RoomClimateControl``` Example: ```python import bshlocal # Create session session = bshlocal.BSHLocalSession(controller_ip="192.168.25.51", certificate='cert.pem', key='key.pem') device = session.device('roomClimateControl_hz_5') service = device.device_service('TemperatureLevel') print(service.temperature) # Update this service's state service.short_poll() # Start long polling thread in background session.start_polling() # Do work here ... # Stop polling session.stop_polling() ```


نیازمندی

مقدار نام
==2.22 requests


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl bshlocal-0.0.7:

    pip install bshlocal-0.0.7.whl


نصب پکیج tar.gz bshlocal-0.0.7:

    pip install bshlocal-0.0.7.tar.gz