Store data in mysql database with specific date

Tags: #<Tag:0x00007f6172cdb600> #<Tag:0x00007f6172cdb358> #<Tag:0x00007f6172cdaf98>

Hi all,

maybe someone could help me with my problem.

I am trying to store a state value and a specific timestamp to my mysql database. I am using the HABmin2 REST API where it should be possible to do that.

If I do a PUT request with the following data:
http://raspi:8080/rest/persistence/items/TemperatureA?time=2016-12-01T01%3A01%3A01.000Z&state=20

I get:
{
“error”: {
“message”: “Persistence service not modifiable: mysql”,
“http-code”: 400
}
}

Is there something wrong or why it is not working?

Thank you.

1 Like

I have the same problem but with postgres. Error in log:

[rnal.persistence.PersistenceResource] - Persistence service not modifiable ‘jdbc’.

I can’t find a solution :frowning: