I really don’t understand, I have influxdb.cfg
Strategies {
default = everyUpdate
}
Items {
gHistory* : strategy = everyChange, restoreOnStartup
}
And I tag the items I want to be send to influxdb. The problem is some of them does not appears as well when I see the event in openhab.
I will take an example of this item:
Group:Number:AVG gKitchen_CurrentTemperature "Température Cuisine [%.1f °C]" (gHistory)
Number:Temperature Kitchen_CurrentTemperature1 "Température Cuisine 1 [%.1f °C]" <temperature> (gHistory, gKitchen_CurrentTemperature) {mqtt="<[NAS:mygateway1-out/0/1/1/0/0:state:default]", expire="2h"}
Number:Temperature Kitchen_CurrentTemperature2 "Température Cuisine 2 [%.1f °C]" <temperature> (gHistory, gKitchen_CurrentTemperature) {channel="mihome:sensor_weather_v1:7811dce13512:158d000247d1f9:temperature", expire="2h"}
In the log I see:
10:04:20.821 [INFO ] [home.event.GroupItemStateChangedEvent] - gKitchen_CurrentTemperature changed from 21.1899995803833 to 21.2399995803833 through Kitchen_CurrentTemperature1
10:04:20.858 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kitchen_CurrentTemperature1 changed from 21.0 ℃ to 21.1 ℃
But no update in influxdb either anything sent according to the log. For information I see other debug message like:
10:04:20.802 [DEBUG] [b.internal.InfluxDBPersistenceService] - got OnOffType value 0
I use:
106 │ Active │ 80 │ 0.10.0.oh230 │ Eclipse SmartHome Core Persistence
131 │ Active │ 80 │ 0.10.0.oh230 │ Eclipse SmartHome Persistence Model
132 │ Active │ 80 │ 0.10.0.oh230 │ Eclipse SmartHome Persistence Model IDE
133 │ Active │ 80 │ 0.10.0.oh230 │ Eclipse SmartHome Persistence Runtime
248 │ Active │ 80 │ 1.12.0 │ openHAB InfluxDB Persistence bundle
I ask for your help because I want to be able to collect and use my heating data…
Thanks for your time.
PS:
One detail is this one is working properly:
Number Livingroom_CurrentTemperature "Température Salon [%.1f °C]" <temperature> (gHistory) { channel="mihome:sensor_weather_v1:7811dce13512:158d0002480274:temperature", expire="2h" }