Creating and sending url
Moderator: Mattk
Creating and sending url
I was wondering: is it possible to create a url and call this url automaticly. Why?
I live in Hungary, i want to upload my wheaterdata to http://www.idokep.hu. This can be done with a program of them but this works only with my computer turned on. I asked them for an other solution and this is there answer:
To upload data to Idokep, You also have to register to Idokep Pro (pro.idokep.hu), with the same username/password as You used when registering for Idokep.
Then, you'll have to upload real-time data (preferrably in every minute), by calling the url below (as if it was a website url)
http://pro.idokep.hu/sendws.php?user=us ... okes=0.0
Of course, in the aboeve example, You will have to insert Your own username/password, as well as the actual weather data.
user=username
pass=password
tipus=your_weather_station_type
p=sea_level_air_pressure
hom=temperature
rh=humidity
szelero=wind_speed (in m/s)
szelirany=wind_direction (degrees 0-359)
csap1h=rain_in_last_hour (in mm)
csap=rain_in_last_day (in mm)
szellokes=wind_gust (in m/s).
Anyone ideas?
I live in Hungary, i want to upload my wheaterdata to http://www.idokep.hu. This can be done with a program of them but this works only with my computer turned on. I asked them for an other solution and this is there answer:
To upload data to Idokep, You also have to register to Idokep Pro (pro.idokep.hu), with the same username/password as You used when registering for Idokep.
Then, you'll have to upload real-time data (preferrably in every minute), by calling the url below (as if it was a website url)
http://pro.idokep.hu/sendws.php?user=us ... okes=0.0
Of course, in the aboeve example, You will have to insert Your own username/password, as well as the actual weather data.
user=username
pass=password
tipus=your_weather_station_type
p=sea_level_air_pressure
hom=temperature
rh=humidity
szelero=wind_speed (in m/s)
szelirany=wind_direction (degrees 0-359)
csap1h=rain_in_last_hour (in mm)
csap=rain_in_last_day (in mm)
szellokes=wind_gust (in m/s).
Anyone ideas?
Re: Creating and sending url
I can try to add support for this weather network in one of the next updates.
Re: Creating and sending url
Would be great!
Thank you!
Thank you!
Re: Creating and sending url
Please try the update located here, you will find a new enty for this network on weather network page:
http://meteohub.de/files/update-v4.9x.upd
Place on the smb share /public/transfer/, install method "file": /data/transfer/update-v4.9x.upd
http://meteohub.de/files/update-v4.9x.upd
Place on the smb share /public/transfer/, install method "file": /data/transfer/update-v4.9x.upd
Re: Creating and sending url
Great job Boris, thank you.
Update is up and running. Seems to work fine. For now just one issue: after every succesful upload to idokep.hu (5 minuts interval) I reseve an error e-mail from Meteohub:
Anyway great job, thanks a lot!
Jos
Update is up and running. Seems to work fine. For now just one issue: after every succesful upload to idokep.hu (5 minuts interval) I reseve an error e-mail from Meteohub:
For now I set upload messages to 'once an day'.Meteohub (meteohub): Cannot connect to Weather Network "idokep"
upload to idokep: Feltoltes sikeres <b><a target=_blank href=http://pro.idokep.hu/summary/index/id/1 ... iko</a></b> allomas nevvel<br>Archiv adatok lekerdezhetoek <a target=_blank href=http://pro.idokep.hu/graph/index/id/1107>itt</a> (10 perccel az elso adatfeltoltes utan) <!-- Beírás ide:<br> --!>
Anyway great job, thanks a lot!
Jos
Re: Creating and sending url
I did't took the time to translate de Hungarian part of the e-mail. The replay mail is not an error massage but an confirmation of a succesfull upload.
Translation in english:
Anyway I set the email notification to once a day, otherwise my mailbox explodes.
Jos
Translation in english:
This is the html page where you normally will returned to after submitting de url with (wheater-)data in browser.Upload a successful <b> <a target=_blank href=http://pro.idokep.hu/summary/index/id/1107> idociko </ a> </ b> Station name <br> archive data can be queried <a target = _blank href = http://pro.idokep.hu/graph/index/id/1107> here </ a> (10 minutes after the first upload) <! - Sign here: <br> ->
Anyway I set the email notification to once a day, otherwise my mailbox explodes.

Jos
Re: Creating and sending url
Upload process does expect to get an "OK" or "Success" in the string.
As I can't read Hungarian, what is the part of the string the process should look for to be sure upload has worked fine?
Looks like "sikeres" is the word for successful, so I will check for this one.
As I can't read Hungarian, what is the part of the string the process should look for to be sure upload has worked fine?
Looks like "sikeres" is the word for successful, so I will check for this one.
Re: Creating and sending url
I uploaded a new 4.9x, please give it a try.
Re: Creating and sending url
"Feltoltes sikeres" means "Upload succeded".
Re: Creating and sending url
I'm sorry, but where can I find 4.9x ?
Re: Creating and sending url
http://meteohub.de/files/update-v4.9x.upd
I just replaced the one you already installed.
I just replaced the one you already installed.
Re: Creating and sending url
4.9x is running now for 15 minutes. No email notifications!
Thanks again
Thanks again

Re: Creating and sending url
I think windspeed and gust are uploaded to idokep.hu in km/h. This must be m/s
Idökép convert m/s to km/h. Now the windspeed and gust are because of this mutch to high. (factor 3.6)
I could't see this yesterday because there was no wind at all then.
Idökép convert m/s to km/h. Now the windspeed and gust are because of this mutch to high. (factor 3.6)
I could't see this yesterday because there was no wind at all then.
Re: Creating and sending url
Uploaded a new 4.9x which should have that fixed. Please give it a try.
Re: Creating and sending url
Works fine now!
Thanks again.
Jos
Thanks again.
Jos