Item not updating DS18B20 Raspberryi PI5 with Influx/Grafana

Hi,

First time using openhabian and Im having a wierd problem where my DS18B20 temp sesnor works perfectly fine in the file system ‘/sys/bus/w1/devices/28-000000038880 $ cat w1_slave’ and I see temperature changes within seconds.

Thing config worked initially:

UID: onewiregpio:sensor:7ff8e7761a
label: Temperature Sensor
thingTypeUID: onewiregpio:sensor
configuration:
  gpio_bus_file: /sys/bus/w1/devices/28-000000038880/w1_slave
  refresh_time: 60
  precision: 3
location: Pool Shed Inside
channels:
  - id: temperature
    channelTypeUID: onewiregpio:temperature
    label: Temperature
    description: Indicates the temperature read from one wire gpio sensor
    configuration: {}

But when I go to the openhabian website, my item does not update at all. Its stuck at 24.63C.

It did work for about 12hours when I rebooted on fri night but it seems to freeze.

Also I’m trying to use Grafana and influx but everytime I reboot I have to run the openhabian-config and reinstall influx/grafana before grafana can talk to influxdb. I also have to redo my persisitance file. I set it up like this:

configurations:
  - items:
      - "*"
    strategies:
      - everyChange
      - everyMinute
    filters: []
  - items:
      - "*"
    strategies:
      - everyChange
      - everyMinute
    filters: []
cronStrategies:
  - name: everyMinute
    cronExpression: 0 * * * * ?
  - name: everyHour
    cronExpression: 0 0 * * * ?
  - name: everyDay
    cronExpression: 0 0 0 * * ?
defaultStrategies: []
thresholdFilters: []
timeFilters: []
equalsFilters: []
includeFilters: []

Is there something Im missing. Sorry Im new and was happy when my item worked through to Grafana but its no longer updating.

Everything is installed as per the raspberry PI SD card image and the standard openhabian options.

Thanks in advance.
Brett

  • Platform information:
    • Hardware: Raspberry pi 5
    • OS: Openhabian

What does the Event log show?

Ah the influx persistance service says this until it falls over and stops trying

events.log
At some point the temperature changes just stop coming through?

2024-09-06 17:17:08.416 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'PoolShedTemperature' changed from 24.75 °C to 24.687 °C
2024-09-06 17:17:08.418 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'PoolShedTemp_Temperature' changed from 24.75 °C to 24.687 °C
2024-09-06 17:26:09.089 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'PoolShedTemperature' changed from 24.687 °C to 24.625 °C
2024-09-06 17:26:09.089 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'PoolShedTemp_Temperature' changed from 24.687 °C to 24.625 °C
2024-09-06 18:55:42.521 [INFO ] [openhab.event.InboxAddedEvent       ] - Discovery Result with UID 'upnpcontrol:upnprenderer:88b8e747-c064-11d3-8e40-40473fe49bf6' has been added.
2024-09-06 18:56:05.988 [INFO ] [openhab.event.InboxRemovedEvent     ] - Discovery Result with UID 'upnpcontrol:upnprenderer:88b8e747-c064-11d3-8e40-40473fe49bf6' has been removed.

And I can also see influx failing to write batches too

openhab.log

2024-09-06 11:25:56.088 [WARN ] [.influxdb.InfluxDBPersistenceService] - Re-queuing 253 elements, failed to write batch.
2024-09-06 11:25:59.092 [WARN ] [.influxdb.InfluxDBPersistenceService] - Re-queuing 253 elements, failed to write batch.
2024-09-06 11:26:02.103 [WARN ] [.influxdb.InfluxDBPersistenceService] - Re-queuing 254 elements, failed to write batch.