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):
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
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:
- Click the big "+" (plus sign) on the top-Left and select Dashboard
- Click "Choose Visualization" and select "Graph"
- On Graph panel, click Queries icon on Left menu (icon looks like "hamburger")
- On Query drop-down menu, select your Database (InfluxDB on my case)
- On "FROM" ... 'select measurement' drop-down menu, select 'record'
- On "SELECT" ... 'field(value)', click on VALUE (not field) and select your WX variable
- Upon selected WX variable, plot will show immediately
Now, tweak around and build own Dashboard.
X