MQTT values not persisted in InfluxDB

Hi everybody,

I’m kind of stuck here. I set up a brand new OpenHAB2 environment and it works just fine so far. Now I wanted to add some sugar to it, namely have a temperature graph displayed somewhere. So I have InfluxDB set up, which also works fine for my Hue lamps. My persist configuration tells openHab to persist any change and all values every minute:

Strategies {
    everyMinute : "0 * * * * ?"
}

Items {
    *   : strategy = everyChange, everyMinute
}

Temperature values are received via MQTT (I can display them in a HabPanel just fine, so they really reach openHab), but those values are not persisted and I have no clue why.

Any suggestions?

Did you restart openHAB? Sometimes it needs a kick in the a… :wink:

:smiley: I kicked it several times quite hard … And it didn’t change anything. Meanwhile I started to develop a little tool subscribing to the MQTT broker and write the values to a MySQL database. This morning I checked both the MySQL database and the InfluxDB and BOTH are filled with data.

So unfortunately I have no clue what the problem was and what solved it, but now it works. Quite unsatisfying … So whoever has the same problem: Sorry, I don’t know what I did to make it work :frowning:

I have now the same issue.
All data are persisted but not what come from MQTT… Any suggestion?

I have the same issue with the new MQTT2 Binding.
Any solution so far?

If you have a problem with a “new” binding, appending to a two year old thread probably won’t help.
“same issue” = “All data are persisted but not what come from MQTT” ?

Don’t be shy about creating a new thread and being specific about your issue.
What are your Items - strings, numbers? What does your influx.persist look like? 8 or 9? Any messages in openhab.log at startup?