Re: Luftdaten
Posted: Thursday 07 October 2021 21:24
I fully disagree on this with you: a Domoticz crash doesn't always mean you lose all the contents of your sd/ssd. Db corruptions can occur for example by an update gone wrong and all sorts of other things can go wrong making you have to re-install domoticz and/or it's db. Keeping collected data in separate storage based on what its intended purpose is, is always a good idea: The domoticz.db is for use by domoticz only and a separate database should be used for your collected data. Influxdb is an easy choice for this because it's well integrated as a data-push. You can store that influxdb in the same machine with your Domoticz because that's available already. But you might just as well store it in some other machine -f.e. if you're really afraid of losing the data when your sd/ssd crashes-. You can also store data from other sources in that same influx database, for example from a second domoticz instance or from completely other sources. But still the most important point for me to have a separate storage for my collected data is that the use for the both data sets is different: A very important principle to me is to never re-use the same thing for different purposes. Re-using the same data for a secondary purpose, almost without exception leads to conflicts and limitations in the future.waltervl wrote: ↑Monday 04 October 2021 21:51 Agreed on the 5 min interval data (max 7 days in domoticz). For air quality data the Domoticz daily summary would be good enough I suppose.
Not agreed on losing data on a Domoticz crash as automatic database backup is part of Domoticz setup.
If your sd/ssd crashes you would also loose the influxdb data if you did not backup externally (influxdb and Domoticz).