Running openhabian on Raspberry PI 3 B+, SD card boot/storage. Successfully installed InfluxDB and Grafana following tutorial:
https://www.smarthomeblog.net/openhab-persistence-grafana-dashboard/
Have set up openhab_db for InfluxDB (shell version 1.7.4) with the following configuration for ‘influxdb.cg’ and ‘influxdb.persist’
url=http://localhost:8086
user=openhab
password=Password2
db=openhab_db
retentionPolicy=autogen
Strategies {
everyMinute : "0 * * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
every2Minutes : "0 */2 * ? * *"
everyDayAtMidnight : "0 0 0 * * ?"
}
Items {
Vaerstasjon_WeatherTemperature: strategy = everyHour
Vaerstasjon_WeatherWind: strategy = everyHour
RomtermostatStue_ThermRoomTemp: strategy = everyHour
RomtermostatBad1Etasje_ThermRoomTemp: strategy = everyHour
RomtermostatLoftstue_ThermRoomTemp: strategy = everyHour
}
Also set up Grafana successfully (initially) with the following config:
Also managed to retrieve/log data (initially), but after 4 hrs logging the service “stopped” without any error message:
Get a successful data source connection when testing in Grafana. Also now that I have sufficient space on the SD card (only 15% used), and the Raspberry PI / SD card is only 1 week old.