First time user: Post your problems here

Would be very grateful for any assistance to setup my streaming webcam onto my website, this is the script I received from the people hosting my webca
My programing skills are very very basic mainly my trial and error which usually ends up in failure, so if anyone could guid me as to what files and how I need to change them I would be most grateful


webcam script.txt (215 Bytes)

I assume that you want the movie to show in the pop-up only.
Normally one has a still image in the small block and the movie in the pop-up
Step 1:
Adapt the _my_settings/webfilm_popup.php to your iframe text as you got from the hosting comapany.
Also in that script set line 24 to comment.
I attached the adapted script and tested it, it works.

Now tell the system scripts that the pop-up should show the movie. . . ./pwsWD/PWS_blocks.php lines 422-423. They are now

$blck_ppp [$script][]   = array ('show' => true,      'popup' => 'image_popup.php?nr=wcam1&lang='.$used_lang,   'chartinfo' => 'popup',    'text' => $cam_txt  );
#$blck_ppp [$script][]   = array ('show' => true,      'popup' => '_my_settings/cam_movie_popup.php',            'chartinfo' => 'popup',    'text' => $movie_txt  );

Change them to

#$blck_ppp [$script][]   = array ('show' => true,      'popup' => 'image_popup.php?nr=wcam1&lang='.$used_lang,   'chartinfo' => 'popup',    'text' => $cam_txt  );
$blck_ppp [$script][]   = array ('show' => true,      'popup' => '_my_settings/webfilm_popup.php',            'chartinfo' => 'popup',    'text' => $movie_txt  );

line 422 needs to be commented with a # on the first position
line 423 should be uncommented (remove the #) and the name of the script to display needs to be changed also.

ALWAYS make a copy o a script before adapting it.
Also use a script-editor, not word or notepad.exe

You now find how to get a still image from your camera to display in the small block.
The link to that image should go into your easyweather-settings.

Wim


webfilm_popup.php.zip (1.48 KB)

many thanks for the quick reply, will give that a go tomorrow

Have a small problem, getting a error message when trying to run the movie (haven’t setup the still image yet)


PWS_blocks.zip (4.1 KB)

webfilm_popup.zip (808 Bytes)

[s]This is the link which is used
http://skeltonweather.uk/pwsWD/_my_settings/webfile_popup.php?script=webcam_c_block.php
This is the error
404 Page Not Found
We’re sorry, but the server could not find the URL you tried to load.

So the script could not be located in the _my_settings/ folder.

Did you

  1. unzip the script and
  2. put it in your _my_settings/ folder ?

Wim[/s]

There was a typo in my previous post.

All is working now.

Wim

I have just finished my installation of the PWS_Dashboard and most everything seems to be working at http://thenoleweather.online/. However I cannot get data to pull for the Max Wind Gust for today and the history and the min max temperature and its history and the entire history for my station. I am using Weather Underground for this. I dont know what I am doing that is not pulling this information. I am including screen shots of what I am talking about.


have you setup your cronjobs

No how do you go about doing this?

Go to support/download page PWS_Dashboard start and see under Documentation.

You are using WU for graphs, which are working OK, but you need the cron job for History and max-min.

I accidentally saw that the API key from WU is valid until May this year. I don’t know why. What will happen after May? Or asked otherwise, do I have to change that code in the setup every year? Is this a habit with all APIs?

Prompted by your question, I researched how long my key is valid.
The answer is
Expires: Wed, 04 Sep 2019 18:07:56 GMT
but I find that it still works.
So I think you can take it easy

Great Mogens that you looked that up…Now it turns out to be true. Time only exits because otherwise everything happens at the same time.

Hi from France,

I’ve just downloaded PwsWD package and uploaded on my website…
I can’t make settings, even if I give “12345” for password…

Where is my mistake ?
Can you help me ?

Thanks in advance

Solved the issue myself…

Sorry for inconvenience…

Hi,
I have downloaded and install the PWS template and successfully have it running, self-serving it on a Raspberry Pi 3B+ and I am very happy with it so far. One niggle I have (and it is a very minor one at that) is that I would like to change the flag shown at the bottom of the page to an Irish flag. Is this possible and if so what code do I have to change in which file. Many thanks in advance for your excellent work. My site can be reached here: http://geashillweatherservice.duckdns.org:8085/pwsWD/
Best regards from Ireland.

Thanks for testing the PWS_dashboard. The flag / language selection is a two step process.
First select in . . /pwsWD/_my_settings/languages.txt which “english” language you want to use.
There are 6 english languages defined, all but en-uk are set to comment with a # on the first position
In your case, set en-uk to comment and remove the # from the line for en-ie
Second step start easyweathersetup (menu → settings)
=> on the first tab “Start”
=> question “Choose the default language to display and use.” => Template language to be used as default
==> select the first language, which now should be "English (Ireland)

More about languages:
You can also set some other languages you are not familiar to comment in . . /pwsWD/_my_settings/languages.txt .

You can “enhance” the . . /pwsWD/languages/lang_en.txt with more Irish wordings.
And remove spelling errors.
If you compare the “lang_en.txt” file with other languages, you will notice that there are nearly no English translations.
Nearly all “my-english” texts in the scripts are written to the screen “untranslated”
Therefor when you notice spelling errors in txts you probably have to add a line to lang_en.txt to remove the error.
=> https://pwsdashboard.com/documentation2012/26_languages.pdf

Wim

Perfect!!! Just what I wanted, many thanks for your great work!! :smiley: :smiley: :smiley:

Hi Wim,
I have just updated my files via easyweather and uploaded them to the site and now, unfortunately, now the earthquake block is not working :(, can you point me in the right direction to fix it please?
Thanks again, http://geashillweatherservice.duckdns.org:8085/pwsWD/index.php

Keith


I too have an empty eqnotification.txt (from https://pwsdashboard.be/feeds).

Oh! OK, then it’s not just me :lol: