Hi, maybe a silly question, but I cannot figure it out.
On the webpage I want to have a button to Set the Temperature to Day or Night (or fixed value) of my FHT.
And/or set the desired-temperature to one of the possible options.
Now I have to go to the properties of the FHT or do the set command by hand.
But there should be a way to do this by a single button or someting from the main page.
Who can help?
martijn, you should probably have a look at readingsGroup (see especially this wiki sample (http://www.fhemwiki.de/wiki/ReadingsGroup#Heizungswerte.2C_Status_und_Regelm.C3.B6glichkeit) - from your point of view unfortunately in German only) - there is a variety of samples to combine readings and controls from single, list of, or selection of devices into an overview type of display.
Peter
I think, what you are looking for are the Attributes setList and webCmd like here:
KaffemaschineOverride
STATE Auto
TYPE dummy
Readings:
2015-10-09 08:00:00 state Auto
Attributes:
setList state:Auto,04:00,04:30,05:00,05:30,06:00,06:30,07:00,07:30,08:00
webCmd state
Stefan
Hi martijn
2 possibilities
1) DUMMY module
you can find examples at the end of
http://www.fhemwiki.de/wiki/Tecalor_THZ_Heatpump
search for FanSelector
the same can be done with slider or other inputs.
2) readingsProxy module
readingsProxy can do similar things in an easier way, if you do not need to save old status
define FanPassiveCooling readingsProxy Mythz:p75passiveCooling
attr FanPassiveCooling group THZ
attr FanPassiveCooling room pompa
attr FanPassiveCooling setFn {$CMD = "$READING $CMD"}
attr FanPassiveCooling setList 0 1 2
attr FanPassiveCooling webCmd 0:1:2
Zitat von: ph1959de am 17 November 2015, 11:48:28
martijn, you should probably have a look at readingsGroup (see especially this wiki sample (http://www.fhemwiki.de/wiki/ReadingsGroup#Heizungswerte.2C_Status_und_Regelm.C3.B6glichkeit) - from your point of view unfortunately in German only) - there is a variety of samples to combine readings and controls from single, list of, or selection of devices into an overview type of display.
Peter
Thank you Peter this is what I Needed.