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.
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
Re: SunTracker - with moving ghost
Dear Walter,
thanks for your suppport. It isn't still working, even without characters like "/" etc.
I uninstalled EG completly and started a new and clean installation(0.4.1.r1582). I added the plugin SunTracker (the version 1.2.4, which comes with the EG file) and created an macro for it. While setting up all the macros und the plugin for the FS20-Unit I received a few error messages. Then I closed EG and started it new. A few seconds after starting it, I get the errors shown in the picture.
I did a update of the SunTracker Plugin, but without success. There are still errors. Do you think there's a chance to get it running?
Regards
Rainer
thanks for your suppport. It isn't still working, even without characters like "/" etc.
I uninstalled EG completly and started a new and clean installation(0.4.1.r1582). I added the plugin SunTracker (the version 1.2.4, which comes with the EG file) and created an macro for it. While setting up all the macros und the plugin for the FS20-Unit I received a few error messages. Then I closed EG and started it new. A few seconds after starting it, I get the errors shown in the picture.
I did a update of the SunTracker Plugin, but without success. There are still errors. Do you think there's a chance to get it running?
Regards
Rainer
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: SunTracker - with moving ghost
You should use the latest version of the SunTracker found in the first post in this thread (the one included in EG is outdated).
The error problem you see now can be fixed with this:
download/file.php?id=2409
The error problem you see now can be fixed with this:
download/file.php?id=2409
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: SunTracker - with moving ghost
Dear Walter,
after copying the pywapi.py the errors are gone! Thanks a lot! Now I'm waiting for the "first" sunset...
Regards
Rainer
after copying the pywapi.py the errors are gone! Thanks a lot! Now I'm waiting for the "first" sunset...
Regards
Rainer
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: SunTracker - with moving ghost
I wonder if more people have problem with weather data from Google. I get "Unsupported API" as response
Best regards, Walter
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: SunTracker - with moving ghost
Since today I get this message.
Code: Select all
2012-08-27 18:11:49 Google weather data is not availableRe: SunTracker - with moving ghost
After update I get "Weather condition missing ..." every minute.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: SunTracker - with moving ghost
After a period of time (a couple of weeks) I have noticed considerable instability when retrieving weather data from Google Weather. The google-gadgets-api I use is part of iGoogle and has worked for a couple of years. Today the connection seems to be completly broken.
I have no idea if this will start working again but I have anyway decided to move away from using this source. Aslo iGoogle is announced to be terminated after 1 nov and it might be that this is the first sign.
Anyway, I have started to make a new version, using Yahoo! Weather, and it is running ok so far in my tests (I will publish it asap it is stable enough, hopefully tomorrow).
Best regards, Walter
PS read more on the net about this
https://groups.google.com/forum/?fromgr ... CjkWgifejE
I have no idea if this will start working again but I have anyway decided to move away from using this source. Aslo iGoogle is announced to be terminated after 1 nov and it might be that this is the first sign.
Anyway, I have started to make a new version, using Yahoo! Weather, and it is running ok so far in my tests (I will publish it asap it is stable enough, hopefully tomorrow).
Best regards, Walter
PS read more on the net about this
https://groups.google.com/forum/?fromgr ... CjkWgifejE
Last edited by krambriw on Wed Aug 29, 2012 6:24 am, edited 1 time in total.
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: SunTracker - with moving ghost
Hi,
I was thinking something like this.
I use myself iGoogle for years and that's a shame.
Must also look around for an alternative and use netvibes for some time, maybe I can get used to it too.
I look forward to your new version.
Thank you!
Siutsch.
I was thinking something like this.
I use myself iGoogle for years and that's a shame.
Must also look around for an alternative and use netvibes for some time, maybe I can get used to it too.
I look forward to your new version.
Thank you!
Siutsch.
Re: SunTracker - with moving ghost
Hello Walter, got new errors. sorry 
best
H.
Code: Select all
21:46:43 Plugin: SunTracker
21:46:43 Plugin started
21:46:43 Global Moving Ghost status is: OFF
21:46:43 SunTracker: "suntracker ANWESEND"
21:46:43 SunTracker: "GHOST"
21:46:43 SunTracker: "GHOST2"
21:46:43 Weather Check Walter
21:46:43 Please wait, SunTracker is just initialising...
21:46:43 Walter - Kein Licht ON weil niemand da
21:46:43 Next execution will start in 600 seconds
21:46:43 Main.OnInit
21:47:01 Today is Monday. Sunrise will be at and Sunset at
21:47:02 Today is Monday. Sunrise will be at and Sunset at
21:47:02 Today is Monday. Sunrise will be at and Sunset at
21:47:02 Exception in thread suntracker ANWESEND:
21:47:02 Traceback (most recent call last):
21:47:02 File "threading.pyc", line 532, in __bootstrap_inner
21:47:02 File "C:\Programme\EventGhost\plugins\SunTracker\__init__.py", line 1232, in run
21:47:02 lightON
21:47:02 File "C:\Programme\EventGhost\plugins\SunTracker\__init__.py", line 900, in CheckMorningLightOn
21:47:02 lightON
21:47:02 File "C:\Programme\EventGhost\plugins\SunTracker\__init__.py", line 621, in MorningLightON
21:47:02 and int(csSR) >= int(StrCheck(morning_ON))
21:47:02 ValueError: invalid literal for int() with base 10: ''
21:47:02
21:47:23 System.Idle
21:47:31 Weather condition missing...
21:47:33 SunTracker: Daylight saving is TRUE
21:47:33 Westeuropäische Sommerzeit - TimezoneH.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: SunTracker - with moving ghost
This is unfortunately due to the problem with retrieveing weather data described above. You can temporary avoid it by selecting 0 minutes for "Weather compensation factor" for each action...
I hate that I have to re-write code just because a service stopped functioning...but I guess no option other than to do it
Best regards, Walter
I hate that I have to re-write code just because a service stopped functioning...but I guess no option other than to do it
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: SunTracker - with moving ghost
Yes, thats a pitty .... but to be honest Google Weather in switzerland is a joke. Far away from accurate.
best
H.
best
H.
Re: SunTracker - with moving ghost
Walter... just a thought... Both the MiCasaVerde Vera (home automation device) and XBMC have weather plugins that use Google Weather and they are working fine. You might be able to peep at the code to see how they are working.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: SunTracker - with moving ghost
Right, the new version uploaded in the first post is now using Yahoo! Weather api instead. It has been running fine here since last night.
If you upgrade from previous version, you shall follow the steps as described below. Please unzip the content to the folder or at least copy the __init__.py and pywapi.py files since they are needed together and they are changed.
Upgrade procedure:
1) When EG is running current version, disable the SunTracker plugin and all SunTracker actions so that they all stops
2) Unzip or copy the content of the new zip file
3) Now configure the SunTracker plugin, as example look at the picture below.
- enter your location id: A five digit US zip code or location ID. To find your location ID, browse or search for your city from the Yahoo! Weather home page(http://weather.yahoo.com/) The weather ID is in the URL for the forecast page for that city. You can also get the location ID by entering your zip code on the home page. For example, if you search for Berlin in Germany on the Yahoo! Weather home page, the forecast page for that city is http://weather.yahoo.com/germany/berlin/berlin-638242/. The location ID is 638242.
- select your units: type of units. 'metric' for metric or 'non-metric' (currently planned for future functions)
- select how often you want weather data updates (default is every 5 minutes)
When finished, click ok, then enable the plugin so that it starts.
4) Now for each action, configure each of them by opening them and clicking ok
5) Enable each of the actions
6) Open the settings for the plugin again and check that they are all running
7) You are done!
Best regards, Walter
If you upgrade from previous version, you shall follow the steps as described below. Please unzip the content to the folder or at least copy the __init__.py and pywapi.py files since they are needed together and they are changed.
Upgrade procedure:
1) When EG is running current version, disable the SunTracker plugin and all SunTracker actions so that they all stops
2) Unzip or copy the content of the new zip file
3) Now configure the SunTracker plugin, as example look at the picture below.
- enter your location id: A five digit US zip code or location ID. To find your location ID, browse or search for your city from the Yahoo! Weather home page(http://weather.yahoo.com/) The weather ID is in the URL for the forecast page for that city. You can also get the location ID by entering your zip code on the home page. For example, if you search for Berlin in Germany on the Yahoo! Weather home page, the forecast page for that city is http://weather.yahoo.com/germany/berlin/berlin-638242/. The location ID is 638242.
- select your units: type of units. 'metric' for metric or 'non-metric' (currently planned for future functions)
- select how often you want weather data updates (default is every 5 minutes)
When finished, click ok, then enable the plugin so that it starts.
4) Now for each action, configure each of them by opening them and clicking ok
5) Enable each of the actions
6) Open the settings for the plugin again and check that they are all running
7) You are done!
Best regards, Walter
Last edited by krambriw on Wed Aug 29, 2012 5:47 am, edited 1 time in total.
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: SunTracker - with moving ghost
Hi Walter, great! .... i┬┤m going to try.
is yahoo using the same descriptions for the weather statuses as google?
fog
cloudy
partly cloudy
and so on ...
best
H.
EDIT: it seems so, no answer needed. sorry
is yahoo using the same descriptions for the weather statuses as google?
fog
cloudy
partly cloudy
and so on ...
best
H.
EDIT: it seems so, no answer needed. sorry
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: SunTracker - with moving ghost
There are some differences (like 'Fair') but I have tried to add them, the ones I know about are included. In the future I might keep the list outside in a separate file that gets imported when the plugin starts.is yahoo using the same descriptions for the weather statuses as google?
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM