WXforum.net
Weather Station Hardware => Rainwise Weather Stations => Topic started by: kljw on November 27, 2016, 06:49:32 AM
-
Hi All
I need a little help and guidance if possible. I have built a web page that can be see at www.mm0ktc.com.
I have just ordered a IP-100 unit, in order to upload live data to my site, and here is the problem... as I am not computer literate as they say, I am confused about how to get the data uploaded to my site and displayed.
I used Weather Display and Weather Display Live to show data on a previous version, but not be able to leave my Mac turned on means I cannot see data when away from home.
if there is anyone that could look at the web page and advise what I need to do to get the data showing, I would appreciate the help. I don't have a lot of time to spend learning code in order to achieve the end result, hence why I am posting.
thank you in advance
Keith
-
When you register your IP 100 you will automatically receive a web page. It's pretty simple to register and the site will be up and running in less than 10 minutes!
There will be several other options to register your RW MK-III with. Those will be pretty simple to do as well. Just take your time and if you need further assistance after you receive the IP 100 and have it registered, just ask. I'm sure someone here will be glad to assist.
-
Blizzardof78
many thanks for the res[once, but I would like the data to go to my personal site that I am developing, not the generic one offered by Rainwise Net.
Keith
-
maybe use an IFrame to the web site you get provided that is updated via your IP logger into your own web page
-
You could nix the IP and get the computer interface and run it into a Meteobridge box. Lots of options from there!
-
but he already has one
-
He said he "ordered one" - send it back!
-
the thing is you do not know the whole picture here and the reasonings etc (I do)
and so jumping in to suggest to use a meteobridge etc is not the solution he is after, and is just confusing things
all he wants is , temporarily, is for the data from the rain wise IP data logger that is sent to the rain wise web site , to be instead sent to his own web site
a solution might be to use an iframe or similar to show the rain wise web site data in his own web site
-
Your "solution" is not really a solution. If the OP is after his data rather than embedding RW.net or CWOP or WU in aniFrame, then he'll have to scrape Rainwise or somehow intercept the data flow. The MB is a solution that gives him much more control over his data yet still send to WU etc.
-
Hi
many thanks for the all the responses, certainly given me something to think about.
As I have ordered the IP-100 from a UK supplier, then I would not be able to return it. I had looked at the Meteobridge box, but I am not keen on the idea of having another box shall we say in line from the logger. so there is a desire to reduce the amount of hardware I have.
I have gone for the IP-100 so that data can be uploaded to the web, when I do not have my Mac turned on, this is the main reason. The idea of an iFrame sounds like the best solution, as when I open up my web site, I can see the current conditions, which is all I am after, and is easy from people to find, as it linked to my Ham Call Sign.
I will still be able to access data directly from the IP-100 to display on my Mac as I use Weather Display.
thank you all again for the information, very much appreciated.
Keith
MM0KTC
-
Hi Keith
As you've heard, the Rainwise IP-100 was intended to display your data in their web environment.
What you may want to try is go ahead and build your website and have one of your pages point to your Rainwise web portal URL.
Jim
-
Your "solution" is not really a solution.
But I think you will find for this situation it is a solution
-
Your "solution" is not really a solution.
But I think you will find for this situation it is a solution
This looks like a good option. Although I've never used it (gave up personal hand-held web sites years ago), this looks like it may work.
<iframe src="http://www.yourrainwisesite.net"></iframe>
-
This is probably the only time you will ever hear this from me, but yes... an iframe is a good solution in this case :D
-
If the OP wanted to keep a small box (Raspberry pi?) running, you could run some code to interrogate "status.xml" which is updated with the Rainwise conditions every 2 seconds. There is some Python code floating around the net...
-
What is the difference between getting a Raspberry Pi and a Meteobridge... the point here is that Brian´s solution means he can achieve what he wants without any additional devices.
-
With zero flexibility. Essentially screen-scraping only what Rainwise's canned web page provide. No steel series gauges, no Meteotemplate etc. MB provides so much for instance and the .xml route would give full control and much better display. But if all the guy wants is to have his webpage display current Rainwise info, then I'd just create a subdomain weather.nnnn.com and point it to his Rainwise page.
-
@Bushman, its only needed overnight,to use the Rain wise IP data page, when his Mac is not running
as posted in the very first post
otherwise his web page is updated by the weather display software running on his mac when during the day
-
With zero flexibility. Essentially screen-scraping only what Rainwise's canned web page provide. No steel series gauges, no Meteotemplate etc. MB provides so much for instance and the .xml route would give full control and much better display. But if all the guy wants is to have his webpage display current Rainwise info, then I'd just create a subdomain weather.nnnn.com and point it to his Rainwise page.
Yes, yes, yes...... yes to all your arguments, but... if I understand this correctly, this is a temporary solution, I also wouldnt buy and set up MB and all the rest just temporarily. What are you going to do with afterwards. Sell it?
-
Sure - why not sell it?
-
@Bushman, its only needed overnight,to use the Rain wise IP data page, when his Mac is not running
as posted in the very first post
otherwise his web page is updated by the weather display software running on his mac when during the day
It has been years since I used my (legally licensed) copy of WD. How would this work? Would WD overwrite the iFrame source only when it is on? When it goes off, how does the iFrame code reappear?
-
Sure - why not sell it?
Because first of all - would it really be worth it to first have to order it, then install it, then use it for a short while and then trying to sell it and ship it again?
And second, this is not a main stream product and it is not that likely someone would just happen to be looking for one in your neighborhood and most importantly - I am not sure you can actually "sell it", since meteobridge is not really hardware, but rather software licence tied to the device MAC address.
-
How would this work? Would WD overwrite the iFrame source only when it is on? When it goes off, how does the iFrame code reappear?
that is a point, but there will be ways to overcome this
(i.e the iframe code is part of the WD web page template)
this is only a temporary thing
-
How would this work? Would WD overwrite the iFrame source only when it is on? When it goes off, how does the iFrame code reappear?
that is a point, but there will be ways to overcome this
(i.e the iframe code is part of the WD web page template)
this is only a temporary thing
Clearly you are privy to information at a greater level than originally posted. I'd like to see the code (likely Javascript, not OOTB) that manages when which box is sending information. Assuming the OP actually wants WD on their webpage at all. I have to say this is exactly why I hate these pre-canned net-connected devices: try to do anything but what they were designed for and there is much consternation. Oh well, hopefully the OP gets something up there that meets the requirements.
-
Assuming the OP actually wants WD on their webpage at all.
why would you say something like that?
why would they not want to?
I'd like to see the code (likely Javascript, not OOTB) that manages when which box is sending information
this is only a temporary thing
and so what it will be , I would suggest, is a web page updated by WD during the day, with an iframe for the Rainwise IP data from their web site, being updated as well...but at night, then the Mac is off, then it will just be that iframe data that will be up to date with information
it does not need to be any more complicated than that..i.e talking about python code on a raspberry pi is not exactly something the average person is going to want to do
-
Like I said - show the code. WD will overwrite the iFrame; then how do you get the iFrame to overwrite the WD code?? PLus it has to be smart enough to know when the Mac is not sending WD HTML.
-
Like I said - show the code. WD will overwrite the iFrame; then how do you get the iFrame to overwrite the WD code?? PLus it has to be smart enough to know when the Mac is not sending WD HTML.
You can simply specify some time at which the pages would switch cant you?
-
Of course you can. Fairly easily. But who knows if the Mac will get turned off at that specific time? I guess if nothing else at least the Rainwise page (stanadlone) will be active 24/7
-
Coding Alert! :)
Here's the way to automate this: (checks to see if the IP of the Mac is active. Still needs code to choose WD or iFrame as the weather source)
function Pinger_ping(ip, callback) {
if(!this.inUse) {
this.inUse = true;
this.callback = callback
this.ip = ip;
var _that = this;
this.img = new Image();
this.img.onload = function() {_that.good();};
this.img.onerror = function() {_that.good();};
this.start = new Date().getTime();
this.img.src = "http://" + ip;
this.timer = setTimeout(function() { _that.bad();}, 1500);
}
}
-
WD will overwrite the iFrame;
no it wont if you that I frame code is part of the WD web page (i.e using a custom template web page etc)
the actual posters web site is a WDL web site
so WD is not overriding the html web page anyway
-
I'd like to see this in action. The iFrame will ALWAYS be active (since it embeds the always-on wx from Rainwise) so how do you simultaneously disply the WD info? Or does it go stale while the iFrame is Active?
-
why does it need to go to stale/stop updating?
you will obviously have 2 different data feeds on the same page
the rainwise IP data (in an iframe) and the WDL data
during the night (when not many people are looking at the weather data anyway, while the Mac is off), WDL will not be up to date..I can't see it as being being a big deal
or
you could have WD upload a html file that is the web page (i.e index.html) at around the time the Mac is running that just has WDL
and then upload another html file (e.g using the general FTP upload) that shows the data from Rainwise via a iframe, for night time use, before the Mac is turned off for the night
it does not need to be any more complicated than that for this temporary situation
-
I guess... but having two sets of data that may or may not be the same is kinda weird in my books.
-
Temporary situation
-
All
I have been following the debate with great interest. just to confirm a few things....
1. the IP-100 will be used to send data all of the time to the Rainwise Net Page.
2. I will no longer send data to any web page from WD, it will be Dione from the IP-100.
3. All I need, is to be able to show the Rainwise Net Data in my Web Page, so when it opened, it there.
you have all provided a great deal of information, and it is appreciated, I just wish I had your level of knowledge with regard this subject.
Keith
-
Then the iframe is the perfect solution for you. Apologies for going off track.... but it might help someone else down the road.
-
Bushman
lots of great info provided, and has proven to be a learning curve. when I finally get my logger, and its up and running, I may call on you for some assistance in setting up an iFrame.
keith