First time user: Post your problems here

Wim

Thanks.
added the command to my Meteobridge Pro event list, working fine.

Isaac

Hi wim

Side : http://meteo3131.info/pwsWD/

I have a small problem
In the max wind|vlaag km/h is an erroneous value.
I don’t know what happened but around 6 am there’s a value of 101 km/h
I have tried to correct several txt files in my-setting and wu data but no luck.
I even copied from a test system
Whenever the cron_stations runs the old values are back.
What file(s) do I have to edit to correct this problem.

Isaac

Hi,

First of all, well done for the help you bring to everyone, it’s great.

I have a few small questions that I would like to resolve with your help.

My site is on hold because last week I received my Davis station but I have the ISS Davis solar panel which arrived broken so I had to send it back and in the meantime I am working on the edition of my site.

1st: I put in 'webcam2_c_block “a link in order to view the live weather animation from the meteociel site but when I click on” enlarge "I only get the base image from ./img/Camplus. jpg.
I would like to replace it with a link like “https://neige.meteociel.fr/satellite/latest-ir.gif” or any other link …

2nd: I have 3 neolink cameras on a synology nas that I can also see on my local ip address like “192.168.1.??”
If you can, how to put and or the command in order to recover an image from a camera every “X” minutes?

I hope not to bother you with my stupid questions
cordially
Tank you Spock

www.neufchatel-hardelot-meteo.fr

You can update the history.txt with pwsWD/PWS_hist_update.php?pw=12345
Replace 12345 with your easyweathersetup password.
That should help, succes,

Wim

Only the first webcam script uses a “easyweather”-setting for the link to the image as at least 80% of the users has 0 or 1 webcam.
The script to modify the link for extra webcams is the generic pop-up script: pwsWD/image_popup.php
At line 91

$pop_img[$n]['url']     = './img/camplus.jpg';

you should change the link to
$pop_img[$n][‘url’] = ‘https://neige.meteociel.fr/satellite/latest-ir.gif’;

. . . 2nd: I have 3 neolink cameras on a synology nas that I can also see on my local ip address like "192.168.1.??" If you can, how to put and or the command in order to recover an image from a camera every "X" minutes? . . .

The dashboard needs is a from the webserver accessible link to a (static) image.

There are so many webcams with all kind of different facilities, most of them are able to upload a static image to your website.
But how to do that is different between brands of camera’s and often also between different camera’s of the same brand.

Better ask the vendor of your camera’s how to do that.

Wim

Wim,
sorry to have to bother you again but after modifying line 91 I get this error

Parse error: syntax error, unexpected ‘pop_img’ (T_STRING), expecting variable (T_VARIABLE) or ‘{’ or ‘$’ in /htdocs/image_popup.php on line 91

Wim
Wim

Sorry I could not reply to your last answer.

You can update the history.txt with pwsWD/PWS_hist_update.php?pw=12345
Replace 12345 with your easyweathersetup password.

I could correct the values.
Only 5 min later all the old ( wrong values ) are back.

Is there a way I can start all over again by replacing history with no values ?

Isaac

You changed that line yourself.
Rule 1: always make a backup
Rule 2. When an error occurs rename the script with the error and replace it with the backup

This is what it looked for webcam2 when you downloaded the original script

$n      = 'wcam2';
$pop_img[$n]['url']     = './img/camplus.jpg';

If you check that same line in your modified script :

$n      = 'wcam2';
$ pop_img [$ n] ['url'] =  https://neige.meteociel.fr/satellite/latest-ir.gif;

You should check yourself: you (or MS-word or similar) inserted spaces between the $ and the name of the field, the before and after the link is missing
This is php please use a decent program editor as explained in the readme files.
For a Mac use bbedit for windows use notepad++

Change the line again and remove the extra characters.
Also add the quotes around the link, otherwise you get an another error.

$n      = 'wcam2';
$pop_img[$n]['url']     = 'https://neige.meteociel.fr/satellite/latest-ir.gif';

@ALL
This is not an iPhone or android app.
These are complex scripts and you yourself have to decide if you are able to modify them.
If you really want all kind of special customised pages, check carefully what you are doing.

Wim

Did you check the upload file? Use the debug-console pwsWD/PWS_module_test.php middle button
or direct here http://meteo3131.info/pwsWD/PWS_print_file.php?showall
It show wind/gustspeed in m/s

32 wind_gust_speed_max Y 28.0
33 wind_gust_speed_max_time Y 16:24

And 28.0 m/s equals to 100.8 km/h

So the dashboard is correctly calculating.
If your Meteobridge has invalid data you can update error in the wind/gust value in your meteobridge itself.

Wim

Ooohh yes !! :Oops:
I was using the original notepad in Windows, with notepad ++ is definitely better
Sorry, I have been learning php for 8/10 days now I will check my syntax several times !!
Thank you

Spock

:wink: (Re)reading forum messages is useful for the learning curve.
But sometimes raises questions …
.
Wim,
In Reply#30 you state

Your tempest, nor your 2 WU sites (IOVERIJS101 IHENGE37) use a weather-program, so (nearly) no history. When it would have had rain history it should be displayed.
. True that Tempest and IHENGE37 have an upload to WU only since November 2020, but that should be sufficient to show info over January. IOVERIJS101 has upload since 2015, both from meteo-software WsWin and from Domoticz. Readback at the WU_website shows info for all dates. . Therefore, short question ([i]for understanding[/i]): what is missing in WU to feed PWS_Dashboard with history-info, and why?

Already answered, I think, your original question and moved to a separate topic.
Here => History and graphs data

What info are you asking about.
WU can be used for graphs => best solution
History.txt is needed to show high-lows for some weather-program uploads or weahter-nets.

You should use cron to update the history.

Yes you can generate a “start-history” using WU-data. => pwsWD/PWS_hist_recreate.php?pw=12345
Yes you can update the history file if you have an error-value in it => PWS_hist_update.php?pw=12345

is there anything else missing?

Wim

Sorry, shift not seen.

After 12 years I decided to refresh my station page
http://www.meteoarachova.com
I installed here Arachova Smart Home Weather Station
The PWS_Dashboard in combination with CumulusMX.
The historical data I have is about ten years old, through the Weather Underground.
For this reason I chose the WU for historical data.
So I ask for your help because while in the graphical display of data everything appears normally in the History of the Currentsky block everything is empty.
What exactly is the problem ??

In advance thank you very much.

Are you running the history cron job?

try running http://www.meteoarachova.com/ws1/PWS_hist_recreate.php?pw=[your password]

also, make sure you are running the station cron every 5 minutes

Wim,

I got the answer from reolink regarding my RLC-411 5 MP.

Dear Spock,

Thanks for choosing Reolink!

[b]http://192.168.1.11/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456[/b]

Waiting for your response! Anything we can help you with, please do not hesitate to contact us.
Have a nice day!
Best regards,
Reolink Support Team-Skyler

If I understand correctly I just have to put this address and modify the webcam3_c_block.php file and the image_popup.php file ??

Thank you in advance for your help.
Spock

The dashboard scripts running on https://www.neufchatel-hardelot-meteo.fr/ need an accessible link to a (static) image.
The link you got from support is a link which is only accessible inside your home-lan.

What you should ask: Is the camera able to upload ( using FTP) a static image to your webserver.

But as you are using WeatherDisplay the problem is easily solved.

WeatherDisplay can easily upload a webcam image.
You need to give WeatherDisplay the link http://192.168.1.11/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456
and then instruct WeatherDisplay to upload the image to the same location where you already upload the clientraw.txt

Probably there is a youtube movie. => https://www.youtube.com/watch?v=h5lptNpTaq8&feature=youtu.be&ab_channel=BrianHamilton
More movies => https://www.weather-display.com/youtubevideos.php

If you need help with webcam and WeatherDisplay ,
post the question in this topic: http://discourse.weather-watch.com/c/10

Succes, Wim

In order to configure pws with a davis pro 2 + weatherlink live it is here (photo) that we must enter the codes ??

Is this any help: http://discourse.weather-watch.com/p/539148