How to Make a Weather Device

HI all, I’m new to Vera so over the next few weeks or so will have tons of questions. I’ve used the search function but being new and not having the terminology down might be why I’m not getting hits on some of the things I have questions about so bear with me and please point me in the right direction if I have missed it.

So my story is this. I am moving over from homeseer and I decided to get all of my devices into Vera before I start on the logic side of things. One of the things I am having problems with is the weather. I have my own weather station that I want to get info from. I installed the wunderground plugin and it works great since I have been reporting to them for many years. The problem is that I live way out in the country so internet outages are…common…I guess you might say. This could lead to sprinklers being on during freezing weather…ie weather went from around 50 degrees to 25 just last night and my internet was out from around 3 until 9ish so i wasnt getting good readings.

So what I would like to do is have a weather device like the one in the plugin that would be compatible with other plugins etc that I can send http info to from my weather pc. I tried the virtual container plugin and it works great for this…so I guess my question is this: If i use virtual container (or some other virtual device) am I looking at problems later on by not using something that is a “weather” device that third party apps/plugins rely on? Am I over thinking this and there is some simpler solution? Can the weather underground plugin be used in an offline type mode and just update its variables myself?

I will be using http requests like this to do it:

http://172.16.30.9:3480/data_request?id=variableset&DeviceNum=29&serviceId=urn:upnp-org:serviceId:VContainer1&Variable=Variable1&Value=59

this would set my virtual temp to 59…

I hope this makes sense, i’m still new to a lot of the vera stuff so dont know how to explain what I’m really after in the terms you guys might understand :slight_smile:

Create a second Weather Undergound plugin device.

You then copy the file:
I_WUIWeather.xml → I_LocalWeather.xml

You may have to get this from the GitHub … since I believe the App store one is encrypted.

In the advanced page of the 2nd Weather device change the impl_file to I_LocalWeather.xml

Modify the code in I_LocalWeather.xml as appropriate to get this from your local weather PC.

3rd party apps that can access the existing Weather devices … will be able to access these as well.

[quote=“RichardTSchaefer, post:2, topic:177802”]Create a second Weather Undergound plugin device.

You then copy the file:
I_WUIWeather.xml → I_LocalWeather.xml

You may have to get this from the GitHub … since I believe the App store one is encrypted.

In the advanced page of the 2nd Weather device change the impl_file to I_LocalWeather.xml

Modify the code in I_LocalWeather.xml as appropriate to get this from your local weather PC.

3rd party apps that can access the existing Weather devices … will be able to access these as well.[/quote]

ahhh yes. This will have to wait I suppose. I’ve started looking at the luup stuff but I have yet to wrap my head around it. Who would have that that getting into home automation I would end up learning so many different programming languages…perl, vb, java, now luup. I have a ton of other things that could easily be done that would get the bulk of my system moved over so I will just do this manually for now until I have time to dedicate to it…

Thanks for the info on how to though!