Solar powered pond - part 6
Actually, this isn't exactly related to the Solar Powered pond... it's more to do with the collection of DATA and viewing it. Previously, I was using a node-red dashboard to output the current / live status of the data fetched (via modbus) from the MPPT controler. This worked a treat...however.... it did tend to crash after a day or so. Digging a bit deeper; whilst I was saving the data to a stats.csv file (gets re-created upon the RPi restart), this was always a temporary solution and the data should be saved into an InFluxDB... turns out the node-red charts are okay for showing data "for a bit"... but not the 1000s od data points I was giving it every second for days on end, something has to give... analysing the webpage content, the dashboard could grow from a 20-ish MB page up to 400+ MB page; just to show live data. Something had to be done about this....and well, a midday overcast Sunday proved to be the solution. Behold GRAFANA presenting data from an InFluxD...