Hello, my problem is with the Influxb Grafana notation.
I have no problem with saving the Items status by OpenHab (because I have them in tems.
But I have a temperature reading with MQTT paperUI
I know I don’t have the Items MQTT configuration file …
Since I have configured MQTT by paper UI
How to save data from openhab to Influxdb …
2020-07-19 19:36:46.004 [vent.ItemStateChangedEvent] - mqtt_topic_ParterTemp_czujnik_garaz changed from 37.63 to 37.69
2020-07-19 19:36:58.744 [vent.ItemStateChangedEvent] - mqtt_topic_ParterTemp_czujnik_wiatrolap changed from 22.50 to 22.56
2020-07-19 19:36:58.745 [vent.ItemStateChangedEvent] - mqtt_topic_ParterTemp_czujnik_kotlownia changed from 22.13 to 22.06
Just configure the persistence as you also would with manually created items. Bet practice would be: Put all your items that should be stored in influx into a group called e.g. gPersistence and persist this group.
You can assign groupd to items in PaperUI as well
It doesn’t work like I wrote earlier … I think it’s better
set up MQTT 1.x and work. on configuration files, not PAPER UI.
PAPER UI double work confection PAPER UI and then at night manually items - somehow it looks pointless.
For my part, it should just work, since mqtt changes in the Event file, it should be written to influxdb. Rather, I have to focus on mqtt1x because there are manuals up to 2.0 I don’t know how to configure using files.
The problem is the simple mode, I guess.
As far as I know the item names aren’t shown then. @Martin_Rudowicz1:Try disabling the simple mode as explained here and then you also see the items in the navigation on the left side.
Not sure what you’re expecting to happen.
Nothing gets persisted unless you ask for it.
You would need to install an influxdb instance.
Then you can install the openHAB influxdb persistence add-on.
Next you configure the influxdb,cfg file to connect to your instance.
Lastly you configure influxdb.persist file for the Items you want to store, such as mqtt_topic_ParterTemp_czujnik_garaz, and when to store.
One thing thaht comes to my mind reading this.
Sometimes the persistence needs to be restarted when adding items in order to know about the new items.
So can you try and reboot openHAB and check if it is working then?
Additionally: Do you really want to store the item value every minute even if it is not changing? That only fills up the database with obsolete data
Persistence is really a legacy OH 1.x service, not very dynamic. So “all Items” really means all Items that existed when the service loaded.
But I would expect that you have rebooted or restarted since your Items were created, so they should have been included.
What makes you think your MQTT Items like mqtt_topic_ParterTemp_czujnik_garaz are not being persisted?
I would not expect Items Salon_jadalnia1 and 2 to be persisted, as I would guess they never get a value. The channel links you defined in your czujniki.items file are invalid.
Ok please one step back.
It is hard to understand what exactly your problem ist. So can you explain your problem completely
Where and how are the items configured?
Do you see the items in your sitemap or Habpanel?
Do they show the correct values?
What does the log say if an item value changes?
Only then take care about adding them to persistence. I believe that your items do not get updated (as @rossko57 also assumed) and therefore they are not persisted since they are NULL or UNDEFINED
And then, how do you check if the items are persisted?
Influx command line?