-
Notifications
You must be signed in to change notification settings - Fork 2
Getting general device information
Guido Schmitz edited this page Apr 29, 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". Then you can access various information of the device. Unfortunately they are sometimes incomplete.
device = homecontrol.devices.get(homecontrol.device_names.get("Light"))
print(device.brand)
print(device.deviceType)
print(device.identifier)
print(device.isZWavePlus)
print(device.manufacturerId)
print(device.name)
print(device.productId)
print(device.productTypeId)
print(device.zwaveVersion)