sunset/sunrise timed events
sunset/sunrise timed events
hi all, thought i was having trouble with only some timed events not triggering. it turns out that any that are linked to sunrise or sunset times dont "fire".
any related to absolute time no problem.
anyone seen this before and has a solution?
thanks Mark..
any related to absolute time no problem.
anyone seen this before and has a solution?
thanks Mark..
Re: sunset/sunrise timed events
Do you have your lattitude and longitude settings correct?
Osler
Osler
Re: sunset/sunrise timed events
set up perfectly (thanks to google earth). i have some events like outside lights that come on at sunset and then turn off at say 00.30am. i have to turn them on manually in housebot but they turn off with no intervention.
odd..
odd..
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: sunset/sunrise timed events
What are your sunset and sunrise times giving you? Are those times correct? If not, you input the wrong coordinates or the right coordinates in a wrong way. If the times are correct, something else is wrong. First things first..
Re: sunset/sunrise timed events
as of today sunset 8.09pm and sunrise 6.48am. i am also logging the data and nothing happens at the appointed time. so it seems to be housebot and not a problem with the commands getting to devices.
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: sunset/sunrise timed events
Can you show a sample of your task which is supposed to switch the light at sunset? Those times are valid, so your coordinates are not at fault here.
Re: sunset/sunrise timed events
if ('System Time.Sunset Time' is Equal '9/22/2008 8:04 pm' ) Then
Change 'Outside Lights.Power State'to 'On'
Else If ('System Time.Time Without Seconds' is Equal '0.00' ) Then
Change 'Outside Lights.Power State' to 'Off'
had to type it but that is it basically.
have another one but think it is on civil sunset as the times are slightly different to this one.
Change 'Outside Lights.Power State'to 'On'
Else If ('System Time.Time Without Seconds' is Equal '0.00' ) Then
Change 'Outside Lights.Power State' to 'Off'
had to type it but that is it basically.
have another one but think it is on civil sunset as the times are slightly different to this one.
Re: sunset/sunrise timed events
Make sure that the Tasks are not stuck in a 'Running' state. If a Task is currently running, it won't run it again.
Scott
Re: sunset/sunrise timed events
sorry to be an idiot. how do i check this?
Re: sunset/sunrise timed events
If you click on 'Tasks' in the main tree view, it will display all of the tasks with their current state shown in the list. They are either 'Waiting', 'Disabled', or 'Running'. If you click on the 'State' name in the header, it will sort the tasks into these categories. Typically Tasks don't run for long, so if you see any in the Running state, that may indicate a problem.
Scott
Re: sunset/sunrise timed events
I think the problem is with the first "if" since 'System Time.Sunset Time' changes each day and will rarely if ever equal '9/22/2008 8:04 pm'
Try:
if('System Time.Sunrise Indicator' is Equal '0')
This is what I use for events at sunset. For sunrise check for equal to '1'
Also check your off time I'm not sure if 'System Time.Time Without Seconds ever = 0.00 I use "12:00 am"
Try:
if('System Time.Sunrise Indicator' is Equal '0')
This is what I use for events at sunset. For sunrise check for equal to '1'
Also check your off time I'm not sure if 'System Time.Time Without Seconds ever = 0.00 I use "12:00 am"
Re: sunset/sunrise timed events
Ahhh yes, that's it.kilowatt wrote:I think the problem is with the first "if" since 'System Time.Sunset Time' changes each day and will rarely if ever equal '9/22/2008 8:04 pm'
Scott
Re: sunset/sunrise timed events
i am sure you are correct and will look at changing this. however this is the format housebot uses if i select system stock values/sunset time.
a bug?
a bug?
Re: sunset/sunrise timed events
The way you are doing it should work. For my sunset events I would actually added 30 minutes to the sunset time to ensure it was dark enough to warrant turning exterior lights on. I'll have a look at the logic when I get home this evening.
Does the task have a last executed reading of 'Never'? Is the task set to 'Manual' or 'When Conditions Are Met'? Is it enabled?
Osler
Does the task have a last executed reading of 'Never'? Is the task set to 'Manual' or 'When Conditions Are Met'? Is it enabled?
Osler
Re: sunset/sunrise timed events
last executed last night at 23.59 (i changed the time of the off) as stated absolute time works but i have to switch on "manually"
it is currently waiting
the other task that works on sunset/sunrise shows never.
the task is enabled
and set to when conditions are met.
thanks Mark....
it is currently waiting
the other task that works on sunset/sunrise shows never.
the task is enabled
and set to when conditions are met.
thanks Mark....