Hi,

a good starting point:

http://foxutech.com/setup-influxdb-grafana-and-telegraf-on-ubuntu/

or 

https://www.circuits.dk/install-grafana-influxdb-raspberry/

Install InfluxDB on your linux computer, 

https://portal.influxdata.com/downloads

Usually nothing to configure (check install with 'influx', see links.

Install Garfana (see links or website) 

https://grafana.com/grafana/download

install weewx-influx, my minimal configuration in weewx.conf (you have to 
modify to your needs):

[[Influx]]
        host = localhost
        database = weewx_metrics
        port = 8086
        unit_system = METRICWX

You don't have to create a database in InfluxDB,  the plugin will do it for 
you, I chose 'weewx_metrics'. You don't need a password so it's problematic 
to share the dashboard in www?

In Grafana you have to add the Influxdb as data source:

1.) The top left Menu (icon of Spiral)
2.) Data Sources
3.) + Add data source
4.) Fill out:
a.) Name: InfluxDB
b.) Type: InfluxDB
c.) (HTTP Settings) Url: http://10.0.0.20:8086 (or in my case 
http://localhost:8086)
d.) (InfluxDB Settings) Database: weewx_metrics
5.) Click “Save & Test” — it will save and work

In Grafana you now can design your own graphs as I did, I installed the D3 
Gauge plugin for the radial gauges. 

I append a screenshot from the temp graph to have an idea. 

You have to play with it a littel bit,  I started with and additional 
installation of telegraf and loaded a ready-to-go dashboard to monitor my 
linux server:

https://grafana.com/dashboards/914

Have fun! 

Sorry, very rough informations. If I can help I will try....but I'm not a 
specialist....


Regards,

Christian

Btw.: There is an alpha testing on the way for using MYSQL as data input in 
Grafana...so maybe there wile be a possibility to get the data direct from 
the weewx mysql database in the future (without InfuxDB)!? 

I can share my testing panel as starting point....





Am Mittwoch, 16. August 2017 23:31:59 UTC+2 schrieb Christian Peters:
>
> Hi all, 
>
> thanks for weewx and mwall for the quick fix and his great InluxDB plugin. 
>
> Here is my quick and dirty grafana weewx test page.
>
> Not really a replacement for a skin but a really nice addition to explore 
> and display 
> wheather data of your weewx station. As the time range of the data which 
> should be displayed is free to set you can 
> display all time ranges you want (yesterday, two weeks, last two month, 
> last six hours etc,). 
>
> Really nice....and easy to push custom data into InfluxDB (e.g. by 
> telegraf and exec input plugin). 
>
>
> Regards,
>
> Christian 
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to