Hello (and Happy Holidays to all!) I am trying to have the image from a 
streaming webcam added to my weewx page. I have it functioning over the 
wireless network in my home, but I cannot see it from the outside world. 
The following are the settings I am using:

In skin.conf I have: 
[Extras]
    # Put any extra tags here that you want to be available in the templates
    
    # Here's an example. 
    # This radar image will be available as $Extras.radar_img
    radar_img = http://radar.weather.gov/ridge/lite/N0R/AMX_loop.gif
    # This URL will be used as the image hyperlink:
    # radar_url = 
http://radar.weather.gov/ridge/radar.php?rid=amx&product=N0R&overlay=11101111&loop=yes
    radar_url = http://www.spaghettimodels.com/cities/westpalmbeach.htm
    # URL for Blitzortung.org; added 08/23/15
     [[lightning]]
         lightning_img = http://www.blitzortung.org/Images/image_b_us.png
    #    lightning_url = 
http://www.blitzortung.org/Webpages/index.php?lang=en&page_0=32
         lightning_url = 
http://www.blitzortung.org/live_lightning_maps.php?map=32
    # end of addition
     [[webcam]]
         hyperlink = http://xxx.xxx.x.xx:8081

In index.html.tmpl is: 

 #if $Extras.has_key('radar_img')
        <div id="radar_img">
          <a href="$Extras.radar_url">
            <img src="$Extras.radar_img" alt="Radar" /></a>
          <p>Click image for expanded radar loop</p>
          <a href="$Extras.lightning.lightning_url">
            <img src="$Extras.lightning.lightning_img" alt="Lightning" 
/></a>
          <p>Click image for more Florida lightning info</p>
          <a href="$Extras.webcam.hyperlink">
            <img src="http://xxx.xxx.x.xx:8081"; alt="Webcam" /></a>  
         </div>
        #end if

In my router, I added a port forwarding entry of xxx.xxx.x.xx:8081

Thanks for any guidance...

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3b8e4f53-a722-4567-913b-452fa9a850b0%40googlegroups.com.

Reply via email to