Sensor ‐ ds18x Temperature Sensor - mkachline/guarduino GitHub Wiki

Guarduino supports reading multiple "ds18x" temperature sensors via the 1-Wire "DallasTemperature" protocol. These temperatures are then presented to HomeAssistant as "temperature" entities.


drawing

Notes

  • Temperatures are reported in degrees Faranheight
  • (2023 Nov) Testing is indicating only up to four ds18x sensors are supported.
  • All temperatures are sent to MQTT with each Arduino "idle timeout" interval.

Relevant Code

` #define ONE_WIRE_GPIO 8 // If you're using Dallas 1-wire "ds18x", define that pin here.

baseSensor allSensors[] = {

  {reserved, ONE_WIRE_GPIO, -1}, // Pin 8

} `

⚠️ **GitHub.com Fallback** ⚠️