franzda
(Franz Hauke)
1
Somebody an idea? There is no blanket before Strategies, and on the end lines;
im looking to use MariaDB
Strategies{
everySecond : “0 * * * * ?”
everyMinute : “0 * * * * ?”
every10Minutes : “0 */10 * ? * *”
every15Minutes : “0 */15 * ? * *”
everyHour : “0 0 * * * ?”
everyDay : “0 0 0 * * ?”
default = everyChange
}
Items {
Aktuell : strategy = everyChange, restoreOnStartup
Bezug : strategy = everyChange, restoreOnStartup
Lieferung : strategy = everyChange, restoreOnStartup
}
maybe put a space between Strategies and the curly bracket?
franzda
(Franz Hauke)
3
nil
in the original file is there a space
rossko57
(Rossko57)
4
Is your filename really sql.items, as you have posted?
openHAB will treat that as an Items file … the contents are not Item definitions.
franzda
(Franz Hauke)
5
yes
/etc/openhab2/items/sql.items
rossko57
(Rossko57)
6
oookay … that’s an Items file, for item definitions.
The content you have shown usually goes in a xxx.persist
file.
The filenames matter.
1 Like
franzda
(Franz Hauke)
7
Thank you for helping.!
A description on the web has directed me in the wrong direction
I changed the directory and extencion and now ist no error messega in the loging
1 Like
If that is in the official documentation it needs to be changed.