Originally posted by: <email address deleted>
Hi,
When now have a working fht8v and pid, I want to know if there is a
possible ingetration possible with the cul_fhttk?
So when de cul_fhttk window is open the PID must have than have a
window open temp, that is preffered over the desired temp?
Is this possible?? or??
regards Richard
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
> When now have a working fht8v and pid, I want to know if there is a
> possible ingetration possible with the cul_fhttk?
You can of course send me some patches, until then following might work:
attr global userattr windowOpenTemp windowClosedTemp
define n_temp_fhttk notify rommXfhttk:Window.* {\
if("%" =~ m/Open/) {\
fhem "attr roomXpid windowClosedTemp " .\
ReadingsVal("roomXpid", "desired", "20");;\
fhem "set roomXpid desired " .\
AttrVal("roomXpid", "windowOpenTemp", "5");;\
} else {\
fhem "set roomXpid desired " .\
AttrVal("roomXpid", "windowClosedTemp", "20");;\
}\
}
This is just the idea, I did not checked it for the exact wording.
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com