Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

SunTracker - with moving ghost

Questions and comments specific to a particular plugin should go here.
vuego
Experienced User
Posts: 69
Joined: Wed Jan 17, 2007 9:22 pm
Location: Sweden

Re: SunTracker - with moving ghost

Post by vuego »

I would say, don't throw away your dusk relay just yet until you've made sure you're happy with SunTracker :)

SunTracker simply calculates the sunrise and sunset according to the coordinates you input and the computers date and time.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SunTracker - with moving ghost

Post by krambriw »

The sunrise/sunset is internally calculated by the plugin itself so no dependencies to external data from internet sources. If you start to use weather compensation, the weather data is fetched from Weather.com. But this is just used to calculate offsets in the actions and if it fails to get data, it will work anyway but offsets can then of course not be calculated.

Regarding the reliability, I hope other users can comment on this better, I have no idea how many are using it but it is many. Myself I have had it running in my home automation system since 2008. During the years many new features and improvements have been added and I feel it is very stable. Whenever there would be a problem, I would be notified here in this forum. Most of the time that has happened was when the weather service stopped working (we used Yahoo earlier) or when users had a suggestion for a new feature.

Best regards, Walter
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SunTracker - with moving ghost

Post by krambriw »

New version released

Compatible with EventGhost 0.5.x
User1306
Experienced User
Posts: 53
Joined: Sat Oct 13, 2012 4:37 pm

Re: SunTracker - with moving ghost

Post by User1306 »

hello

i keep getting this error below when i try to check "GetForecasts"

Code: Select all

15:06:22      Error in Action: "SunTracker: GetForecasts"
15:06:22      Traceback (most recent call last) (1722):
15:06:22        File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
15:06:22          return self(*args)
15:06:22        File "C:\Program Files (x86)\EventGhost\plugins\SunTracker\__init__.py", line 5431, in __call__
15:06:22          return self.plugin.weather_data['forecasts']
15:06:22      KeyError: 'forecasts'
i tried updated my location but it didnt help
any idea?

thanks
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SunTracker - with moving ghost

Post by krambriw »

Yes, ideas we do have, there is a problem with Weather.com

Check this link

https://www.reddit.com/r/Rainmeter/comm ... _provided/
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SunTracker - with moving ghost

Post by krambriw »

One possibility is if you try another location/city in your neighborhood, it might happen it works
User1306
Experienced User
Posts: 53
Joined: Sat Oct 13, 2012 4:37 pm

Re: SunTracker - with moving ghost

Post by User1306 »

thanks for the feedback, i'll try a different location close by.

thanks
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: SunTracker - with moving ghost

Post by jachin99 »

I'm getting undefined no matter what value I put into the location ID. I even tried the NY location ID at the start of the thread. I have seen other posts bring this up so I'm guessing its a common problem. Anyone find any fixes for this yet?
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SunTracker - with moving ghost

Post by krambriw »

Simple check: are you using the latest version? If you are using the version included in EG distribution, you need to update. Download latest version from my link below
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: SunTracker - with moving ghost

Post by jachin99 »

Updated, and got it working. One thing to note is if you do an internet search of weather.com and your city, the url will come back differently. The best way to find your URL is to go to weather.com, search for your city.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SunTracker - with moving ghost

Post by krambriw »

The best way to find your URL is to go to weather.com, search for your city
Yepp, that's the way.

Now let's hope for continued nice autumn weather
eirik226
Experienced User
Posts: 142
Joined: Wed Nov 07, 2012 5:22 pm

Re: SunTracker - with moving ghost

Post by eirik226 »

I have some troubles with this plugin - i am fairly certain I've updated it, but seem to have a few issues with the EGplugin format.

Im at version 1.5.6 - is that correct? EDIT: I see now, that this is not the latest plugin. I'll try a few more times with the EGplugin format, just thought of a mistake I might have made.

The trouble I am having is:

Code: Select all

Main.Weather Condition: ''
This event - sometimes it says something else, like mostly cloudy etc - but most of the time it's just this: Main.Weather Condition: ''

Just one " - does anyone know a fix for this? The location should also be set correctly.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SunTracker - with moving ghost

Post by krambriw »

The thing you can try to is to find a better and more reliable weather station. Try another location that is pretty close to where you live.
eirik226
Experienced User
Posts: 142
Joined: Wed Nov 07, 2012 5:22 pm

Re: SunTracker - with moving ghost

Post by eirik226 »

krambriw wrote:The thing you can try to is to find a better and more reliable weather station. Try another location that is pretty close to where you live.
I did that and it worked! But as the closest location I could find is pretty far away it's not that reliable.

I'll see if I can find something else, thank you :)
User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: SunTracker - with moving ghost

Post by yokel22 »

I'm having problems getting non metric values returned from this plugin. My locations are set using (US) zipcodes & the plugin is set for non-metric. It still always returns metric. Also, is it possible to get more than 5 days returned on the forecast?
Post Reply