Hello,
i do not understand how to persist data to a special persistence.
I used openhabian on my new raspberry pi 5 (8GB).
I use openhab 4.2.0
Because i only use an SD-card on my rpi5 I want to install my influxdb and grafana on an separate NUC with an SSD.
I want to use an influxDB in the future.
I installed the influx persistence. At the moment the items where stored in a mariadb database on my synology diskstation.
My default persistence service ist jdbc (MariaDB). But if i change the default persistence to Influx there are no data stored in my MariaDB, anymore.
I can select a default persistence. But where can i select a persistence for an item or thing?
How can i select it for a special item/channel/thing)
I want to check my influx persistence with some items. And if it is working i will use it for the complete openhab.
Ok.
If I use two different persistence service and take the asterix in both, then all items are persisted two times.
In my case in the MariaDB and in the new Influx DB V2.
The default persistence will only be active if the item is in no persisted group or selected in the persistence.
At the moment i can not see any persisted data in influx.
May be an configuration issue in influx or openhab. Now it is time to learn influx…
you can attach the SSD to your RPi and move persistence there, no need for an extra box.
And if you don’t need any of the special capabilities indlux or mariadb come with you can even stay with rrd4j
For the pi i must buy the ssd and an addional ssd shield.
Installing the ssd is mot really easy in an headless pi5.
Openhabian foes not support ssd. It should work, but it is not supported.
First i tried to use my existing mariaDB.
But in openhabian i must install influx if i want to install grafana.
So i must install grafana manual.
So I decided to use my existing database server for influx and grafana.
Fist i will try to learn integrate influx and grafana in openhab. Maybe i will put influx and grafana later to the pi 5…
Yes, but i must buy an additional SDD. At the moment it seems better to use my existing NUC witch has an ssd and is allready running 24/7 as an postgresql database.
Maybe i will change my opinion in the near future.
Yes, I understood you correctly.
I forget this in my last post:
I am not satisfied with rrd4j, because ist will thin out the data after a while, without any control.
The actual MariaDB persistence stores all the data. With influx i can select in the future witch data isn’t so interesting that i can thin out this data or process and store in a new bucket.
So I suppose influx should be the right persistence for me.
The build in charts i can use also with influx. But i can’t get so nice results like grafana.
So I will persist all needed data to my influxDB and check grafana in the near future to get better results. I suppose It will tahe one or two years or more, until the build in charts can do what i want to see.
For example I can add a second grid to the charts, but if i do so, the charts won’t work anymore.
in openHAB 4.0.2 it was not possible to use more than two y-axis. Because if i select two y-axis on one side they were drawn over each other. In openHAB 4.2.0 it is working now and i can set an distance.
I also found the reason why my influxDB did not get any data. I had a typo in the bucket name in the influx configuration.
Now i can successfull persist my needed data.
Now i will see how to model my smartHome in openHAB.
i thougt if i can select an default persistance i can select in the item wich persistence i can use.
But now i understand that i can select the groups and items in each persistence.
The default will be used only for getting data for the internal openHAB chart…