Hi
If I read the command ref correct the TRX_light supports on-for-timer
When I try
{ set Lamp2 on-for-timer +00:00:02 }
I get an error when parsing the command. I know there was a discussion this may only work for blinds, but even changing the definition from light to blind didn't solve the issue.
Anybody an idea what my error is?
Ps, I know that the KlikUitKlikUit devices don´t support a timer so it must be implemented in software and that I could do this myself with an at command. But using on-for-timer would make my code easier.
{HT}
The error message
Timespec (HH:MM[:SS]) needed for the on-for-timer command
should give you a hint.
Try
set Lamp2 on-for-timer 00:00:02
Just omit the + sign.
I will put some samples and explanations into commandref for this...
To my apologize: Wehn I implemented this, the description for on-for-timer was different.
-- Willi
Thanks for the help. Actually I made another mistake too so I didn't came so far to get an error message. But it works now.
Not especially important for me, but when used for blinds, I think if you have on-for-timer it is logical if there is also an off-for-timer.
{HT}