Can't get persistence working for rflink items

  • Platform information:

    • Hardware: Raspberry PI 3
    • OS: raspbian
    • Java Runtime Environment: 1.8.0_131 (official docker image)
    • openHAB version: 2.3.0
  • Issue of the topic: I am trying to get persistence of my items working in influxdb. I can get it work for items linked to mqtt channels, but I can’t get it to work with items linked to rflink channels (with this binding : https://github.com/cyrilcc/org.openhab.binding.rflink). In my influxdb access log, I can’t see any POST request for my rflink items.

  • Configurations :

    • influxdb.persist

      Strategies {
      everyHour : “0 0 * * * ?”
      everyDay : “0 0 0 * * ?”

         default = everyChange
      

      }

      Items {
      GTemperature*,GHumidity* : strategy = everyChange, restoreOnStartup
      PowerHP,PowerHC : strategy = everyChange, restoreOnStartup
      }

    • rflink.items

      Number:Temperature temperatureSalon “Température Salon [%.2f °C]” (GTemperature) {channel=“rflink:OregonTempHygro:e1237f02:digooSalon:temperature”}
      Number:Temperature temperatureJardin “Température Jardin [%.2f °C]” (GTemperature) {channel=“rflink:OregonTempHygro:e1237f02:digooJardin:temperature”}
      Number:Temperature temperatureCouloir “Température Couloir [%.2f °C]” (GTemperature) {channel=“rflink:OregonTempHygro:e1237f02:digooCouloir:temperature”}
      Number humiditySalon “Humidité Salon [%.2f °C]” (GHumidity) {channel=“rflink:OregonTempHygro:e1237f02:digooSalon:humidity”}
      Number humidityJardin “Humidité Jardin [%.2f °C]” (GHumidity) {channel=“rflink:OregonTempHygro:e1237f02:digooJardin:humidity”}
      Number humidityCouloir “Humidité Couloir [%.2f °C]” (GHumidity) {channel=“rflink:OregonTempHygro:e1237f02:digooCouloir:humidity”}

  • The only log I have after editing my configuration files are these :

    2019-01-07 18:12:29.997 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model ‘rflink.items’
    2019-01-07 18:16:21.138 [ERROR] [e.internal.items.GroupFunctionHelper] - Unknown group function ‘EQUALITY’. Using Equality instead.
    2019-01-07 18:16:59.625 [ERROR] [e.internal.items.GroupFunctionHelper] - Unknown group function ‘EQUALITY’. Using Equality instead.
    2019-01-07 18:16:59.794 [ERROR] [e.internal.items.GroupFunctionHelper] - Unknown group function ‘EQUALITY’. Using Equality instead.
    2019-01-07 18:17:41.870 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model ‘influxdb.persist’

What am I missing please ?

Could you post the definition of the group items used for the rflink items?

There are errors in your rflink.items file, please post it

The definition of the groups is juste as this :

Group GTemperature
Group GHumidity

But I have this definition in a file mqtt.items (not in rflink.items). Is this an issue to use group defined in an other items configuration file ?

Thanks

Can you still post your items files, please

Yes, this is all my items files :

  • mqtt.items :

    Group GTemperature
    Group GHumidity

    Number TemperatureChambre “Temperature chambre [%.1f]” (GTemperature) {mqtt="<[mosquitto:chambre/temperature:state:default]"}
    Number HumidityChambre “Humidity chambre [%.1f]” (GHumidity) {mqtt="<[mosquitto:chambre/humidity:state:default]"}

    Number Power “Consommation [%.1f] KWh” {mqtt="<[mosquitto:teleinfo/power:state:default]"}
    Number PowerHP “Consommation HP [%.1f] KWh” {mqtt="<[mosquitto:teleinfo/consoHP:state:default]"}
    Number PowerHC “Consommation HC [%.1f] KWh” {mqtt="<[mosquitto:teleinfo/consoHC:state:default]"}

    String Etoday “Production KWh” {mqtt="<[mosquitto:solar_etoday:state:default]"}

  • rflink.items :

    Number:Temperature temperatureSalon “Température Salon [%.2f °C]” (GTemperature) {channel=“rflink:OregonTempHygro:e1237f02:digooSalon:temperature”}
    Number:Temperature temperatureJardin “Température Jardin [%.2f °C]” (GTemperature) {channel=“rflink:OregonTempHygro:e1237f02:digooJardin:temperature”}
    Number:Temperature temperatureCouloir “Température Couloir [%.2f °C]” (GTemperature) {channel=“rflink:OregonTempHygro:e1237f02:digooCouloir:temperature”}
    Number humiditySalon “Humidité Salon [%.2f °C]” (GHumidity) {channel=“rflink:OregonTempHygro:e1237f02:digooSalon:humidity”}
    Number humidityJardin “Humidité Jardin [%.2f °C]” (GHumidity) {channel=“rflink:OregonTempHygro:e1237f02:digooJardin:humidity”}
    Number humidityCouloir “Humidité Couloir [%.2f °C]” (GHumidity) {channel=“rflink:OregonTempHygro:e1237f02:digooCouloir:humidity”}

  • weather.items :

    Number:Temperature Temperature “Current temperature [%.2f °C]” {channel=“weatherunderground:weather:SaintAubin:current#temperature”}
    Number:Dimensionless Humidity “Humidity [%d %%]” {channel=“weatherunderground:weather:SaintAubin:current#relativeHumidity”}
    Number:Pressure Pressure “Pressure [%.2f mb]” {channel=“weatherunderground:weather:SaintAubin:current#pressure”}

    Number:Temperature Temp_Min0 “Forecast min temp [%.2f °C]” {channel=“weatherunderground:weather:SaintAubin:forecastToday#minTemperature”}
    Number:Temperature Temp_Max0 “Forecast max temp [%.2f °C]” {channel=“weatherunderground:weather:SaintAubin:forecastToday#maxTemperature”}
    Number:Temperature Temp_Min1 “Forecast min temp [%.2f °C]” {channel=“weatherunderground:weather:SaintAubin:forecastTomorrow#minTemperature”}
    Number:Temperature Temp_Max1 “Forecast max temp [%.2f °C]” {channel=“weatherunderground:weather:SaintAubin:forecastTomorrow#maxTemperature”}
    Number:Temperature Temp_Min2 “Forecast min temp [%.2f °C]” {channel=“weatherunderground:weather:SaintAubin:forecastDay2#minTemperature”}
    Number:Temperature Temp_Max2 “Forecast max temp [%.2f °C]” {channel=“weatherunderground:weather:SaintAubin:forecastDay2#maxTemperature”}

    String Condition0 “Forecast conditions [%s]” {channel=“weatherunderground:weather:SaintAubin:forecastToday#conditions”}
    Image ConditionIcon0 “Forecast conditions Icon” {channel=“weatherunderground:weather:SaintAubin:forecastToday#icon”}
    String Condition1 “Forecast conditions [%s]” {channel=“weatherunderground:weather:SaintAubin:forecastTomorrow#conditions”}
    String Condition2 “Forecast conditions [%s]” {channel=“weatherunderground:weather:SaintAubin:forecastDay2#conditions”}

    DateTime ObservationTime “Observation time [%1$tH:%1$tM]” {channel=“weatherunderground:weather:SaintAubin:current#observationTime”}
    DateTime ObservationTime1 “Observation time [%1$tH:%1$tM]” {channel=“weatherunderground:weather:SaintAubin:forecastTomorrow#forecastTime”}
    DateTime ObservationTime2 “Observation time [%1$tH:%1$tM]” {channel=“weatherunderground:weather:SaintAubin:forecastDay2#forecastTime”}

I have other zwave items but created with Paper UI, so I don’t have items files.