Scott,
Is there a way I can adjust the 'Sleep Time' value of a 'Sleep Timer' via a software remote? I tried using a slider but this seems to only return a numeric value which causes a parsing error. I also tried using a 'Property Edit' control but that also caused a parsing error.
Thanks,
Mark
Adjusting Sleep Time via software remote
-
- Member
- Posts: 71
- Joined: Thu Jul 03, 2003 8:53 am
- Location: Raleigh, NC
- Contact:
I tried to do something similar (see this post: http://www.meedio.com/forum/viewtopic.p ... highlight=) and found that I need to script the increment/decrement. The script and the remote that uses it is in the TV Guide example configuration that I sent to Scott, but I'm not sure what happened to it/where you can get it since the acquisition.
The script basically just adds 30 minutes to a timer when one button is pressed, and decrements 30 minutes if another button is pressed. Not as elegant as a slider, but it works.
The script basically just adds 30 minutes to a timer when one button is pressed, and decrements 30 minutes if another button is pressed. Not as elegant as a slider, but it works.
I had tried that but when I set multiple states they seemed to disappear when I save the theme. I would only have one of the states I had created when I opened it back up to edit again.
I just tried it again... Apparently I forgot to set the button image for the additional states which must be why they disappeared.
:roll:
Now it never seems to change state. I modified the multi state button so it has different text depending on what state it is in and the text shown does not match the state that should be shown based on the current value of the sleep time property.
It would be nice if there was a time entry method from a software remote. I was using this to set the time a circulator runs for preventing ice from forming around the dock at my lake house. I have a camera so I can view the docks when I'm not there and I want to be able to adjust the length of time the circulator runs based on what I see.
The sleep time works great for controling this but is a bit hard to adjust via the remote. Since I only need fairly coarse control I can make it work with either my row of buttons or the multistate one as you suggest if I can get it to work right.
Mark
I just tried it again... Apparently I forgot to set the button image for the additional states which must be why they disappeared.
:roll:
Now it never seems to change state. I modified the multi state button so it has different text depending on what state it is in and the text shown does not match the state that should be shown based on the current value of the sleep time property.
It would be nice if there was a time entry method from a software remote. I was using this to set the time a circulator runs for preventing ice from forming around the dock at my lake house. I have a camera so I can view the docks when I'm not there and I want to be able to adjust the length of time the circulator runs based on what I see.
The sleep time works great for controling this but is a bit hard to adjust via the remote. Since I only need fairly coarse control I can make it work with either my row of buttons or the multistate one as you suggest if I can get it to work right.
Mark
I can make a multi-state button to change the sleep timer 'Running' property and it works just fine. It doesn't seem to work when trying to modify the sleep timer 'Sleep Time' property. It seems to always think it is in the default state even when the sleep time property matches one of the other state values. Seems to be a problem with testing the matching values of the sleep time property.
Have you tried a multi-state button controling the sleep time property? If so could you send me an example theme?
Mark
Have you tried a multi-state button controling the sleep time property? If so could you send me an example theme?
Mark