mvalla / openhab-addons

Add-ons for openHAB
Eclipse Public License 2.0
24 stars 16 forks source link

Add what parameter to lighting #79

Open Gozilla01 opened 5 years ago

Gozilla01 commented 5 years ago

Purpose: Over current ON or OFF have the option of timed ON

Add parameter what to the bus_on_off_switch and on_off_switch with the following values:

name : what type: integer default: 0 required: true select with options : 0 | Turn on / off 11 | ON timed 1 Min 12 | ON timed 2 Min 13 | ON timed 3 Min 14 | ON timed 4 Min 15 | ON timed 5 Min 16 | ON timed 15 Min 17 | ON timed 30 Sec 18 | ON timed 0.5 Sec 20 | Blinking on 0.5 sec 21 | Blinking on 1 sec 22 | Blinking on 1.5 sec 23 | Blinking on 2 sec 24 | Blinking on 2.5 sec 25 | Blinking on 3 sec 26 | Blinking on 3.5 sec 27 | Blinking on 4 sec 28 | Blinking on 4.5 sec 29 | Blinking on 5 sec

mvalla commented 5 years ago

We do not want to expose to users the details of OWN protocols and prameters. Can you suggest a more user friendly way to add some parameters to the Thing to support timed-on and blinking?