cloudy cloudy

Author Topic: How to add output from web camera to FreshWDL  (Read 455 times)

0 Members and 1 Guest are viewing this topic.

Offline GW400

  • Posts: 28
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.67
How to add output from web camera to FreshWDL
« on: October 22, 2018, 07:35:30 PM »
Hi,
Where (in which module) should I add output from web camera to FreshWDL?

I want to add a picture frame from a web camera with code something like this: <url>https://www.xxx.yy/image.cgi?resolution=320x240&amp;compression=10&amp;clock=0&amp;date=0&amp;text=0</url>

Offline Weather Display

  • Posts: 85,313
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 69.0.3497.100
    • Weather Display
Re: How to add output from web camera to FreshWDL
« Reply #1 on: October 22, 2018, 08:11:02 PM »
just add that needed html code to the actual freshwdl html web page code
e.g near the bottom, before the closing </body> or closing </html>
experiment (back up the file first)

Offline GW400

  • Posts: 28
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.67
Re: How to add output from web camera to FreshWDL
« Reply #2 on: October 25, 2018, 06:08:44 AM »
Thank you Brian!
According to developer, it is currently not possible "due to the the system has been set up".
Maybe someone with the right skills can assist with a work around?

Offline Weather Display

  • Posts: 85,313
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 69.0.3497.100
    • Weather Display
Re: How to add output from web camera to FreshWDL
« Reply #3 on: October 25, 2018, 06:21:34 AM »
i would think you should be able to do it
I will try with my web page

Offline Weather Display

  • Posts: 85,313
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 69.0.3497.100
    • Weather Display
Re: How to add output from web camera to FreshWDL
« Reply #4 on: October 25, 2018, 06:35:06 AM »

Offline GW400

  • Posts: 28
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.67
Re: How to add output from web camera to FreshWDL
« Reply #5 on: October 25, 2018, 02:43:45 PM »
Yes, this is as far as I got as well.
My goal is to be able to render the ip camera in the rectangle below wind speed and barometer graphs.

Offline Weather Display

  • Posts: 85,313
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 69.0.3497.100
    • Weather Display
Re: How to add output from web camera to FreshWDL
« Reply #6 on: October 25, 2018, 05:56:59 PM »
the problem is, that is code that is not hosted on your web site
that code would need to be changed
I think the author could make an image container for a web cam image
via the settings config file
?

Offline GW400

  • Posts: 28
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.67
Re: How to add output from web camera to FreshWDL
« Reply #7 on: October 25, 2018, 09:43:57 PM »
Or download the code to local disk, make changes and run from local copy until developer have prepared for including network camera rendering.
If anyone have any idea about where and what to change it would be highly appreciated.

Offline Weather Display

  • Posts: 85,313
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 69.0.3497.100
    • Weather Display
Re: How to add output from web camera to FreshWDL
« Reply #8 on: October 29, 2018, 08:06:55 PM »
I see that it can be done:
www.larryscohen.com/weather

Niko seemingly you helped with this?

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,605
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 70.0.3538.77
Re: How to add output from web camera to FreshWDL
« Reply #9 on: October 29, 2018, 08:14:35 PM »
"Keep it simple" - FreshWDL is iframed into Larry's original html page code  :wink:

Offline Weather Display

  • Posts: 85,313
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 69.0.3497.100
    • Weather Display
Re: How to add output from web camera to FreshWDL
« Reply #10 on: October 29, 2018, 08:39:23 PM »
ah, so using an iframe  :wink:

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,605
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 70.0.3538.77
Re: How to add output from web camera to FreshWDL
« Reply #11 on: October 29, 2018, 09:02:28 PM »
Regarding GW400's request I did toy with the idea of having php/cron make a plain background image which would include the webcam image in the lower right corner...

Offline bitsostring

  • Posts: 484
  • Oregon WMR200
  • Edinburgh, UK
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: How to add output from web camera to FreshWDL
« Reply #12 on: October 29, 2018, 10:24:05 PM »
Regarding GW400's request I did toy with the idea of having php/cron make a plain background image which would include the webcam image in the lower right corner...

I remember that Yerren planned another button to follow "Graphs" in the bottom right-hand corner. . . for altitude/cloud height.
« Last Edit: October 30, 2018, 12:28:05 PM by bitsostring »
It's meant to be fun. . .