just one more thing. I tried to add forecast strip at the bottom of page, but what it did is strech page out of proportion. is it possible to add strip and it will ajust on size of page in web browser like the rest of page?
Dne sreda, 19. junij 2019 09.38.19 UTC+2 je oseba Damjan Hajsek napisala: > > After I post this I remember what I forget to change, now it works. Thank > you for helping. > If somebody want to use that skin it can, it works. > > Dne sreda, 19. junij 2019 09.35.41 UTC+2 je oseba Damjan Hajsek napisala: >> >> Hi >> Thank you for your willing to help. >> I have installed sofaskin and than add forecast, I am not programmer so I >> did as I know. >> I have zipped sofaskin so you can look at it. Before it worked with WU >> but don't know what is differend with OWM. >> If you try and test that skin it should work as it is. >> rar is a bit too large so I have uploaded it here on link. >> https://nextcloud.povej.net/index.php/s/qQPKsZE8dSE7t2q >> >> regards >> Damian >> >> >> Dne sreda, 19. junij 2019 01.13.57 UTC+2 je oseba gjr80 napisala: >>> >>> Damian, >>> >>> Since the forecasting extension example page for your site >>> <https://vreme.povej.net/forecast/forecast-periods.html> is displaying >>> OWM data the OWM forecast appears to be working. The issue will be with the >>> sofaskin. The solution will depend on the sofaskin author, it may be a >>> simple case of changing a sofaksin config setting to use the OWM forecast >>> instead of WU, or it may be that the author has hard coded the WU forecast >>> in the skin. Impossible for me to say (or guess) without seeing the >>> underlying code. I understand the original author no longer supports the >>> skin and googling 'weewx sofaskin' found many forks. I could not find any >>> version that had the forecast data included. >>> >>> If you can give me the link to where you downloaded your version of >>> sofaskin I am happy to have a quick look at the code and see if there is an >>> easy fix. Otherwise you may be best served by contacting the author of your >>> version of sofaskin. >>> >>> Gary >>> >>> On Wednesday, 19 June 2019 04:11:03 UTC+10, Damjan Hajsek wrote: >>>> >>>> this is what I had for WU and now I change for OWM and doesn't work. Is >>>> there anything else to setup for OWM or maybe DS? >>>> >>>> [[forecast_table_settings]] >>>> # source = WU >>>> source = OWM >>>> num_days = 7 >>>> >>>> [[forecast_strip_settings]] >>>> # source = WU >>>> source = OWM >>>> num_days = 15 >>>> num_periods = 40 >>>> >>>> >>>> Dne torek, 18. junij 2019 18.41.04 UTC+2 je oseba Paul McGeorge >>>> napisala: >>>>> >>>>> Looks like you are receiving the forecast from OWM and I can see it >>>>> here https://vreme.povej.net/forecast/forecast-periods.html >>>>> >>>>> I don't use the Sofaskin, but it looks like you need to update the >>>>> template that creates the Forecast table. >>>>> >>>>> >>>>> On Tuesday, June 18, 2019 at 3:27:05 AM UTC-6, Damjan Hajsek wrote: >>>>>> >>>>>> I have tried WU but it looks like WU canceled all APIs than I tried >>>>>> OWM and also doesn't work, no forecast ny my site, after that I try also >>>>>> DarkSky, and also doesn't work but I see pooling data from last two >>>>>> sites. >>>>>> Debug = 1 in weewx.conf >>>>>> I also deleted forecast.sdb and restart weewx >>>>>> Here is log and wee_debug. >>>>>> >>>>>> https://vreme.povej.net >>>>>> >>>>>> >>>>>> >>>>>> Damian >>>>>> >>>>>> >>>>>> As Gary pointed I will start new topic. >>>>>> >>>>>> Might be time for you to start a new thread specifically for your >>>>>> forecast problems, I think this one is getting a bit long and you now >>>>>> have >>>>>> a new issue. >>>>>> >>>>>> You might like to start off by stopping WeeWX, confirming debug = 1 >>>>>> in weewx.conf, deleting the forecast database forecast.sdb and then >>>>>> restarting WeeWX. Let WeeWX run for 2-3 archive periods and post a log >>>>>> extract from when WeeWX was restarted until the 2-3 archive periods have >>>>>> elapsed. Would also help if you posted a wee_debug >>>>>> <http://www.google.com/url?q=http%3A%2F%2Fweewx.com%2Fdocs%2Futilities.htm%23wee_debug_utility&sa=D&sntz=1&usg=AFQjCNFt3CwAONo9qN5etsx4Ap7ZUSRVTw> >>>>>> >>>>>> report. Make sure before posting the wee_debug report you check the >>>>>> output for any user names, passwords or other sensitive data and remove >>>>>> before posting. wee_debug does a good job at doing this but its not >>>>>> perfect. >>>>>> >>>>>> Gary >>>>>> >>>>>> >>>>>> I >>>>>> >>>>> -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/aa27cfa2-c5a8-47ad-ac88-790e8762aedf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
<!DOCTYPE html> <html class="no-js"> <head> <meta http-equiv="refresh" content="60"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11" /> <title>$station.location Current Weather Conditions</title> <!-- Open Graph --> <meta property="og:site_name" content="$station.location Current Weather Conditions" /> <meta property="og:description" content="Current Weather Conditions in $station.location - weather web site powered by weewx" /> <meta property="og:type" content="website" /> <!-- Icons --> <link rel="icon" href="favicon.ico" type="image/png"> <link rel="apple-touch-icon" href="touch-icon.png"/> <!-- Styles --> <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'> <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="css/main.css"> <!-- Skripte --> <script src="js/modernizr-2.6.2.min.js"></script> <script type="text/javascript"> function openNoaaFile(date) { var url = "NOAA/NOAA-"; url = url + date; url = url + ".txt"; if(date !== "Monthly summary" && date !== "Yearly summary") { window.location=url; } } </script> </head> <body> <header> <div class="container-fix" > <div class="h-left" > <h1><i class="fa fa-cloud" ></i> $station.location</h1> <p>$station.latitude[0]° $station.latitude[1]' $station.latitude[2] | $station.longitude[0]° $station.longitude[1]' $station.longitude[2] | $station.altitude | <a href="https://www.google.com/maps/?q=$station.location" target="_blank" ><i class="fa fa-map-marker" ></i> Show on map</a></p> <h2>Current Weather Conditions</h2> <p><i class="fa fa-clock-o" ></i> $current.dateTime</p> </div> <div class="h-right" > <table> <tr><td><b>Station:</b></td><td>$station.hardware</td></tr> <tr><td><b>Software:</b></td><td><a href="http://weewx.com/" target="_blank" >weewx v$station.version</a></td></tr> <tr><td><b>Weewx uptime:</b></td><td>$station.uptime</td></tr> <tr><td><b>Server uptime:</b></td><td>$station.os_uptime</td></tr> </table> </div> <nav> <ul> <li class="active" ><a href="index.html" >Current</a></li> <li><a href="week.html" >Week</a></li> <li><a href="month.html" >Month</a></li> <li><a href="year.html" >Year</a></li> <li><a href="RSS/weewx_rss.xml" >RSS</a></li> <li><select name="noaaselect" onchange="openNoaaFile(value)"> <option>Monthly summary</option> #for $monthYear in $SummaryByMonth <option value="$monthYear">$monthYear</option> #end for </select></li> <li><select name="noaaselect" onchange="openNoaaFile(value)"> <option>Yearly summary</option> #for $yr in $SummaryByYear <option value="$yr">$yr</option> #end for </select></li> </ul> </nav> </div> </header> <div class="main" > <div class="container" > <div class="left" > <div class="card" > <h1><i class="fa fa-sun-o m-orange" ></i> Current Conditions</h1> <table class="tablespacer"> <tr><td>Outside Temperature</td><td>$current.outTemp</td></tr> <tr><td>Wind Chill</td><td>$current.windchill</td></tr> <tr><td>Heat Index</td><td>$current.heatindex</td></tr> <tr><td>Dewpoint</td><td>$current.dewpoint</td></tr> <tr><td>Humidity</td><td>$current.outHumidity</td></tr> <tr><td>Barometer</td><td>$current.barometer</td></tr> <tr><td>Barometer Trend ($trend.time_delta.hour.format("%.0f"))</td><td>$trend.barometer</td></tr> <tr><td>Wind</td><td>$current.windSpeed $current.windDir.ordinal_compass ($current.windDir)</td></tr> <tr><td>Rain Rate</td><td>$current.rainRate</td></tr> <tr><td>Inside Temperature</td><td>$current.inTemp</td></tr> #if $day.extraTemp1.has_data <tr><td>Pond Temperature</td><td>$current.extraTemp1</td></tr> #end if #if $day.UV.has_data <tr><td>UV</td><td>$current.UV</td></tr> #end if #if $day.ET.has_data and $day.ET.sum.raw > 0.0 <tr><td>ET</td><td>$current.ET</td></tr> #end if #if $day.radiation.has_data <tr><td>Solar Radiation</td><td>$current.radiation</td></tr> #end if </table> </div> <div class="card" > <h1><i class="fa fa-sun-o m-orange" ></i> Weather 7 days</h1> #include "forecast_iconic.inc" </div> <div class="card" > <h1><i class="fa fa-moon-o m-grau" ></i> Since Midnight</h1> <table class="tablespacer"> <tr><td>High Temperature</td><td>$day.outTemp.max</td><td>$day.outTemp.maxtime</td></tr> <tr><td>Low Temperature</td><td>$day.outTemp.min</td><td>$day.outTemp.mintime</td></tr> <tr><td>High Heat Index</td><td>$day.heatindex.max</td><td>$day.heatindex.maxtime</td></tr> <tr><td>Low Wind Chill</td><td>$day.windchill.min</td><td>$day.windchill.mintime</td></tr> <tr><td>High Dewpoint</td><td>$day.dewpoint.max</td><td>$day.dewpoint.maxtime</td></tr> <tr><td>Low Dewpoint</td><td>$day.dewpoint.min</td><td>$day.dewpoint.mintime</td></tr> <tr><td>High Humidity</td><td>$day.outHumidity.max</td><td>$day.outHumidity.maxtime</td></tr> <tr><td>Low Humidity</td><td>$day.outHumidity.min</td><td>$day.outHumidity.mintime</td></tr> <tr><td>High Barometer</td><td>$day.barometer.max</td><td>$day.barometer.maxtime</td></tr> <tr><td>Low Barometer</td><td>$day.barometer.min</td><td>$day.barometer.mintime</td></tr> <tr><td>Today's Rain</td><td>$day.rain.sum</td><td></td></tr> <tr><td>High Rain Rate</td><td>$day.rainRate.max</td><td>$day.rainRate.maxtime</td></tr> <tr><td>High Wind</td><td>$day.wind.max $day.wind.gustdir</td><td>$day.wind.maxtime</td></tr> <tr><td>Average Wind</td><td>$day.wind.avg</td><td></td></tr> <tr><td>RMS Wind</td><td>$day.wind.rms</td><td></td></tr> <tr><td>Vector Average Speed</td><td>$day.wind.vecavg</td><td></td></tr> <tr><td>Vector Average Direction</td><td>$day.wind.vecdir</td><td></td></tr> <tr><td>High Inside Temperature</td><td>$day.inTemp.max</td><td>$day.inTemp.maxtime</td></tr> <tr><td>Low Inside Temperature</td><td>$day.inTemp.min</td><td>$day.inTemp.mintime</td></tr> #if $day.extraTemp1.has_data <tr><td>High Pond Temp</td><td>$day.extraTemp1.max</td><td>$day.extraTemp1.maxtime</td></tr> <tr><td>Low Pond Temp</td><td>$day.extraTemp1.min</td><td>$day.extraTemp1.mintime</td></tr> #end if #if $day.UV.has_data <tr><td>High UV</td><td>$day.UV.max</td><td>$day.UV.maxtime</td></tr> <tr><td>Low UV</td><td>$day.UV.min</td><td>$day.UV.mintime</td></tr> #end if #if $day.ET.has_data and $day.ET.sum.raw >0.0 <tr><td>High ET</td><td>$day.ET.max</td><td>$day.ET.maxtime</td></tr> <tr><td>Low ET</td><td>$day.ET.min</td><td>$day.ET.mintime</td></tr> #end if #if $day.radiation.has_data <tr><td>High Radiation</td><td>$day.radiation.max</td><td>$day.radiation.maxtime</td></tr> <tr><td>Low Radiation</td><td>$day.radiation.min</td><td>$day.radiation.mintime</td></tr> #end if </table> </div> #if $Extras.has_key('radar_img') <div class="card" > #if $Extras.has_key('radar_url') <a href="$Extras.radar_url" target="_blank"> #end if <img src="$Extras.radar_img" alt="Radar" id="radar" class="space small" /> #if $Extras.has_key('radar_url') </a> #end if <h3> #if $Extras.has_key('radar_gif') <a id="btn1" class="cpointer" >Image / Animation</a> <script> function changeRadar() { if(document.getElementById("radar").src == "$Extras.radar_img") { document.getElementById("radar").src = "$Extras.radar_gif"; } else { document.getElementById("radar").src = "$Extras.radar_img"; } } var el = document.getElementById('btn1'); el.onclick = changeRadar; </script> #end if #if $Extras.has_key('radar_url_alt') #if $Extras.has_key('radar_url_alt_text') | <a href="$Extras.radar_url_alt" target="_blank" >$Extras.radar_url_alt_text</a> #else | <a href="$Extras.radar_url_alt" target="_blank" >Second Radar</a> #end if #end if </h3> </div> #end if #if $Extras.has_key('lightning_map') <div class="card" > #if $Extras.has_key('lightning_url') <a href="$Extras.lightning_url" target="_blank"> #end if <img src="$Extras.lightning_map" alt="Lightning Map" class="space small" /> #if $Extras.has_key('lightning_url') </a> #end if </div> #end if </div> <div class="right" > <div class="card" > <h1><i class="fa fa-star-o m-rot" ></i> Almanac</h1> #if $almanac.hasExtras ## Extended almanac information is available. Do the full set of tables. #set $sun_altitude = $almanac.sun.alt #if $sun_altitude < 0 #set $sun_None="<i>(Always down)</i>" #else #set $sun_None="<i>(Always up)</i>" #end if <div class="haelfte" > <h3>Sun</h3> <table> <tr><td>Start civil twilight:</td><td>$almanac(horizon=-6).sun(use_center=1).rise</td></tr> <tr><td>Sunrise</td><td>$almanac.sun.rise.string($sun_None)</td></tr> <tr><td>Transit:</td><td>$almanac.sun.transit</td></tr> <tr><td>Sunset:</td><td>$almanac.sun.set.string($sun_None)</td></tr> <tr><td>End civil twilight:</td><td>$almanac(horizon=-6).sun(use_center=1).set</td></tr> <tr><td>Azimuth:</td><td>$("%.1f°" % $almanac.sun.az)</td></tr> <tr><td>Altitude:</td><td>$("%.1f°" % $sun_altitude)</td></tr> <tr><td>Right ascension:</td><td>$("%.1f°" % $almanac.sun.ra)</td></tr> <tr><td>Declination:</td><td>$("%.1f°" % $almanac.sun.dec)</td></tr> #if $almanac.next_equinox.raw < $almanac.next_solstice.raw ## The equinox is before the solstice. Display them in order. <tr><td>Equinox:</td><td>$almanac.next_equinox</td></tr> <tr><td>Solstice:</td><td>$almanac.next_solstice</td></tr> #else ## The solstice is before the equinox. Display them in order. <tr><td>Solstice:</td><td>$almanac.next_solstice</td></tr> <tr><td>Equinox:</td><td>$almanac.next_equinox</td></tr> #end if </table> </div> <div class="haelfte" > <h3>Moon</h3> <table> <tr><td>Rise:</td><td>$almanac.moon.rise</td></tr> <tr><td>Transit:</td><td>$almanac.moon.transit</td></tr> <tr><td>Set:</td><td>$almanac.moon.set</td></tr> <tr><td>Azimuth:</td><td>$("%.1f°" % $almanac.moon.az)</td></tr> <tr><td>Altitude:</td><td>$("%.1f°" % $almanac.moon.alt)</td></tr> <tr><td>Right ascension:</td><td>$("%.1f°" % $almanac.moon.ra)</td></tr> <tr><td>Declination:</td><td>$("%.1f°" % $almanac.moon.dec)</td></tr> #if $almanac.next_full_moon.raw < $almanac.next_new_moon.raw <tr><td>Full moon:</td><td>$almanac.next_full_moon</td></tr> <tr><td>New moon:</td><td>$almanac.next_new_moon</td></tr> #else <tr><td>New moon:</td><td>$almanac.next_new_moon</td></tr> <tr><td>Full moon:</td><td>$almanac.next_full_moon</td></tr> #end if <tr><td>Phase:</td><td>$almanac.moon_phase<br />($almanac.moon_fullness% full)</td></tr> </table> </div> #else ## No extended almanac information available. Fall back to a simple table. <table> <tr><td>Sunrise:</td><td>$almanac.sunrise</td></tr> <tr><td>Sunset:</td><td>$almanac.sunset</td></tr> <tr><td>Moon Phase:</td><td>$almanac.moon_phase<br/>($almanac.moon_fullness% full)</td></tr> </table> #end if </div> <div class="card cc graphs" > <h1><i class="fa fa-line-chart m-gruen" ></i> Graphs</h1> <img src="daytempdew.png" alt="temperatures" /> <img src="daytempchill.png" alt="heatchill" /> <img src="dayrain.png" alt="rain" /> <img src="daywind.png" alt="wind" /> <img src="daybarometer.png" alt="barometer"/> <img src="daywinddir.png" alt="Hi Wind" /> <img src="dayinside.png" alt="Inside" /> <img src="daywindvec.png" alt="Wind Vector" /> #if $day.radiation.has_data <img src="dayradiation.png" alt="Radiation" /> #end if #if $day.UV.has_data <img src="dayuv.png" alt="UV Index" /> #end if #if $day.rxCheckPercent.has_data <img src="dayrx.png" alt="day rx percent"/> #end if #if $day.extraTemp1.has_data <img src="daypond.png" alt="Pond Temperatures" /> #end if </div> </div> <div class="card" > <h1><i class="fa fa-sun-o m-orange" ></i> Weather detailed forecast</h1> #include "forecast_strip.inc" <body onload="populate_strip('forecast_strip', 'DS');"> <div id='forecast_strip'></div> </body> </div> </div> </div> <footer> <div class="container-fix" > All rights reserved. © 2014 #if $Extras.has_key('you') $Extras.you #end if ⋅ Design by <a href="http://blauesledersofa.de" >blaues Ledersofa</a> ⋅ Powered by <a href="http://weewx.com/" target="_blank" >weewx</a> </div> </footer> #if $Extras.has_key('googleAnalyticsId') <!-- Google Analytics --> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '$Extras.googleAnalyticsId', 'auto'); ga('send', 'pageview'); </script> #end if </body> </html>