The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Sunrise/Sunset Error Floorplan/Weather??



--------------090106020405060909010908
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I've never tested Floorplan with such high offsets, so it does seem
something is going wrong!  What may be happening is that the sunrise and
the sunset times are going over multiple days. It may be worth a try
setting sunrise to -12 and sunset to +12 so that they would end up on
the same day.
I'll run some tests here and see what happens.  Also like the PIR issue
all timers whether created as timers, from code, from a  script, from a
link all use the same timer system and will appear on the timers screen.
Each timer on that screen will have a date and time next to it show the
next time it will run. Might help narrow what is happening.

James
Shane Harrison wrote:
> Hi James,
>
> sunrise = 19:20
> sunset = 05:13
> Added +12 adjustment for both sunrise and sunset.
>
> Setting the activation period on a link to:
> sunrise to sunset  - works
> sunset to sunrise - doesn't work
> which is really strange!!!
>
> Changing the sign on the adjustment ie. -12  doesn't have any effect
> ie. same as if sign +.  As would be expected.
>
> Furthermore anecdotal evidence is that the activation times don't
> co-inside with the settings - however I need to explore this further.
>
> Hope the info is useful.
>
> Cheers
> Shane
>
>     -----Original Message-----
>     *From:* xap_automation@xxxxxxx
>     [mailto:xap_automation@xxxxxxx]*On
Behalf Of *James
>     *Sent:* Sunday, 14 May 2006 10:14 p.m.
>     *To:* xap_automation@xxxxxxx
>     *Subject:* Re: [xap_automation] Sunrise/Sunset Error
>     Floorplan/Weather??
>
>     Interesting, must be something with the southern hemisphere calc
>     going wrong. It really is quite tricky to get a  sunrise/sunset
>     calculation that works every where. Floorplan and Weather share
>     the same code so will have the same error.  Both apps do have an
>     adjusment for each time so you could set them both to 12 for now.
>     In Floorplan it's on the main settings page and in weather it is
>     two lines in the Weather.ini file:
>     AdjSunrise=-8
>     AdjSunset=+16
>     hth
>
>     James
>
>     Shane Harrison wrote:
>>     Hi there,
>>
>>     Looks like there might still be a bug in the sunrise/sunset
calcs
>>     in both Floorplan and Weather unless the input format is
>>     different than I am assuming
>>
>>     Setting (Wellington NZ  - southern hemisphere)
>>      Lat    -41.21
>>     Long  174.91
>>
>>     gives sunrise = 19:20 and sunset 05:13 which is correct except
12
>>     hours out.
>>
>>     Cheers
>>     Shane
>
>
>
>     SPONSORED LINKS
>     Workflow automation
>     <http://groups.yahoo.com/gads?t=ms&k=Workflow+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=F4tRNBO_G_ZzajQmbmwe7Q>
>     	Automation equipment
>     <http://groups.yahoo.com/gads?t=ms&k=Automation+equipment&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=9-eliEiH2rHCvwCe6xpvLw>
>     	Industrial automation
>     <http://groups.yahoo.com/gads?t=ms&k=Industrial+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=xI5A0mNmlPHiPI__bxZwUQ>
>
>     Test automation
>     <http://groups.yahoo.com/gads?t=ms&k=Test+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=babdTZ-cZ8AbgxQRUJqztw>
>     	Sales automation
>     <http://groups.yahoo.com/gads?t=ms&k=Sales+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=-x7c78RB2nUpuPBRifr1YA>
>     	Factory automation
>     <http://groups.yahoo.com/gads?t=ms&k=Factory+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=zQtSND_pDmyn0UaMn4LPgQ>
>
>
>
>    
------------------------------------------------------------------------
>     YAHOO! GROUPS LINKS
>
>         *  Visit your group "xap_automation
>           <http://groups.yahoo.com/group/xap_automation>"
on the web.
>
>         *  To unsubscribe from this group, send an email to:
>            xap_automation-unsubscribe@xxxxxxx
>           <mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe>
>
>         *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>           Service <http://docs.yahoo.com/info/terms/>.
>
>
>    
------------------------------------------------------------------------
>


--------------090106020405060909010908
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">


I've never tested Floorplan with such high offsets, so it does seem
something is going wrong!&nbsp; What may be happening is that the
sunrise
and the sunset times are going over multiple days. It may be worth a
try setting sunrise to -12 and sunset to +12 so that they would end up
on the same day.&nbsp; <br>
I'll run some tests here and see what happens.&nbsp; Also like the PIR
issue&nbsp; all timers whether created as timers, from code, from
a&nbsp; script,
from a link all use the same timer system and will appear on the timers
screen. Each timer on that screen will have a date and time next to it
show the next time it will run. Might help narrow what is
happening.<br>
<br>
James<br>
Shane Harrison wrote:
<blockquote
cite="midEMEKKFDEMDPBMNDDOOLBIEBICAAA.shane@xxxxxxx"
type="cite">
<meta http-equiv="Content-Type"
content="text/html;charset=ISO-8859-1">
<meta content="MSHTML 6.00.2800.1106"
name="GENERATOR">
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">Hi
James,</font></span></div>
<div><span
class="013043009-18052006"></span>&nbsp;</div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">sunrise = 19:20
</font></span></div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">sunset = 05:13
</font></span></div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">Added +12 adjustment for both
sunrise and sunset.</font></span></div>
<div><span
class="013043009-18052006"></span>&nbsp;</div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">Setting the activation period
on a link to:</font></span></div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">sunrise to sunset&nbsp; -
works</font></span></div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">sunset to sunrise - doesn't
work</font></span></div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">which is really
strange!!!</font></span></div>
<div><span
class="013043009-18052006"></span>&nbsp;</div>
<div><span class="013043009-18052006">
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">Changing the sign on the
adjustment ie. -12&nbsp;
doesn't have any effect ie. same as if sign +.&nbsp; As would be
expected.</font></span></div>
<div><span
class="013043009-18052006"></span>&nbsp;</div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">Furthermore anecdotal evidence
is that the
activation times don't co-inside with the settings - however I need to
explore this further.</font></span></div>
<div>&nbsp;</div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial" size="2">Hope the info is
useful.</font></span></div>
<span class="013043009-18052006">
<div><br>
<font color="#0000ff" face="Arial"
size="2">Cheers</font></div>
<div><span class="013043009-18052006"><font
color="#0000ff"
face="Arial"
size="2">Shane</font></span></div>
</span></span></div>
<blockquote>
<div class="OutlookMessageHeader" dir="ltr"
align="left"><font
face="Tahoma" size="2">-----Original
Message-----<br>
<b>From:</b> <a class="moz-txt-link-abbreviated"
href="mailto:xap_automation@xxxxxxx";>xap_automation@xxxxxxx</a>
[<a class="moz-txt-link-freetext" href="mailto:xap_automation@xxxxxxx";>mailto:xap_automation@xxxxxxx</a>]<b>On
Behalf Of </b>James<br>
<b>Sent:</b> Sunday, 14 May 2006 10:14 p.m.<br>
<b>To:</b> <a class="moz-txt-link-abbreviated"
href="mailto:xap_automation@xxxxxxx";>xap_automation@xxxxxxx</a><br>
<b>Subject:</b> Re: [xap_automation] Sunrise/Sunset Error
Floorplan/Weather??<br>
<br>
</font></div>
Interesting, must be something with the southern hemisphere calc going
wrong. It really is quite tricky to get a&nbsp; sunrise/sunset
calculation
that works every where. Floorplan and Weather share the same code so
will have the same error.&nbsp; Both apps do have an adjusment for each
time
so you could set them both to 12 for now. In Floorplan it's on the main
settings page and in weather it is two lines in the Weather.ini
file:<br>
AdjSunrise=-8<br>
AdjSunset=+16<br>
hth<br>
<br>
James<br>
<br>
Shane Harrison wrote:
<blockquote
cite="midEMEKKFDEMDPBMNDDOOLBOEBDCAAA.shane@xxxxxxx"
type="cite">
<meta content="MSHTML 6.00.2800.1106"
name="GENERATOR">
<div><font face="Arial"><font
color="#0000ff"><font size="2"><span
class="320550807-14052006">Hi
there,</span></font></font></font></div>
<div><font face="Arial"><font
color="#0000ff"><font size="2"><span
class="320550807-14052006"></span></font></font></font>&nbsp;</div>
<div><font face="Arial"><font
color="#0000ff"><font size="2"><span
class="320550807-14052006">Looks like there might still be a
bug in
the sunrise/sunset calcs in both Floorplan and Weather unless the input
format is different than I am
assuming</span></font></font></font></div>
<div><font face="Arial"><font
color="#0000ff"><font size="2"><span
class="320550807-14052006"></span></font></font></font>&nbsp;</div>
<div><font face="Arial"><font
color="#0000ff"><font size="2"><span
class="320550807-14052006">Setting (Wellington NZ&nbsp; -
southern
hemisphere)
</span></font></font></font></div>
<div><font face="Arial"><font
color="#0000ff"><font size="2"><span
class="320550807-14052006">&nbsp;Lat&nbsp;&nbsp;&nbsp;&nbsp;-41.21
</span></font></font></font></div>
<div><span class="320550807-14052006"><font
color="#0000ff"
face="Arial" size="2">Long&nbsp;
174.91</font><!--[if !mso]><![endif]--><!--[if
!mso]><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></span></div>
<div><span
class="320550807-14052006"></span>&nbsp;</div>
<div><span class="320550807-14052006"><font
color="#0000ff"
face="Arial" size="2">gives sunrise = 19:20 and
sunset 05:13 which is
correct except 12 hours out.</font></span></div>
<div><span
class="320550807-14052006"></span>&nbsp;</div>
<div><span class="320550807-14052006"><font
color="#0000ff"
face="Arial"
size="2">Cheers</font></span></div>
<div><span class="320550807-14052006"><font
color="#0000ff"
face="Arial"
size="2">Shane</font></span></div>
</blockquote>
<br>

</blockquote>
</blockquote>
<br>



<!-- **begin egp html banner** -->

<br><br>
<div style="width:500px; text-align:right; margin-bottom:1px;
color:#909090;">
<tt>SPONSORED LINKS</tt>
</div>
<table bgcolor=#e0ecee cellspacing="13"
cellpadding="0" width=500px>
<tr valign=top>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Workflow+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=F4tRNBO_G_ZzajQmbmwe7Q";>Workflow
automation</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Automation+equipment&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=9-eliEiH2rHCvwCe6xpvLw";>Automation
equipment</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Industrial+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=xI5A0mNmlPHiPI__bxZwUQ";>Industrial
automation</a></tt>
</td>
</tr>
<tr valign=top>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Test+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=babdTZ-cZ8AbgxQRUJqztw";>Test
automation</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Sales+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=-x7c78RB2nUpuPBRifr1YA";>Sales
automation</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Factory+automation&w1=Workflow+automation&w2=Automation+equipment&w3=Industrial+automation&w4=Test+automation&w5=Sales+automation&w6=Factory+automation&c=6&s=145&.sig=zQtSND_pDmyn0UaMn4LPgQ";>Factory
automation</a></tt>
</td>
</tr>
</tr>
</table>

<!-- **end egp html banner** -->



<!-- **begin egp html banner** -->

<br>
<div style="text-align:center; color:#909090;
width:500px;">
<hr style="border-bottom:1px; width:500px;
text-align:left;">
<tt>YAHOO! GROUPS LINKS</tt>
</div>
<br>
<ul>
<tt><li type=square>&nbsp;Visit your group "<a
href="http://groups.yahoo.com/group/xap_automation";>xap_automation</a>"
on the web.<br>&nbsp;</tt>
<tt><li type=square>&nbsp;To unsubscribe from this group,
send an email to:<br>&nbsp;<a href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>xap_automation-unsubscribe@xxxxxxx</a><br>&nbsp;</tt>
<tt><li type=square>&nbsp;Your use of Yahoo! Groups is
subject to the <a href="http://docs.yahoo.com/info/terms/";>Yahoo!
Terms of Service</a>.</tt>
</ul>
<br>
<div style="text-align:center; color:#909090;
width:500px;">
<hr style="border-bottom:1px; width:500px;
text-align:left;">
</div>
</br>

<!-- **end egp html banner** -->


</body>
</html>

--------------090106020405060909010908--




xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.