Hi folks,
I’m running the latest OH2.4 on a RPi(3) with MQTT set up on the same board. After a couple of days of messing around I finally have a couple of T/H sensors publishing data to the MQTT. I’ve even managed to get the T showing up on PaperUI (not the H for some reason … but I’ll sort that out later.).
Historically I have these ESP8266 sensors posting data to Apache and the Emon package to graph the data and store it. I’ll gradually move them all to OH2+MQTT+some form of persistence.
This brings me to the main point: choosing the right persistence for my needs. I’ve read a few posts on the forums and everyone seems to have their opinions on what is the most appropriate setup. What I seem to have figured out is that:
a) Influx+Garfana is not a good idea on RPi(3). Has anyone tried an RPI(4)? The processing power is probably not much different but by getting my hands on a 4GB RPI(4) shoul make a differece?
b) rrd4j seems to only manage numerical data. This means that if I want to store “string” data from MQTT I would probably not succeed?
So this brings me to the questions as to what persistence setup I should consider, knowing that:
a) I want to be able to chart data easily over a day, a week or a month (i.e. I want access to all historical data) … from what I’ve read, people with this sort of setup have not considered storage to be a problem.
b) I doubt I would ever exceed 40-50 units (around 10 at the moment) in the future logging data to the server. Most sensors (e.g. T/H) would probably be logging at 10-15 min intervals.
c) If my little server shuts down/crashes, I will the charts to display data to the pre-crash/shutdown status.
d) I want to be able to store strings in the DB too.
e) possibly consider importing my Emon data in the new solution.
So, questions are:
- what persistence setup matches the above best?
- what single board hardware (i.e. I want a low energy setup for the server) should I consider (e.g. Pi(3), Pi(4), etc.).
I look forward to your responses.
Many thanks