Dt Ezb Weather For Weather Underground Api

Luis Vazquez

USA

I have been using a custom made API handler for my EZ-B projects. After reading a bit on the forums I thought I would make it a bit more user friendly and see if any one here would be interested in using it.

User-inserted image

This is the settings screen. you would put your zipcode and your Wunderground API key. ( you can get one free from Weather underground )

put in the settings for the computer and port you want to connect to.

User-inserted image

The Say screen is were you would have the DT Ezb Weather speak the weather. there is also a template of how you want your bot to say. You can also select a variable to set with this text as well.

User-inserted image

Here you can select what information you want pass to your ez scripting and what variables to use.

User-inserted image

The last tab allows you to select any ezbscript command you want to run on completion of the weather update.

I have not shared this as of yet so if anyone would like to try it out and help me shape it for public use please let me know.

By — Last update

ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

#25  

I put this in:

SayWait("The temperature outside is "+$temp+" degrees) SayWait("The humidity outside is "+$humidity+" percent

I will do it again. Thanks,

It comes back with "MISSING STRING QUOTES or invalid expression $temp." on line1.

then, when I give it a closed ) symbol and quotes and such, it tells me that the $temp variable is not defined, or something like that. I will do it again.

Same thing. sorry.

#26  

You forgot the brace at the end of your second say command line...

#27  

ok, here is what i typed in:

SayWait("The temperature outside is "+$temp+" degrees) SayWait("The humidity outside is "+$humidity+" percent)

The above is what you typed in. I just copied and pasted. But, the stupid editor got rid of your bracket. If you will look in your code above, the bracket is missing. This is a good observation, but, I already changed it. The problem is in line one. It tells me that the $temp variable is invalid.

Go Fish! I don't know what is the matter. Maybe it DOES need EZB hooked up to operate. it doesn't work as is on my machine.

#28  

This working also depends on if you have set up everything else correctly as well... The script will only work if you have everything else set up right too.. Is ARC set up to communicate with DT app?, Is the DT app set up properly as well? Do you have a weather key? Variables set up in DT app?

#29  

Its not working because for whatever reason the DT app is not passing the info to ARC.... see my last post...

#30  

yes, I have entered the weather key correctly. I have entered into the computer EVERYTHING Exactly how it was typed in the example on the Forum. But, the EZB is not available. I am waiting to get an EZB4 in I hope soon. Nothing is hooked and connected up at this point.

I guess what I need to do is Wait until I get my EZB 4.

Thanks for all of your help.

#31  

My guess is you don't have ARC set up correctly ( IP, port 6666, etc)...

#32  

I copied it precisely as the sample on the forum. 6666 is there. Ip is: 192.168.1.117 same as on the example. But, if that is the IP of the EZB there is no EZB hooked up. I even tried it with my own ip address and no soap.