Weather34 TEMPLATE

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Gyvate
Expert Boarder
Expert Boarder
Posts: 97
Joined: Thu May 14, 2020 4:36 pm

Weather34 TEMPLATE

Post by Gyvate »

I'm using Meteobridge on RPi and included is a W34 version - 9.34 as the screen says.
What is missing is the history - there is no history button visible to click on - and there's no history to be displayed either.
Even though the files and year directories are there ../PWS/MB2/weather34charts/... the yearly or monthly csv files are not updated nor are the daily files being created.
Is this a bug or a feature ? Maybe no history meant to be shown on a MB/RPi ?
MB-RPi-W34-01.PNG
MB-RPi-W34-01.PNG (17.42 KiB) Viewed 291 times
Or is there some special customizing to be done by me ?
Beyond the standard setup, some special option ?
I'm running a W34 version on a web site which works perfectly - also has history.
WH4000SE 1.5.7/GW1000 1.6.3/HP1000SE Pro 1.6.9
2xMeteobridge Pro [B+R],RPi4-2/16
Ecowitt 5763, 5764; WU ISAARB3; ISAARB22; Weathercloud 3011399141; http://meshka.eu/meteo/template - http://meshka.eu/Weather34

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 6591
Joined: Mon Oct 01, 2007 10:51 pm

Re: Weather34 TEMPLATE

Post by admin »

The dashboard included with the RPI does not show the weather34 specific graphs.

If you are looking for a complete weather34 installation you have to set this up on some webspace your own and feed it with data from Meteobridge.

Gyvate
Expert Boarder
Expert Boarder
Posts: 97
Joined: Thu May 14, 2020 4:36 pm

Re: Weather34 TEMPLATE

Post by Gyvate »

admin wrote:
Tue Jan 26, 2021 10:49 pm
The dashboard included with the RPI does not show the weather34 specific graphs.

If you are looking for a complete weather34 installation you have to set this up on some webspace your own and feed it with data from Meteobridge.
As you could read from my post which you just answered, I am already doing this. Your mentioned approach runs already on one of my webservers since long. This was my first template I fed by my MB Pro, even with PM2.5 sensor and a properly working lightning display - which still doesn't work completely in MB - but when the live data is transferred into Weather34, it is stored there while MB unfortunately still doesn't store it.

http://meshka.eu/Weather34

However, it would have been nice to have it all run on one server, i.e. on the RPi.

As obviously the php scripts for the display of the actual data are running, it shouldn't be a big deal also to have the update function (re-?)activated, even on the MB - the data space used for that is minimal. The collected CSV files of two years in the 10 minute resolution are 3 MB.

To me it looks as if the update and the history have been intentionally deactivated, even if there is no obvious (to me) reason for that.
If I find some more time, I will cross-compare the php scripts and locate the blockage. And obviously the data is not touched by MB updates.
Such a mutilated version of the W34 template is heartbreaking. Admittedly it is better than no W34 template at all, but if you know the full functionality, it's a real downgrade.

A strong machine like a RPi4 should be able to easily handle that, so it can't be a computing power issue.
WH4000SE 1.5.7/GW1000 1.6.3/HP1000SE Pro 1.6.9
2xMeteobridge Pro [B+R],RPi4-2/16
Ecowitt 5763, 5764; WU ISAARB3; ISAARB22; Weathercloud 3011399141; http://meshka.eu/meteo/template - http://meshka.eu/Weather34

Gyvate
Expert Boarder
Expert Boarder
Posts: 97
Joined: Thu May 14, 2020 4:36 pm

Re: Weather34 TEMPLATE

Post by Gyvate »

From what I hear, the reason behind the MB included W34 version not showing graphs is a licensing thing. The libraries used for showing the charts would need to be licensed for each implementation when it is sold with a commercial product. The reason therefore is not a technical but a commercial one.

When someone run W34 themselves on an (from MB) independent server, that's a different scenario, as in principle the template could be fed by any working means.
WH4000SE 1.5.7/GW1000 1.6.3/HP1000SE Pro 1.6.9
2xMeteobridge Pro [B+R],RPi4-2/16
Ecowitt 5763, 5764; WU ISAARB3; ISAARB22; Weathercloud 3011399141; http://meshka.eu/meteo/template - http://meshka.eu/Weather34

User avatar
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1014
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 TEMPLATE

Post by weatherist34 »

from what you hear is correct and Boris would need to buy the commercial license to distribute in a commercial paid product(Meteobridge) . Weather34 distributed version via weather34 home page is free and uses the non commercial license since 2017 !! As long has the home page distribution download remains free in every sense the use of canvasJs will remain with the non commercial license use .If Weather34 became a paid download or product etc then a far better paid solution for chart display would be used for example https://www.zingchart.com/pricing .

Boris in the past used AMCharts with a weather34 inbuilt version for the original NANOSD .

In future please open a separate thread for discussion of Meteobridge internal versions of template as they are different and dont follow the regular updates and features added .

ToTo
Expert Boarder
Expert Boarder
Posts: 122
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany

Re: Weather34 TEMPLATE

Post by ToTo »

weatherist34 wrote:
Tue Dec 15, 2020 8:24 pm
@Toto found it

will update it tomorrow ..

but if your brave find this line in the related moon modules just remove the decimal .1

//jday = J0 + 28 * phase + Math.floor(F);
jday = J0 + 28.1 * phase + Math.floor(F);

change to

//jday = J0 + 28 * phase + Math.floor(F);
jday = J0 + 28 * phase + Math.floor(F);
The problem with the Sun/Moon module is unfortunately still present, even in Aurora MkII, as I just tested.

A9118445-D88A-4CDC-9B25-669FF57EF436.jpeg
A9118445-D88A-4CDC-9B25-669FF57EF436.jpeg (113.4 KiB) Viewed 143 times
89FD7F4E-7CE1-464A-BA6A-385FC4E4636F.jpeg
89FD7F4E-7CE1-464A-BA6A-385FC4E4636F.jpeg (108.81 KiB) Viewed 143 times

User avatar
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1014
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 TEMPLATE

Post by weatherist34 »

find the lines in moon related files ..

Code: Select all

return ((this / 86400000) - (this.getTimezoneOffset() / 1440) + 2440586.7999)};

change to 

return ((this / 86400000) - (this.getTimezoneOffset() / 1440) + 2440587.5)};
applied to update just now..Brian

ToTo
Expert Boarder
Expert Boarder
Posts: 122
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany

Re: Weather34 TEMPLATE

Post by ToTo »

Fixed, thank you very much!

ToTo
Expert Boarder
Expert Boarder
Posts: 122
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany

Re: Weather34 TEMPLATE

Post by ToTo »

Hi Brian,

When I click on 2020 under charts, the charts from 2019 are displayed.

What do I need to change?

User avatar
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1014
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 TEMPLATE

Post by weatherist34 »

ToTo wrote:
Thu Feb 18, 2021 8:53 pm
Hi Brian,

When I click on 2020 under charts, the charts from 2019 are displayed.

What do I need to change?
ive only just seen this , short answer that version stopped being updated ,developed hence it as no idea how to roll back to 2020 i think? . needs multiple files re scripted but unfortunately i cant help for a few weeks but Ill help in early march sometime.

my advice is to stop using it as the API changes forthcoming will render some parts broken.i know its all about language support but i didnt get the support regularly enough to keep it going most supported languages mostly were never updated in a timely manner some more than a year. many new ideas were never implemented due to lack of language support or updates.if languages are important i would switch to wim van de kuil template. I have 100% no plans to get involved in multiple languages support, as always i speak two languages english and turkish beyond those I have no idea or how todo reliably.

ToTo
Expert Boarder
Expert Boarder
Posts: 122
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany

Re: Weather34 TEMPLATE

Post by ToTo »

Yes ok, I understand that , you had explained that before. The chart link problem is not so bad now, so I'll stay with this version for now, as long as it goes.

Post Reply