nonolk / domoticz_tahoma_blind

Domoticz plugin writen in Python to support Velux blinds using Tahoma/Connexoon
GNU General Public License v3.0
17 stars 10 forks source link

Script modification for Awning #5

Closed BG-Domoticz closed 4 years ago

BG-Domoticz commented 4 years ago

Whow, you did a great job and it was so easy to implement to Domoticz!

I made a small adjustment to your plugin.py file so my awning could also be found and operated. Use it to your advantage.

Awnings, garage doors, screens, blinds, and windows things have the same notation as roller shutters. Just use "awning", "garagedoor", "screen", "blind" or "window" instead of "rolleshutter" in thing definition.

Line in your script was:
if ((device["uiClass"] == "RollerShutter") or (device["uiClass"] == "ExteriorScreen")):

Line in my script is now: if ((device["uiClass"] == "RollerShutter") or (device["uiClass"] == "ExteriorScreen") or (device["uiClass"] == "Awning")):

nonolk commented 4 years ago

Hello,

Thank you for your input, I'm working on a new version, and I will include your info.

Best regards,

nonolk commented 4 years ago

My only problem is the available kind of devices in Domoticz see there: https://www.domoticz.com/wiki/Developing_a_Python_plugin#Available_Device_Types

nonolk commented 4 years ago

Solved by version 1.0.4 who add support for several new type of devices, see on homepage for the complete list.