Skip to content

Conversation

@awjlogan
Copy link
Collaborator

@awjlogan awjlogan commented Jan 6, 2026

The DS18B20 temperature sensor is widely cloned and the OneWire connection can be unreliable, particularly depending on the physical topology. This PR provides the following features:

  • List found DS18B20 temperature sensors
  • Run time search, no need to reset
  • Save a given device to a specific temperature sensor index
  • Enable the OneWire pull up regardless of active state to allow external device to manage the interface

Note as this requires a change to the EEPROM layout, this is a breaking change.

  - External device, e.g. Pi, might be handling the OneWire
    interface and requires the pull up to be enabled.
  - Take table of addresses from NVM and match to found 1W devices
  - Remap accordingly, provide functions to access remapping
  - Runtime search of 1W interface
  - Save position of device for reproducibility
  - Fix misaligned 8byte access
  - Tokenise 1W address input and make unique in device list
@awjlogan awjlogan merged commit 9a2e344 into main Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants