After some research, got InfluxDB and Grafana working on Qnap, and now my 1st Graph. So, I can certify that you can use your NAS, or other remote system, for WeeWX purposes, without having to install all packages on Rpi.
Most things are straight forward, but most struggle to start with Grafana as most Tutorials refers to older versions. The following are some steps, which may reproduce steps posted above, but as a summary: 1) Install InfluxDB and Grafana in Qnap Per following instructions, install InfluxDB and Grafana through Qnap ConstainerStation, with the exception that don't need to create Database (weewx-influxdb driver would do it), neither deal with QIoT Suite Lite (skip those steps): https://qiot.qnap.com/blog/2018/12/12/install-influxdb-grafana-qnap-nas/ Note that will create Container port-forwarding Port# 8086, and Grafana Port# 3000 Follow instructions for Grafana, but don't establish Database or create Dashboard yet. 2) Install weewx-influxdb driver - thanks to Matthew Wall https://github.com/matthewwall/weewx-influx Edit weewx.conf accordingly: [[Influx]] database = [database_name] host = [host_IP] port = [port#] Just the minimum settings above is sufficient, as the driver will create the Influx Database and upload all measured data. Restart weewx, and verify syslog that it is uploading to Influx database. 3) Back to Grafana Start Grafana: http://[host_IP]:3000 Establish Database (per previous instructions) and Create Dashboard. For starters on Grafana, to note that most Tutorials are outdated, thus the following: 1. Click the big "+" (plus sign) on the top-Left and select Dashboard 2. Click "Choose Visualization" and select "Graph" 3. On Graph panel, click Queries icon on Left menu (icon looks like "hamburger") 4. On Query drop-down menu, select your Database (InfluxDB on my case) 5. On "FROM" ... 'select measurement' drop-down menu, select 'record' 6. On "SELECT" ... 'field(value)', click on VALUE (not field) and select your WX variable 7. Upon selected WX variable, plot will show immediately Now, tweak around and build own Dashboard. X -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/19426229-f594-48e1-b0f9-9202e37747af%40googlegroups.com.
