tobof / openhab-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 2.0
39 stars 30 forks source link

VAR1,...,VAR5 channel on every thing #95

Closed andreacioni closed 6 years ago

andreacioni commented 6 years ago

Issue opened due to a lot of people asking for this feature on:

fab33 commented 6 years ago

I don't think it's a good idea. You can add childId with variables you need.

andreacioni commented 6 years ago

Yes you could. But not I'm not sure it is the best approach. If we use your suggested solution we must consider, in order to avoid confusion, to remove channels var1,...,var5 from all things that already define them (i.e. humidity, temperature, waterMeter, etc...). Clearly we must keep 'customSensor' because it will be the one that holds var1,...,var5 channels. By now I've not idea what is the best way, but I believe that we have only 2 possibilities:

micktech commented 6 years ago

It would be great to have this option available. The irrigation sketch I am using has 8 binary outputs, all with variable1-3 in use for times/naming. Creating a childid for each zone variable would mean 24+ new child IDs, It would be much neater having var1-5 available as things.