1-wire stops working after period of time
I have three DS18B20 temperature sensors connected together, and configured. This usually works well, and all three temperatures are visible in the configuration page and also via the API.
However, randomly after a period of time it stops receiving any temperatures (See screenshot below).
This can only be resolved by a power cycle of the C6 device (a soft reset / reboot doesn't fix it). There are no relevant errors in the device logs.
Any idea what might be occurring, or how to debug further please?
<html>
<body>
<!--StartFragment-->
22:41:55 | | [5n
-- | -- | --
22:41:55 | Info | execute: executing commands from '/data/boot.eas'
22:41:55 | Info | execute: strip -m 1 -b 255
22:41:55 | Info | gpio: GPIO[23]\| InputEn: 0\| OutputEn: 1\| OpenDrain: 0\| Pullup: 1\| Pulldown: 0\| Intr:0
22:41:55 | Info | execute: function ledb "@strip -b"
22:41:55 | | function 'ledb' installed
22:41:55 | Info | execute: function ledg "@strip -g"
22:41:55 | | function 'ledg' installed
22:41:55 | Info | execute: led -p 16 -i 0 255
22:41:55 | | 0 duty set to 254
22:41:55 | Info | execute: function ledboot "@led 0"
22:41:55 | | function 'ledboot' installed
22:41:55 | Info | execute: function leds "@strip -b" "@led 0"
22:41:55 | | function 'leds' installed
22:41:55 | Info | execute: io -iue 9
22:41:55 | | IO 9 direction set to 01
22:41:55 | | IO 9 pull set to 00
22:41:55 | | IO 9 = 1
22:41:55 | Info | execute: io -iu 6
22:41:55 | | IO 6 direction set to 01
22:41:55 | | IO 6 pull set to 00
22:41:55 | | IO 6 = 1
22:41:55 | Info | execute: nvs_namespace easi
22:41:55 | | namespace set to 'easi'
22:41:55 | Info | execute: successfully executed 9/9 commands from '/data/boot.eas'
22:41:55 | Info | execute: executing commands from '/data/main.eas'
22:41:55 | Info | execute: var skipstart 0
22:41:55 | Info | execute: leds 255 0 700
22:41:55 | Info | execute: strip -b 255 0 700
22:41:55 | Info | execute: led 0 255 0 700
22:41:55 | | 0 duty set to 254
22:41:55 | Info | execute: sleep 1000
22:41:55 | Info | main_task: Returned from app_main()
22:41:56 | Info | execute: if "isio -l 9" "var skipstart 1"
22:41:56 | Info | execute: isio -l 9
22:41:56 | | IO 9 level 1 is unmet
22:41:56 | Info | execute: leds 255 0 700
22:41:56 | Info | execute: strip -b 255 0 700
22:41:56 | Info | execute: led 0 255 0 700
22:41:56 | | 0 duty set to 254
22:41:56 | Info | execute: sleep 1000
22:41:57 | Info | execute: if "isio -l 9" "var skipstart 1"
22:41:57 | Info | execute: isio -l 9
22:41:57 | | IO 9 level 1 is unmet
22:41:57 | Info | execute: leds 255 0 700
22:41:57 | Info | execute: strip -b 255 0 700
22:41:57 | Info | execute: led 0 255 0 700
22:41:57 | | 0 duty set to 254
22:41:57 | Info | execute: sleep 1000
22:41:58 | Info | execute: if "isio -l 9" "var skipstart 1"
22:41:58 | Info | execute: isio -l 9
22:41:58 | | IO 9 level 1 is unmet
22:41:58 | Info | execute: var rpi 0
22:41:58 | Info | execute: if "var -q stick" else "if \"isio -l 6\" \"var rpi 1\""
22:41:58 | Info | execute: var -q stick
22:41:58 | Info | execute: if "isio -l 6" "var rpi 1"
22:41:58 | Info | execute: isio -l 6
22:41:58 | | IO 6 level 1 is unmet
22:41:58 | Info | execute: var isnew 1
22:41:58 | Info | execute: if "§isnvs ebus.host" "var isnew 0"
22:41:58 | Info | execute: isnvs ebus.host
22:41:58 | Info | execute: var isnew 0
22:41:58 | | variable isnew = 0
22:41:58 | Info | execute: if "§isnvs sta.on" "var isnew 0"
22:41:58 | Info | execute: isnvs sta.on
22:41:58 | Info | execute: var isnew 0
22:41:58 | Info | execute: if "§isnvs eth.on" "var isnew 0"
22:41:58 | Info | execute: isnvs eth.on
22:41:58 | Warning | execute: command failed: isnvs eth.on = 1
22:41:58 | Info | execute: on -lo iol 9 "leds 255" "sleep 500" restart
22:41:58 | | io trigger installed
22:41:58 | Info | execute: on iol 9 "ledboot 50 0"
22:41:58 | | io trigger installed
22:41:58 | Info | execute: function start "ledg 50 0 3000" server mqtt
22:41:58 | | function 'start' installed
22:41:58 | Info | execute: var wps 0
22:41:58 | Info | execute: on -o wifi 1 start "if \"var -q wps\" \"ledboot 0\""
22:41:58 | | network trigger installed
22:41:58 | Info | execute: on -o eth 1 start
22:41:58 | | network trigger installed
22:41:58 | Info | execute: on wifi 0 "ledb 0"
22:41:58 | | network trigger installed
22:41:58 | Info | execute: on eth 0 "ledb 0"
22:41:58 | | network trigger installed
22:41:58 | Info | execute: on -o server 2 "after -o -m 500 0 restart"
22:41:58 | | server trigger installed
22:41:58 | Info | execute: function chkota "ota -t"
22:41:58 | | function 'chkota' installed
22:41:58 | Info | execute: on -o mqtt 1 "after -o 60 chkota" "after 86400 chkota"
22:41:58 | | network trigger installed
22:41:58 | Info | execute: if "var -q skipstart" "ledb 255 0 5000" "ledboot 50" "ap EBUS" start exit
22:41:58 | Info | execute: var -q skipstart
22:41:58 | Info | execute: if "isnvs sta.on" "ledb 10 255 5000" "sleep 100" sta
22:41:58 | Info | execute: isnvs sta.on
22:41:58 | Info | execute: ledb 10 255 5000
22:41:58 | Info | execute: strip -b 10 255 5000
22:41:58 | Info | execute: sleep 100
22:41:58 | Info | execute: sta
22:41:59 | | sta connecting to 'TD_IoT'
22:42:01 | Info | cmd_wifi: sta connect
22:42:02 | Info | esp_netif_handlers: sta ip: 192.168.20.42, mask: 255.255.255.0, gw: 192.168.20.1
22:42:02 | Info | cmd_wifi: sta got ip
22:42:02 | Info | repl_event_task: sta event: 1
22:42:02 | Info | execute: start
22:42:02 | Info | execute: ledg 50 0 3000
22:42:02 | Info | execute: strip -g 50 0 3000
22:42:02 | Info | execute: server
22:42:02 | Info | mdns_mem: mDNS task will be created from internal RAM
22:42:02 | Info | execute: function wpsbtnnew "on iol 9 \"sta -w\" \"ledboot 50\" \"var -q wps 1\""
22:42:02 | | function 'wpsbtnnew' installed
22:42:02 | Info | execute: if "var -q isnew" "ap EBUS" wpsbtnnew else "if \"isnvs ap.on\" ap"
22:42:02 | Info | execute: var -q isnew
22:42:02 | Info | execute: if "isnvs ap.on" ap
22:42:02 | Info | execute: isnvs ap.on
22:42:02 | Info | execute: var eth 0
22:42:02 | Info | execute: function chkethw "if \"eth -wt\" \"var eth 2\""
22:42:02 | | function 'chkethw' installed
22:42:02 | Info | execute: function chketh "if \"eth -t\" \"var eth 1\" else chkethw"
22:42:02 | | function 'chketh' installed
22:42:02 | Info | execute: if "!isnvs eth.skip" chketh
22:42:02 | Info | execute: isnvs eth.skip
22:42:02 | Warning | execute: command failed: isnvs eth.skip = 1
22:42:02 | Info | execute: chketh
22:42:02 | Info | execute: if "eth -t" "var eth 1" else chkethw
22:42:02 | Info | execute: eth -t
22:42:02 | Info | initialise_mdns: mdns configured
22:42:02 | Info | esp-rest: Starting HTTP Server
22:42:02 | | server started
22:42:02 | Info | execute: mqtt
22:42:02 | | MQTT client started
22:42:02 | Info | execute: if "var -q wps" "ledboot 0"
22:42:02 | Info | execute: var -q wps
22:42:02 | Info | mqtt: connected
22:42:02 | Info | mqtt: subscribed topic 44725 eas/#
22:42:02 | Info | mqtt: subscribed topic 35172 homeassistant/status
22:42:02 | Info | repl_event_task: mqtt event: 1
22:42:02 | Info | execute: after -o 60 chkota
22:42:02 | | time trigger installed
22:42:02 | Info | execute: after 86400 chkota
22:42:02 | | time trigger installed
22:42:03 | | Ethernet on USR-ES1 not available
22:42:03 | Warning | execute: command failed: eth -t = 1
22:42:03 | Info | execute: io -a
22:42:05 | Info | sntpTimeCb: got NTP time: 2025-09-18 21:42:04
22:42:08 | Info | execute: function chkethcfg "if \"eth -c\" \"var eth 1\""
22:42:08 | | function 'chkethcfg' installed
22:42:08 | Info | execute: if "!var -q isnew" "if \"!var -q eth\" chkethcfg"
22:42:08 | Info | execute: var -q isnew
22:42:08 | Info | execute: if "!var -q eth" chkethcfg
22:42:08 | Info | execute: var -q eth
22:42:08 | Info | execute: chkethcfg
22:42:08 | Info | execute: if "eth -c" "var eth 1"
22:42:08 | Info | execute: eth -c
22:42:08 | Warning | execute: command failed: eth -c = 1
22:42:08 | Info | execute: function enet eth "leds 50"
22:42:08 | | function 'enet' installed
22:42:08 | Info | execute: if "isnvs eth.on" "if \"var -q eth\" enet"
22:42:08 | Info | execute: isnvs eth.on
22:42:08 | Warning | execute: command failed: isnvs eth.on = 1
22:42:08 | Info | execute: watch
22:42:08 | Info | execute: if "isnvs ebus.host" ebus exit
22:42:08 | Info | execute: isnvs ebus.host
22:42:08 | Info | execute: ebus
22:42:08 | Info | init_ebus: switching to enhanced eBUS mode on TCP port (with bitrate deviation 0 and enhanced arbitration delay 200 us)
22:42:08 | Info | setup_ebus_host_tcp: listening on port 9999
22:42:08 | Info | setup_uart: eBUS UART 1 on TX=15(inv) RX=14(inv) with 2400 Bd
22:42:08 | Info | uart: queue free spaces: 16
22:42:08 | Info | mdns: service added
22:42:08 | Info | execute: exit
22:42:08 | Info | execute: command exit
22:42:08 | Info | execute: command exit
22:42:08 | Info | execute: successfully executed 42/42 commands from '/data/main.eas'
22:42:08 | | Welcome to eBUS Adapter Shield Interface!
22:42:10 | Info | temperature_sensor: Range [-10°C ~ 80°C], error < 1°C
22:42:10 | Info | getTemperature: calibration 15.6
22:42:13 | Info | wait_host_tcp: accepted: 192.168.1.218
22:42:13 | Info | loop: host reset
22:43:02 | Info | after_time_handler: time event
22:43:02 | Info | execute: chkota
22:43:02 | Info | execute: ota -t
22:43:02 | Info | OTA: last progress 0, status unknown
22:43:02 | Info | OTA: current: ota_1 ver 20250615
22:43:02 | Info | OTA: started
22:43:03 | Info | esp-x509-crt-bundle: Certificate validated
22:43:04 | | test running: preparing, progress 0
22:43:04 | Info | OTA: connected
22:43:04 | Info | esp_https_ota: Starting OTA...
22:43:04 | Info | esp_https_ota: Writing to partition subtype 16 at offset 0x10000
22:43:04 | Info | OTA: read desc
22:43:04 | Info | OTA: new image: ebusd-esp32 ver 20250615
22:43:04 | Info | OTA: already up-to-date
22:43:04 | Info | OTA: aborted
22:43:04 | Info | OTA: success
22:43:04 | Info | repl_event_task: system event: 12
<!--EndFragment-->
</body>
</html>
execute: onewire
error: no DS18B20 found
execute: command failed: onewire = 1
execute: onewire -s
scan completed, found 0 DS18B20
error: no DS18B20 found
execute: command failed: onewire -s = 1
execute: onewire -s 7
scan completed, found 0 DS18B20
error: no DS18B20 found
execute: command failed: onewire -s 7 = 1
please check again with the new release as the 1wire component was updated which e.g. activates a pullup
I ran a long-term test with 2 sensors and after almost a week these are still sent to MQTT regularly
It seems stable at the moment thank you
ok, thanks for checking. closing this