New WUnderground plugin with Sunrise/Sunset and DayNight

Discussion and support for individual OSA plugins
Message
Author
toddhutch
Posts: 18
Joined: Mon Feb 17, 2014 2:59 pm

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#71 Post by toddhutch » Wed Mar 26, 2014 8:55 am

The WUnderground is working perfect for me now. The events not triggering had to do with using the same name for an object and a script. Once I changed the script to something unique it worked. That was a fun puzzle to figure out.

Automate
Posts: 1691
Joined: Sat Dec 11, 2010 1:44 pm
Location: US

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#72 Post by Automate » Wed Mar 26, 2014 9:04 am

kherron wrote:Could it be that the weather station you are connecting to is not reporting these values :?: :?:
WUnderground always only provides Sunrise and Sunset times.

The weather station NEVER provides for following values:
DawnPre - minutes before sunrise that dawn should start
DawnPost - minutes after sunrise that dawn should end and day starts
DuskPre - minutes before sunset that dusk should start
DuskPost - minutes after sunset that dusk should end and night starts

The OSA users has to manually populate these values if they want to use this feature.

So if you want something to trigger 10 minutes before Sunset you have to enter 10 in the DuskPre property. The WUnderground plugin then calculates a Dusk time and generates the Dusk event.

User avatar
kherron
Posts: 646
Joined: Mon Dec 05, 2011 10:44 am
Location: Jacksonville, Fl.
Contact:

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#73 Post by kherron » Wed Mar 26, 2014 1:59 pm

THANKS :!: :D

Never knew that! Will give it a try.

tommysharp
Posts: 55
Joined: Thu Jun 12, 2014 1:02 pm

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#74 Post by tommysharp » Tue Jul 01, 2014 11:49 pm

I'm still getting to know OSA so forgive the silly questions....

I seem to have the plugin working ok and the "weather" object has lots of nice data against it's properties.

So now my big question is what do we do with this data now? I suppose the main use is to trigger things based on values. I went as far as putting the temperature as text on a screen, but can we go as far as putting some of the images retrieved by the plugin from WU to show little icons of weather on a screen?

Any hints, tips or ideas would be appreciated....

Automate
Posts: 1691
Joined: Sat Dec 11, 2010 1:44 pm
Location: US

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#75 Post by Automate » Wed Jul 02, 2014 4:19 am

I use the temperature to turn on my attic fan when the outside temperature is lower than my attic temperature.

I also use the current temperature and the day's forecast high to decide how much pre-cooling I need to minimize AC use during the high $/KWh period in the middle of summer days.

In the Screens app, Add Control / User Control you can add a pre-built weather display.

tommysharp
Posts: 55
Joined: Thu Jun 12, 2014 1:02 pm

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#76 Post by tommysharp » Wed Jul 02, 2014 1:27 pm

Thanks Automate, this is what I get when I try that.....
Attachments
2014-07-03_092649.jpg
2014-07-03_092649.jpg (59.4 KiB) Viewed 2788 times

Automate
Posts: 1691
Joined: Sat Dec 11, 2010 1:44 pm
Location: US

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#77 Post by Automate » Wed Jul 02, 2014 1:39 pm

I did not create nor have I been using the Weather User Control. I did try it before posting and it worked for me.

I'm thinking there may have been a bug fix made a while back. I'll look into it.

User avatar
kherron
Posts: 646
Joined: Mon Dec 05, 2011 10:44 am
Location: Jacksonville, Fl.
Contact:

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#78 Post by kherron » Wed Jul 02, 2014 5:47 pm

I have One that I have been using,

And I just recomplied the UI controls and it still seems to work fine.
Weather.png
Weather.png (77.14 KiB) Viewed 2781 times

Automate
Posts: 1691
Joined: Sat Dec 11, 2010 1:44 pm
Location: US

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#79 Post by Automate » Wed Jul 02, 2014 5:54 pm

Yea, I looked and did not see any changes that had been made to it since 0.4.3

Vaughn
Site Admin
Posts: 1432
Joined: Thu May 13, 2010 2:17 pm

Re: New WUnderground plugin with Sunrise/Sunset and DayNight

#80 Post by Vaughn » Thu Jul 03, 2014 12:50 pm

Yeah, that was my first attempt at a custom control. I have not worked on it in a long while and don't even display it on any of my screens. But now that I am getting caught back up and working on the GUI a bunch, I will take a look at it and at least make sure the images are being error trapped, etc.


Vaughn

Post Reply