Author Topic: Weather34 template(non meteobridge versions)  (Read 118387 times)

0 Members and 1 Guest are viewing this topic.

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #250 on: June 03, 2017, 03:12:42 PM »
Thanks Brian, I will grab that in the morning :)
PS, what's the best way to upgrade?

go grab a can of John Smiths ,download zip(only 3.42mb) , unzip to your desktop, delete existing files from server, upload new files to server , pour your John Smiths into a pint a glass sit back take sip of the foam if your poured it right ! (at an angle) and haaaaaa just go through the easysetup and job done . now sit back in the armchair and enjoy your pint of bitter...

in all seriousness i always say as it is such a small download do a full upgrade its takes less than 5 minutes unless you have made some personal changes directly to the code .
when there is a change to the easyweathersetup then be safe and do a full upgrade. there are times when you can just replace a file and the css files. i try to mention that in the description when possible. if it was a 30mb or more download each time i would work out a upgrade path.

...enjoy your beer i really miss real local bitter especially when i lived in Matlock for 6 years ,turkish beer is naff and imported beer(London Pride) is like 10 pound a can !

have a nice weekend..brian




Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #251 on: June 03, 2017, 03:23:38 PM »
HA HA :)

Thats what ive just done minus the beer :)

I did some kayaking on the river in Matlock a good few moons back now, good river when its got a decent flow :)

Anyhoo, update done, enjoy ya weekend :)
Kind regards
Bashy

Offline tstorm

  • Contributor
  • ***
  • Posts: 141
    • Harpers Ferry Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #252 on: June 03, 2017, 04:27:32 PM »
I'm using the the clientrawextra.txt file and the max solar is missing from the sunshine block across the top.  The clientrawextra.txt file (http://www.harpersferry-weather.com/clientrawextra.txt) does have the max solar in it.

John

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #253 on: June 03, 2017, 04:47:06 PM »
I'm using the the clientrawextra.txt file and the max solar is missing from the sunshine block across the top.  The clientrawextra.txt file (http://www.harpersferry-weather.com/clientrawextra.txt) does have the max solar in it.

John

ok i crossed checked elsewhere couldnt see the issue everyone else is showing fine with [819] so i then pasted in your clientrawextra into my dummy file and from your output you need to change the line shown below,dont ask me why i dont use WD..

[819] to [817]

in livedataclientrawx.php

$weather["maxsolar"]           = number_format($clientrawextra[819],0 ,'','');

to   

$weather["maxsolar"]           = number_format($clientrawextra[817],0 ,'','');

brian   



Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #255 on: June 04, 2017, 06:37:27 AM »
ONLY FOR VERSION 3.4-X4 (SUNDAY 4TH JUNE 2017)
  - Minor changes to trend icons cleaner svg code.Added new svg icons for max-min temp/wind modules.Added new svg icons for trends temp/baormeter
  - Weather Display currentconditions useage added further code for descriptions output.
  - files changed
temperature.php
barometer.php
homeindoor.php
max-mintemp.php
max-minwind.php
currentconditions.php
currentconditionswd.php
livedataclientrawx.php



now off on a 3 day boat trip so if you don't hear from me or don't get a reply to anything i will catchup later this week.
the above changes are minor only ..you can just replace the files listed above.

take care and so sad about London this morning..

brian

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #256 on: June 04, 2017, 11:26:30 AM »
Cheers for the update, ya didnt twiddle with the forecast did ya?

Got no forecast showing, the wuweatherupdate.txt has the forecast in it.
http://www.brecklandweather.com/pwsV34WFnewer/

I am getting this error though
Code: [Select]
[04-Jun-2017 16:19:51 Europe/London] PHP Warning:  Invalid argument supplied for foreach() in /home/myaccount/public_html/pwsV34WFnewer/forecast/hour.php on line 44

The line is

Code: [Select]
foreach ($decoded['hourly_forecast'] as $value)

Enjoy ya time away :D
« Last Edit: June 04, 2017, 11:29:38 AM by Bashy »
Kind regards
Bashy

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #257 on: June 04, 2017, 06:21:13 PM »
NO problemen Brian I ll update tot the later version first

all done .

brian

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #258 on: June 05, 2017, 12:38:28 AM »
Thought you was away, shouldnt be working, but thank you, just to let you know that if i
just update hour.php forecast is back working again and so is the station outlook, if i update
the whole forecast folder again, the forecast works great but the station outlook disappears...

oh, just noticed, at 5:40am i am pulling in UV 6 lol should be 0, not sure where its finding 6
is that for Istanbul? normally a 6 at midday for this time of year here :)

Also, when the station puts out a long outlook, it looks like the image included below ;)
Perhaps have it use more of the block?

No rush, its all working, i just updated the hour.php, talk when ya back on dry land :)
« Last Edit: June 05, 2017, 02:35:59 AM by Bashy »
Kind regards
Bashy

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #259 on: June 05, 2017, 02:46:48 AM »
mmm, tried my self, set it to 300 but that was still losing some off the edge of the block
So, set it to 350 and font at 11, that was better but, still losing some off the edge, see image

PS, the above made possible by you, by adding the css at the end  :lol: :lol: :lol: :lol:
Kind regards
Bashy

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #260 on: June 05, 2017, 02:51:58 AM »
Got your email, and it was better than my effort, thank you, working well now :)
Kind regards
Bashy

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #261 on: June 06, 2017, 10:43:50 AM »
Just noticed this about the conditions (image attached) no rush, rain will finish soon anyway
Kind regards
Bashy

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #262 on: July 05, 2017, 04:38:41 AM »
quietly since end of last month a few have been ironing a few teething issues , i would like to thank all those for your continuous email input and patience .since July 1st a new version has been available but took the time to hold back on announcing it in the popular forums apart from the cumulus forum.

the changes are not major or significant that it changes anything in the way it works , just attention to user experience and cater for the casual user without creating a design that looks likes the weather on steroids . so enjoy the update and as always if your happy with your current setup there is no need to update.

VERSION 3.4-X5 (Wed 5th July 2017)
  - IE11 (Internet Explorer) css alignment fix for earthquake top module. please replace earthquake.php and three css files main.light,color,dark.css.

  - Meteobridge api Users only .Boris the developer of meteobridge has updated the firmware with HOMEWEATHERSTATION api changes.
Meteobridge V3.3 released July 2, 2017 :applies non-standard primary sensor settings to HomeWeatherStation uploads. Changing primary sensors on live data tab did not had an effect on which sensors were used for feeding HomeWeatherStation uploads. With the new release, this is taken into account as with the other weather networks.

VERSION 3.4-X5 (Saturday 1st July 2017)
  - Rainfall area re-worked now shows Rain-Rate progess meter , compiled with only css no jQuery or third party scripts , pure css designed based on a simple progress method ! uses simple multiplier method to distinct from metric and non metric
  - Rainfall Guage colored SVG added
  - Top four sections(modules) all positions are able to have any of the optional data modules .simply choose in the easyweather setup.
  - Main Clock moved out of top module position into header bar area freeing up to allow all positions to have an optional module
  - CSS files reduced by 30% now only 110k !! ..http://refresh-sf.com .performance measured at https://gtmetrix.com see screenshot below.
  - Jquery files(3) reduced by 25% !! ..http://refresh-sf.com. performance measured at https://gtmetrix.com see screenshot below.
  - Full HTTPS compliant if your webserver and domain is HTTPS compliant (Be prepared and dont wait there are some rather annoying browsers functions/annoyances just around the corner so be ready its not just about credit cards !)
  - Zambretti forecaster/outlook optional choice added on (a weather34 compiled outlook forecaster will be avilable in December 2017, brand new code and is in use at https://weather34.com
  - indexearthquake.php removed option is now available in the easyweathersetup.php to use with standard default index.php.
  - cleaner wxcharts.php optional graphic page.
  - full update required , new options in easyweathersetup.php and its now only a 2.97mb download dont mix it with 34-X4 or earlier versions.

https://weather34.com/homeweatherstation/



many thanks to  Paul W,Toxic,Paul K,Forever,Greg M,Boris(smartbedded),Rick R,Brian M(server resolve),Patrick V(api) and many others for the compliments.

if your english is not so good please drop a simple email and i can arrange support for you in your native language if the language is supported in the template.
thanks to those who are continuously supporting in their native language .Me personally can only support in depth in turkish or native english.



brian
« Last Edit: July 05, 2017, 05:10:01 AM by weatherist34 »

Offline steepleian

  • Senior Member
  • **
  • Posts: 53
    • The Claydons Community Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #263 on: July 06, 2017, 03:51:17 AM »
Good morning everyone,

This is an open question to anyone who maybe using weewx in conjunction with the HomeWeatherstation template. I am interested to know if you are either using weewx extensions to generate realtime.txt or clientraw.txt files or using an alternative method.

Thank you in advance.

Ian

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #264 on: July 07, 2017, 06:16:08 AM »
VERSION 3.4-X5 (Fri 7th July 2017) Updated..
  - Canadian Flag option added just select "CAN" in the language setup .note it is not french canadian it purley uses the english language
  - Fonts removed switch to new font for number outputs.
  - CSS files reduced and improved.
  - New currrentconditions option to show outlook for current day as opposed to hourly data.

https://weather34.com/homeweatherstation/




« Last Edit: July 07, 2017, 06:59:45 AM by weatherist34 »

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #265 on: July 07, 2017, 11:44:33 AM »
sorry i forgot to mention this

if a solar/lunar/annular eclipse total or partial is viewable it will show up in the weather alert box if no other weather alerts are present.

looks like this , it will only appear on the date . simple straight forward php if date xxxx no external scraping resources used and uses a simple svg icon..
I've added the dates from 2017 to 2020 will add more over time

VERSION 3.4-X5 (Fri 7th July 2017) Updated
  - Canadian Flag option added just select "CAN" in the language setup .note it is not french canadian it purley uses the english language
  - Unused Fonts removed switched to new font for numerical outputs.
  - CSS files reduced and improved.
  - New currrentconditions option to show outlook for current day as opposed to hourly data.
  - Added Lunar/Solar/Annular Eclipses to appear on date of viewable. It appears in the moon phase section as well as weather alerrt module when no other weather alerts are present.
  - Minor fix for cumulus sunshine hours where font is too small.



brian


« Last Edit: July 07, 2017, 02:35:40 PM by weatherist34 »

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #266 on: July 08, 2017, 04:38:36 AM »
VERSION 3.4-X5 (Sat 8th July 2017) Updated
  - alerts module tweaked and updated to show Perseids meteor shower when peak . homenotification.php and livedata.php
  - Fixed current weather icon not showing in current34outlook.php.

https://weather34.com/homeweatherstation/

below shows the updated layout for different type of alerts can be shown. the solar/meteor are based annual dates and only appear on those specific dates.
for now i have only added perseids however i can add the  Geminids,Quadrantid,Lyrids etc but probably perseids is the most favourable for best viewing .

all icons are svg..

brian


« Last Edit: July 08, 2017, 06:17:45 AM by weatherist34 »

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #267 on: July 11, 2017, 04:26:32 AM »
VERSION 3.4-X5 (Tuesday 11th July 2017) Updated
  - Meteobridge api fixed Heat Index output. thanks to Boris and Josep. must update livedata.php
  - Spanish , Catalan, Argentine languages updated.
  - Added on more solar eclipse events and major annual meteor showers .Important two files require to be updated livedata.php and homenotification.php .
  - Aurora info page updated better refined A-index prediction. . inside info folder update sunindex.php .
  - Language support added to optional top modules earthquake.php, homenotification.php and all files in language folder updated.
  - Added Distance to output in earthquake pop up module. update file inside of eqfolder called eqlist.php

https://weather34.com/homeweatherstation/

Offline gand

  • Senior Member
  • **
  • Posts: 61
    • Lynghuzed
Re: HOMEWEATHERSTATION Dashboard template
« Reply #268 on: July 16, 2017, 01:05:47 AM »
Hi

Can I in any way avoid using WU? I have read that it will be possible to use MySql instead, but can not see how I install it. Only WS1001 is mentioned.

Can I use other forecasts than WU and how do I install it?

I use clientraw with Davis Vantage Pro2

Thanks
gand

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #269 on: July 16, 2017, 08:57:43 AM »
hello

sure if you have the knowledge of setting up mysql then its relatively easy to do .

one advantage of using the direct ws1001 api method .every time the updateweatherstation.php is triggered as in my setup every 16 seconds it inserts the data to a mysql and at the end of every day 23:59 i append the data to monthly csv and yearly csv then empty the database automatically and starts a new day at midnight. this all automated without any third party software or cron job. it uses a simple built in script that triggers at 23:59 each day . in use at https://weather34.com

example of simple emptying at 23:59

<?php
if (date('Hms')>=235939){
//empty today values for homeweather station
$conn = mysqli_connect($db_host,$db_user,$db_pass,$db_name);
mysqli_query($conn,"TRUNCATE weatherstation");}
?>
   
if you are using the meteobridge api method then this will be available sometime in september  with additional code added to the mb.php api file to insert and create data into a mysql..db

the aim is to have everything automated unfortunately this template only supports api methods with ws1001 and meteobridge . there is no support for weather display or cumulus methods . however there are some that have put together there own methods to use mysql instead wu data.


for forecast in the past i have tried alternatives like darksky , accuweather , weatheronline the responses were very mixed from various locations around the world they seem to use airport data which was not much use for anyone living some distance from there nearest airport. so I went with the original idea of using WU unfortunately what works for one doesn't always work for others just the unfortunate .

there are alternatives already in use many have implemented WXSIM forecasts but these again are done by the user themselves so you need a bit knowledge of putting code together .

probably not what you wanted to hear but it is what it is for now and unlikely to see any different methods apart from reaping the benefits of using the meteobrodge api method.

i do have alternatives forecast files for darksky,accuweather you are free to try if so drop me an email and i will forward them on after the 22nd July as I no files with me at present ..

brian..






Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #270 on: July 21, 2017, 06:51:58 AM »

VERSION 3.4-X5 (Friday 21st July 2017) Updated
  - New Cloudbase "Relative" Indicator" simple one line jquery and a few lines of css with SVG . doesnt get any simpler than that.
  - CSS files updated
  - easyweathersetup.php updated to reflect new module requires full update including settings1.php !! .
  - UVINFO pop included brief description of World Health Organization recommendations and protections .
  - New alerts added for aurora for those in northern latidudes 49 deg and above based on KP index value
  - PLEASE NOTE * FULL UPDATE is required many files updated and download remains under 3mb at 2.64mb !! .. ...

https://weather34.com/homeweatherstation/


Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #271 on: July 22, 2017, 06:07:15 AM »

VERSION 3.4-X5c (Saturday 22nd July 2017) Updated
  - "Its never perfect but we try " without the feedback you send in I would never see half of the issues.More eyes the better !
  - New Cloudbase "Relative" Indicator" minor fixes added to css output and alignment. main.dark.css, main.color.css, main.light.css
  - New Cloudbase "Relative" Indicator" three files updated cloudbase.php, solar1.php, solar2.php . improved positioning of height value
  - You can simply replace the six files mentioned above no need to do full update if on version 34-X5c .
  - Download the six files from http://www.mediafire.com/file/mkqf3rwq5exk6dg/x5cupdate.zip *please note they are only valid for Version 34-X5c !! .

https://weather34.com/homeweatherstation/


Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #272 on: July 23, 2017, 06:14:41 AM »
VERSION 3.4-X5c (Sunday 23rd July 2017) Updated
  - solar2.php fix for UV INDEX value of 7 or 8 not rendering circle and color .
  - Download the fix from http://www.mediafire.com/file/mkqf3rwq5exk6dg/x5cupdate.zip *please note they are only valid for Version 34-X5c !! .
  - Weewx users information you can use the cumulus option more info here .https://github.com/weewx/weewx/wiki/crt thanks to Alex..

https://weather34.com/homeweatherstation/

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: HOMEWEATHERSTATION Dashboard template
« Reply #273 on: July 27, 2017, 06:58:38 AM »
Hi Brian, one has installed the latest version 3.4-x5(d) and i appear to be having a time out.......... droll i know lol

http://www.brecklandweather.com/Weather34-X5/index.php
Kind regards
Bashy

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #274 on: July 27, 2017, 07:59:40 AM »
Hi Brian, one has installed the latest version 3.4-x5(d) and i appear to be having a time out.......... droll i know lol

http://www.brecklandweather.com/Weather34-X5/index.php

LOCAL TIME ? position 1  clock is moved to the top right , i am missing something ?

what does timeout mean ?