Thursday, 26 January 2017

Install Weather34 with WeatherLink

Updated 2017-08-25 !!

I You want Your Private Weather Station(PWS), Davis Vantage Pro2 or other Davis products that use WeatherLink, to provide data for the template we use at Domstens Båtklubb just follow the instructions below

And this is without additional software such as Cumulus, Weather display or the Meteobridge product.

Before You start You must ensure that;
When you have logged on to Your WL account You will find the link "Uploads" in the upper part. Click on it and register Your StationID and Password for WU data transfer.

W34 is built so it can get online data from many different PWS solutions which should update their respective online files at the W34 web-server. In our case we pull the XML data direct from the WL site and update an online file, type "cumulus", on the W34 web-server

Installation

Sunday, 22 January 2017

Davis weather station, WLink, PHP


Updated 2017-08-25 !

In the harbour we are using a Davis weather station, Vantage Pro2, as our PWS(Private Weather Station).

If You like to display the data, online on the web, You can use the Davis service, Weatherlink . We use the WeatherLinkIP to push the data to the web.

If You want to customise Your own website You could retrieve the weather data with serial communication direct from the WeatherLinkIP. There are some applications on Github but then, in this case, You have to have a server with Node.js

Another way is to retrieve the weather data as XML from the Weatherlink web-site.

Below You will find some PHP code which will do the work.

Wednesday, 18 January 2017

The ULTIMATE Weather WEB-site ??

Updated 2017-08-25 !




If You have a Private Weather Station(PWS) and would like to have a good view over the data and, as an add on, also forecasts from Weather Underground (WU) this free software probably solves Your problem. Despite that the project is terminated the code is available and instructions is available at my other posts

https://weather34.com/homeweatherstation/


Online  weather data could be picked up from many different PWS solutions which should leave their online files at the weather WEB-server.

Weather34 is written in PHP so "any" web server, even a hosted(web hotel), should be able to run it.


The picture is taken from a project where a Davis Vantage Pro2 is the data source and software is running on a Raspberry Pi 3 with a Apache server and PHP installed.



Some code to start with 

Monday, 16 January 2017

Homebridge, autostart with systemd



systemd is service manger which autostart jobs and it will even

               restart the homebridge job if it fails  



!!! Disable any other homebridge autostart job before You enable systemd  !!! 

If You followed my earlier setup the homebridge command is placed in

/usr/bin/homebridge

If You used another setup check with 

$ which homebridge

so the path in file ”homebridge.service” will be correct

ExecStart=/usr/bin/homebridge

Create the service file for systemd