Plugin webcam

Post Reply
Laglene
Observer
Observer
Posts: 30
Joined: Thu Nov 04, 2021 4:44 pm
Location: Galargues 34
Station model: Davis pro 2
Software: Weatherlink
Contact:

Plugin webcam

Post by Laglene » Sat Dec 09, 2023 2:58 pm

ImageGood morning,
The Webcam plugin does not work.
The cron functions parfaitement.
Now you can configure the plugins.
Despite everything hidden, the image appears well on the plugin but the history of the images and cartoons refuses their appearances and remains blocked on the date of commissioning of the plugin.
Cron tells me the next message:
"DIR=/public_html/www/load/crons<br>
baseURL=/public_html/www/<br>
Missing settings file, create one using the plugin setup."
Thank you very much, I would like to help you resolve this problem.
Happy weekend to all
Attachments
2023-12-09_155452.png
2023-12-09_155452.png (335.16 KiB) Viewed 54296 times
Image

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Plugin webcam

Post by davidefa » Sun Dec 10, 2023 5:59 pm

Not sure why the cron is reporting that settings file is missing, as it seems present to me.
But I think the configuration is not correct ( I can see from the url of the broken image shown under the date ).
One thing a time:
- please install the attached plugin, it is already configured with your data, so no need to run the setup ( for the moment ).
- check that the plugins/webcam and subdirectories have the 'right permissions' ( it depends on your server, it could be 0644, but could be different )
- execute the updateWebcam.php script directly in the plugins/webcam directory ( insert your password )
https://meteo-galargues.fr/plugins/webc ... E_PASSWORD

The result should be similar to this one:

webcam02.png
webcam02.png (15.81 KiB) Viewed 54288 times

you should now have an image in the images folder and you should be able to select day 10 from the calendar in index.php.
Wait 5 minutes and rerun the updateWebcam.php ( from the above link ), you should have the second image...
If everything is correct you can copy the updateWebcam.php script in the load/crons directory and ( hopefully ) your plugin should work as expected.
Attachments
webcam_3.3_lagiene.zip
(15.36 KiB) Downloaded 1136 times
Image

Laglene
Observer
Observer
Posts: 30
Joined: Thu Nov 04, 2021 4:44 pm
Location: Galargues 34
Station model: Davis pro 2
Software: Weatherlink
Contact:

Re: Plugin webcam

Post by Laglene » Mon Dec 11, 2023 3:24 pm

Good evening Davide,
I would like to thank you warmly for your prompt response and the help you provide to all of us.
For my part, I installed the version you posted.
Unfortunately, this doesn't work.

I am sending you the attached error code messages:
- Notice: Undefined variable: password in /public_html/www/plugins/webcam/updateWebcam.php on line 5

- Notice: Undefined variable: updatePassword in /public_html/www/plugins/webcam/updateWebcam.php on line 5

- Notice: Undefined variable: baseURL in /public_html/www/plugins/webcam/updateWebcam.php on line 9
Missing Webcam settings file, create one using the plugin setup.

If this makes your intervention easier, you can use Team Viewer if necessary.
Looking forward to reading you
Sincerely

Didier HUBERT
Image

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Plugin webcam

Post by davidefa » Mon Dec 11, 2023 5:32 pm

- a write access to your server could be ok ( via ftp or via a file manager )
- team viewer is ok too, but it requires a 'synchronization' ( for example tonight after 22:30 is ok for me )
Image

Laglene
Observer
Observer
Posts: 30
Joined: Thu Nov 04, 2021 4:44 pm
Location: Galargues 34
Station model: Davis pro 2
Software: Weatherlink
Contact:

Re: Plugin webcam

Post by Laglene » Mon Dec 11, 2023 8:19 pm

Good evening Davide,
Ok for me 10:30 p.m.
Please note, I speak neither English nor Italian.
I do everything through Google translator
ok for teamviewer
Image

Laglene
Observer
Observer
Posts: 30
Joined: Thu Nov 04, 2021 4:44 pm
Location: Galargues 34
Station model: Davis pro 2
Software: Weatherlink
Contact:

Re: Plugin webcam

Post by Laglene » Tue Dec 12, 2023 8:47 am

Hello to all the community,
Problem solved thanks to the intervention of Davide.
I thank him for his dedication, without him many problems would still have to be resolved.
He worked for me until midnight to find the solution and I am extremely grateful to him.
My webcam works.
Thank you Davide
2023-12-12_094632.png
2023-12-12_094632.png (217.16 KiB) Viewed 54249 times
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Plugin webcam

Post by tobydude » Wed Dec 20, 2023 5:07 pm

Hi.

I also have the problem that there is no image in the /public_html/template/plugins/webcam/images folder.

Crontab Perform test run: webcam (on crontab-org)

Date: Wed, 20 Dec 2023 16:59:01 GMT
Server: Apache
Upgrade: h2,h2c
Connection: Upgrade
Strict-Transport-Security: max-age=15768000
Access-Control-Allow-Origin: *
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

load/crons<br>
base=../<br>including /home/fjrvofei/public_html/template/plugins/webcamRename/settings.php<br>
font=/home/fjrvofei/public_html/template/plugins/webcamRename/ttf/VeraBd.ttf<br>
delYearDir:<br>delMonthDir:<br>delDayDir:<br>2023 12 19<br>23 12 19<br>dynamicDirectory=/2023/12/19<br>realpath=/home/fjrvofei/public_html/template/plugins/webcamRename/cam3/2023/12/19<br>delYearDir:<br>delMonthDir:<br>delDayDir:<br>2023 12 20<br>23 12 20<br>dynamicDirectory=/2023/12/20<br>realpath=/home/fjrvofei/public_html/template/plugins/webcamRename/cam3/2023/12/20<br>overlay=<br>
expand params<br>
first_line_right=#T#<br>
first_line_right_format=%s<br>
flr=-0.4<br>
fllfc=255, 0, 0<br>
flr=-0.4<br>
fll=Temperatur<br>
vofs_first_line=1<br>
bar_height=18<br>
second_line=<br>
second_line_format=%s<br>
image saved<br>
Loaded CRON: /home/fjrvofei/public_html/template/load/crons/awebcamRename.php<br>load/crons<br>
Current date/time: 2023-12-20 17:59:01<br>sensor U=DeviceDash[0][time_utc][value]=1703090978<br>sensor TIN=DeviceDash[0][Temperature][value]=16.6<br>sensor CO2_1=DeviceDash[0][CO2][value]=456<br>sensor NIN=DeviceDash[0][Humidity][value]=44<br>sensor NL=DeviceDash[0][Noise][value]=33<br>sensor P=DeviceDash[0][Pressure][value]=982.7<br>sensor R=Dash[0][0][sum_rain_1][value]=0<br>sensor RR=Dash[0][0][sum_rain_24][value]=0<br>sensor W=Dash[0][1][WindStrength][value]=12<br>sensor B=Dash[0][1][WindAngle][value]=201<br>sensor G=Dash[0][1][GustStrength][value]=24<br>sensor T=Dash[0][2][Temperature][value]=-0.4<br>sensor H=Dash[0][2][Humidity][value]=79<br>Calling api.php date/time: 2023-12-20 17:59:01<br>
using curl<br>
Success<br>Exiting api.php date/time: 2023-12-20 17:59:01<br>
Loaded CRON: /home/fjrvofei/public_html/template/load/crons/updateNetAtmoNet.php<br>Webcam image not being saved because either the save interval hasn't elapsed yet, or the saving is only set to occur during night and it is night-time now.<br>No images older than 2023-12-01 00:00:00
Loaded CRON: /home/fjrvofei/public_html/template/load/crons/updateWebcam.php<br>

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Plugin webcam

Post by davidefa » Fri Dec 22, 2023 10:56 pm

@tobydude
Yes, I know, it is not easy to understand if something is not working correctly ( or configure the webcam/webcamRename plugins )
I've updated the webcamRename plugin adding 4 'test buttons' to understand if the configuration is ok, and to test each step that is performed ( in the hope to understand where the precess breaks, or configure as wanted ). Need to test it more thoroughly.
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Plugin webcam

Post by tobydude » Sat Dec 23, 2023 7:45 am

Thats fine. :)
Just want to add that the plugin webcam do save images but there is no data in the images.

Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Plugin webcam

Post by tobydude » Sat Dec 23, 2023 8:12 am

Regarding the plugin webcamRename, the two images that are saved in the /template/plugins/webcamRename/images folder, webcam.jpg and webcam1.jpg works. So the webcam image is shown on my weather page.


Image

So maybe its in the Webcam plugin the error is.
The plugin webcamRename seems to work fine.

Plugin webcam:
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Plugin webcam

Post by tobydude » Sat Dec 23, 2023 8:39 am

webcam plugin

Saved but no data in images.
Image

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Plugin webcam

Post by davidefa » Sat Dec 23, 2023 6:08 pm

@tobydude

Good info ( and good debug )
Image

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Plugin webcam

Post by davidefa » Sun Jan 07, 2024 1:41 pm

@tobydude

If I'm not wrong the problem lies in in the unicode character of 'fjærvollan.no' so in the configuration of the webcam plugin do not use it, use instead 'xn--fjrvollan-h3a.no' or a local path as used in the webcamRename plugin.
The following is ok:

Code: Select all

https://xn--fjrvollan-h3a.no/template/plugins/webcamRename/images/webcam1.jpg
webcam06.png
webcam06.png (196.35 KiB) Viewed 54136 times

Clicking the 'Check webcam image' button should result in something similar as last image


If this does not fix the issue, it would be helpful to have a direct access to your server ( for example via ftp or via a file manager ) so that I can test the plugin directly.

webcam07.png
webcam07.png (20.58 KiB) Viewed 54136 times
Attachments
webcam_3.4.zip
(18.49 KiB) Downloaded 890 times
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Plugin webcam

Post by tobydude » Sun Jan 07, 2024 4:35 pm

Thank you.
The webcam plugin (3.4) startet to work again and are saving images. (For the timelaps)
Seems to work fine now but will se tomorrow how it works. Thanks.

javigar66
Observer
Observer
Posts: 10
Joined: Mon Aug 21, 2017 12:14 pm
Location: Carlet
Station model: Davis Vantage Pro II
Software: Weather Display
Contact:

Re: Plugin webcam

Post by javigar66 » Thu Mar 21, 2024 8:20 pm

Good night friends.

I have been trying to get the webcam_3.4 plugin to work for several days and there is no way. Upload the images to my ftp but without content.
I have tried the
- Check Webcam Image Settings tests --> without result,
-Test Webcam Image Saving --> without result
- Test Webcam Update Script with this result.....
substr=ins/webcam
base=../../
timestamp=1711048907 (20:21:47)
timeForUpdate=1711049400 (20:30:00)
Save interval elapsed.
Webcam image being saved.
imageURL=##https://www.avametnuvol.es/estacions/c2 ... webcam.jpg##

The webcam block does work and the image of my webcam is free access, it does not need a username or password and this is its url https://www.avametnuvol.es/estacions/c2 ... webcam.jpg

Image

If anyone could help me or point out what I might have wrong, I would appreciate it.

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 249
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: Plugin webcam

Post by Jolumarali » Fri Mar 22, 2024 7:24 am

hola Javi, si quieres probar mi versión 3.0, me funciona perfectamente con papaya 18
PHP 7.33

Saludo

José Luis
Attachments
webcam.zip
(15.92 KiB) Downloaded 854 times
Image
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Plugin webcam

Post by tobydude » Fri Mar 22, 2024 8:10 am

I got it to work.
I installed the plugin webcam 3.4.

The settings.

Image
Attachments
webcam_3.4.zip
webcam_3.4.zip
(18.49 KiB) Downloaded 1068 times

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Plugin webcam

Post by tobydude » Fri Mar 22, 2024 8:30 am

Also posting the plugin WebcamRename ( and overlay ) 1.4.
Is used with the webcam plugin.
Attachments
webcamRename_1.4.zip
(355.08 KiB) Downloaded 1053 times

javigar66
Observer
Observer
Posts: 10
Joined: Mon Aug 21, 2017 12:14 pm
Location: Carlet
Station model: Davis Vantage Pro II
Software: Weather Display
Contact:

Re: Plugin webcam

Post by javigar66 » Fri Mar 22, 2024 8:57 am

Thank you tobydude and Jolumarali for your response.

I have the same configuration as you and the problem is that it cannot check the url from where I get the jpg image. However, the block does work with the same url of said image.

I just tried version 3.0 that Juan told me about and it seems that it works, we need to see if it loads the sequence of images. I have been using version 19.0 Cranberry with php8.2.10 for a few months now and I don't know if the webcam 3.0 plugin will have any incompatibility.

The image from my webcam is already renamed because I save it on the server of a network of stations in my region and it is already renamed there.

javigar66
Observer
Observer
Posts: 10
Joined: Mon Aug 21, 2017 12:14 pm
Location: Carlet
Station model: Davis Vantage Pro II
Software: Weather Display
Contact:

Re: Plugin webcam

Post by javigar66 » Sat Mar 23, 2024 7:38 am

Good morning.

I have tested the webcam version 3.0 for two days and it does not record the images so I can see them on the date they were taken. Yes, the image appears next to the calendar but nothing more.

Version 3.4 didn't work for me either.

I have looked at my web hosting and the /www/template/plugins/webcam/images folder is empty, it has not stored any images in the last two days.

If anyone can help me I will appreciate it.

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Plugin webcam

Post by tobydude » Sun Mar 24, 2024 6:33 am

Can you post a screenshot of your webcam plugin and the webcamRename plugin settings?

javigar66
Observer
Observer
Posts: 10
Joined: Mon Aug 21, 2017 12:14 pm
Location: Carlet
Station model: Davis Vantage Pro II
Software: Weather Display
Contact:

Re: Plugin webcam

Post by javigar66 » Thu Mar 28, 2024 9:24 pm

Hello tabydude.

I have not been able to answer you before due to technical problems with my webcam that I have not yet been able to solve.
When I get it I will contact you again.
Thanks for your help.

Post Reply