c5n/oh-ez-touch

Idea about display preferences

Opened this issue · 0 comments

Saw there are some preferences could only be set via webinterface.

An idea: If the sitemap contains a "predefined" area with predefined items, they could used to change those values via openhab?

like

Text label="EZ-Touch-Name_Settings" {
Switch item="EZ-Touch-Name_DayligtSaving"
Default item="EZ-Touch-Name_LCDtimeout"
Default item="EZ-Touch-Name_LCDnormalBrightness"
Default item="EZ-Touch-Name_LCDdimBrightness"
Switch item="EZ-Touch-Name_Beeper
}

So if the Display founds the label of its name added with "_Settings" it could read the predefined Items and then use it for configuration.

The EZ-Touch-Name is just to be able to set different Settings if using more than one display.