News:

VC = Vox = VoxCommando
EG = EventGhost
WMC = Windows Media Center
WSR = Windows Speech Recognition

Main Menu

GgWeather Plugin

Started by Wanilton, October 17, 2011, 08:22:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wanilton

Hello James, when I tested new plugin Google Weather, forecast days, ok, return values ok, but when press test, in Current Weather Format, i receive same text " {condition} and {temp_c}, in the box info, this is a bug???
or i don´t know how to use this for current weather format.
Any tip, is you have example command for use, please put in the topic, this help alot..
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

not exactly a bug, but the default settings are wrong.  Put the attached file "Options.xml"  in .\plugins\GgWeather

current:
Current weather: {c.condition}, {c.temp} degrees, wind blowing from the {c.wind} km/h

0:
Today: {0.condition}, High of {0.high} degrees, Low of {0.low}

1:
Tomorrow: {1.day}, {1.condition}, High of {1.high} degrees, Low of {1.low}

2:
{2.day}:  {2.condition}, High of {2.high} degrees, Low of {2.low}

3:
{3.day}: High of {3.high} degrees, Low of {3.low}

Remember to click "Save Options"!

Sorry, I meant to upload some more explanations on this but I got sidetracked.  I have also attached a sample group.

Wanilton

#2
thanks, work great now.. ;D ;D

How i have info humidity data? other situation: how i remove after c.wind info the english word "at" X Km/h, this word "at" is no necessary in other languages I believe, because tts read in my native language Portuguese...






www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

{c.humidity}  but it is only available for current day.

you can't remove the "at" in the weather plugin itself (yet).

You can use another action though

Results.Replace  at   :

(first parameter is at and the second parameter is : or you could use - or , )  It does not work to use a space as the second parameter, I must check this.  I think VC considers this as a missing parameter.

jitterjames

Try this new version of the weather plugin.  You can enter custom find/replace values at the bottom of the plugin settings.  ;D

mparks

This is working well for me, one small step for VC one giant step closer to my dream, or star trek ;D

jitterjames

One thing to note about using replacements, although really this is probably common sense.

Replacements are performed after your string has been created, and the data values {var} filled in.
Replacements are performed in order starting with the first row of the table.

you should do your "big" word replacements first, and if you are going to replace a small word like "at" it is probably wise to include the spaces around it " at ", otherwise you will also be replacing the at in  Sat or  Saturday

You are allowed to replace a string with nothing, though you will often want to replace it with a space instead.  Both are allowed.

Wanilton

James, in city when I put Florianópolis, Santa Catarina, and refresh after ok, I save, restart vox, when I return to plugin setting, i have this Florian?polis, any problem here or it´s fine?

Thanks...
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

that's a bug.  I guess I need to check my character encoding when I save / load settings.  THanks.

I will see what I can do.

jitterjames

try with this...

I gotta say, it's GREAT to be able to just update a plugin and not the whole program !!!

Wanilton

www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Kalle

James, that plugin is a very good thing. It is also funny, when we use it with Logic blocks in editor. GREAT JOB  ::bow  :clap  I like this plugin - please more of this things

Kalle
***********  get excited and make things  **********

jitterjames

Google does it again!  They have now closed down their weather api so our weather plugin is broken now too! >:( >:( >:(

Kalle

 ::yikes ::yikes ::club ::yikes ::yikes
Quote from: jitterjames on August 28, 2012, 10:05:14 AM
Google does it again!  They have now closed down their weather api so our weather plugin is broken now too! >:( >:( >:(
::yikes ::yikes ::club ::yikes ::yikes
***********  get excited and make things  **********

Siutsch

Same with Eventghost Weather and Sintracker Plugin.   ::confused