The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: HomeSeer and xAP


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

RE: Sunrise/Sunset Error Floorplan/Weather??



------=_NextPart_000_000D_01C67AC4.949A80D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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  Automation equipment  Industrial
automation
Test automation  Sales automation  Factory automation


----------------------------------------------------------------------------
--
YAHOO! GROUPS LINKS

a..  Visit your group "xap_automation" on the web.

b..  To unsubscribe from this group, send an email to:
xap_automation-unsubscribe@xxxxxxx

c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.


----------------------------------------------------------------------------
--


------=_NextPart_000_000D_01C67AC4.949A80D0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2800.1106"
name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>


<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff size=2>Hi
James,</FONT></SPAN></DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff
size=2>sunrise = 19:20 </FONT></SPAN></DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff size=2>sunset
= 05:13 </FONT></SPAN></DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff size=2>Added
+12 adjustment for both sunrise and
sunset.</FONT></SPAN></DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff
size=2>Setting the activation period on a link
to:</FONT></SPAN></DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff
size=2>sunrise to sunset&nbsp; -
works</FONT></SPAN></DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff size=2>sunset
to sunrise - doesn't work</FONT></SPAN></DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff size=2>which
is really strange!!!</FONT></SPAN></DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=013043009-18052006>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff
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><FONT face=Arial
color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff
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><FONT face=Arial color=#0000ff
size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=013043009-18052006><FONT face=Arial
color=#0000ff size=2>Hope
the info is useful.</FONT></SPAN></DIV><SPAN
class=013043009-18052006>
<DIV><BR><FONT face=Arial color=#0000ff
size=2>Cheers</FONT></DIV>
<DIV></SPAN><SPAN class=013043009-18052006><FONT
face=Arial color=#0000ff
size=2>Shane</FONT></SPAN></DIV></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT
face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
xap_automation@xxxxxxx [mailto:xap_automation@xxxxxxx]<B>On
Behalf Of </B>James<BR><B>Sent:</B> Sunday, 14 May
2006 10:14
p.m.<BR><B>To:</B>
xap_automation@xxxxxxx<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 face=Arial
color=#0000ff
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 face=Arial
color=#0000ff
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 face=Arial
color=#0000ff
size=2>Cheers</FONT></SPAN></DIV>
<DIV><SPAN class=320550807-14052006><FONT face=Arial
color=#0000ff
size=2>Shane</FONT></SPAN></DIV></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>

------=_NextPart_000_000D_01C67AC4.949A80D0--




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.