-
Notifications
You must be signed in to change notification settings - Fork 2
Getting general device information
Guido Schmitz edited this page Nov 7, 2020
·
3 revisions
The following snippets assume, that you already created a working instance of HomeControl and an instance of Mydevolo. Please see the page about connecting to the backend for further information.
First you need to find the device UID of the device you interested in - in this snippet called "Light" located in "Office". Then you can access various information of the device. Unfortunately they are sometimes incomplete.
device = homecontrol.devices.get(homecontrol.device_names.get("Light/Office"))
print(device.brand)
print(device.device_type)
print(device.identifier)
print(device.is_securely_included)
print(device.is_zwave_plus)
print(device.manufacturer_id)
print(device.name)
print(device.product_id)
print(device.product_type_id)
print(device.uid)
print(device.zwave_version)