News:

There is now a ChangeLog page on the wiki
New developments are added at the bottom of the page.

Main Menu

Weather Command in VC 0.984 ?

Started by xtermin8r, February 26, 2013, 05:02:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xtermin8r

hi
can someone please verify that the weather command is working in vc version 0.984, thank you. I have checked the ports and also disabled all the firewalls and still no luck getting weather information working. All other version of VC are working fine for weather.
Neural Net Based Artificial Intelligence.

jitterjames

works fine here.  Did you update from an older version?  Maybe you need to clean your dlls.  Delete all your dll files and then extract 0984 on top.

otherwise, let me know more about what is actually happening, send a log etc.

xtermin8r

QuoteDid you update from an older version?  Maybe you need to clean your dlls.  Delete all your dll files and then extract 0984 on top.
i extracted it to its own unique folder.
Quotelet me know more about what is actually happening, send a log etc.
i'll send a log soon, thanks.
Neural Net Based Artificial Intelligence.


xtermin8r

#4
Quotehttps://dl.dropbox.com/u/514879/video/wunder.mp4
Thanks for the video.

this is the command i am using, unfortunately doesnt work after version 0.980.

<?xml version="1.0" encoding="utf-16"?>
<command id="296" name="Weather Manchester" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Weather.TWN.1</cmdType>
    <cmdString>ukxx0092</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTS.Speak</cmdType>
    <cmdString>{lastresult}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>whats,what's,what is</phrase>
  <phrase>the Weather like in manchester</phrase>
  <event>Hali.IR.0C0000093A00000F</event>
</command>


[attachment=1]
Neural Net Based Artificial Intelligence.

jitterjames

use the weather underground plugin. 

Sorry, yes, I pulled that old crappy weather command.  I did not even think anyone was still using it.

the wunder plugin is about 1 million times better, I think.

jitterjames


xtermin8r

I totally understand now, why it doesnt work. Thanks for your help.
Neural Net Based Artificial Intelligence.

jitterjames

If you really need it I can probably put the old command back in to 0.985, but I think it's much better to use wunderground.

xtermin8r

QuoteIf you really need it I can probably put the old command back in to 0.985, but I think it's much better to use wunderground.

i will give wunderground a try first.
Neural Net Based Artificial Intelligence.

xtermin8r

#10
finally got weather working in vc 0.984 using the wunderground plugin. (but i don't like it)
i do prefer the old method for obtaining weather information, its much simpler.
Would it be possible to bring it back in next version of VC ?
Neural Net Based Artificial Intelligence.

jitterjames

#11
It's really not that complicated, and it is so much more powerful.  I think you are just being stubborn and resisting change.  But I can probably find the old code and put it back in.  It's actually easier to set up because by default it figures out your location from your ip address.

then you only need to paste this command in:

<?xml version="1.0" encoding="utf-16"?>
<command id="536" name="wunderground simple" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>WUnder.GetCurrent</cmdType>
    <cmdString />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <cmdString>{LastResult}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>


so two steps,

1) enable the plugin
2) paste the command into your tree.

How is that complicated?

Snodric

I've got the computer telling me three different forecasts depending on whether I say "weather today", "weather tomorrow" or "weather forecast" (gives me highs for the week), using the current weather, option '0' and option '3' in the standard Weather Underground plugin in Voxcommando. I'd like to take out the portions of the highlighted parts of the forecast for the first two types of forecasts (i.e. today's and tomorrows) in the attached. Can you please post what the code should look like so I can cut and paste them into the plugin. Thanks.

Kalle

#13
Quote from: Snodric on April 28, 2013, 11:45:26 PM
I've got the computer telling me three different forecasts depending on whether I say "weather today", "weather tomorrow" or "weather forecast" (gives me highs for the week), using the current weather, option '0' and option '3' in the standard Weather Underground plugin in Voxcommando. I'd like to take out the portions of the highlighted parts of the forecast for the first two types of forecasts (i.e. today's and tomorrows) in the attached. Can you please post what the code should look like so I can cut and paste them into the plugin. Thanks.
Hi Snodric, the first pictures shows you a example how you can replace text in the plugin. The second picture shows you how you can create variable according to your needs.

I hope that is what you need  ;)

Kalle


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

Snodric

Thanks Kalle. I had no problem making the change to replace the 'C' with 'Degrees'.

However, I'm really struggling with the other changes. I don't have any (significant) experience 'coding' and have tried putting the variables into line 2 (I wanted to leave the ones I'm using ('Current Weather Format', '0' and '3') but without success. The problem is that I don't have experience with the use of the 'curly' brackets, where to put commas and the meaning of 'C.' or 'D0' etc.

If you do one of the two lines that I've requested, I'm sure that I could figure out the other one!

Also, it would be REALLY useful if there was a table in the Forum that had the 'Conditions', 'Forecast' and '10 Day DATA' that showed :

1. the variable as it is set out in the drag and drop window
2. the actual code as it then appears in the box once you drag it into one of the 4 options
3. a description of the variable as to what it does
4. an example of the variable in a string in one of the options
5. the actual result of the variable (i.e. what comes out when you press 'test'