Skip to content

Latest commit

 

History

History
93 lines (73 loc) · 2.05 KB

README.md

File metadata and controls

93 lines (73 loc) · 2.05 KB

   


Table of Contents

description

Reading OneWire temperature sensors. A maximum of 16 sensors can be read out. These are provided if correctly set via Mqtt with the appropriate interval.

OneWire settings

  • OneWire data bus pin
  • report in °C or °F
  • internal sensor read interval

sensor data

  • out each found sensor

mqtt section

  • a checkbox which activates the status sending via mqtt. The interval is activated and set in the mqtt settings.

web interface

OneWire interface

mqtt interface

mqtt stat

{
  "id": "sensor",
  "ip": "192.168.2.34",
  "time": "2023-04-03 11:30.22",
  "uptime": 154981,
  "version": "2023033001; firmware: Apr  1 2023 15:49:17; GCC-Version: 5.2.0",
  "reset_reason": "ESP_RST_SW",
  "reset_time": "2023-04-01 16:27.23",
  "interval": 15,
  "sensor": [
    {
      "addr": "21:12:a9:6e:e3:28",
      "temp": 33.1875,
      "temp_str": "33.19°C"
    },
    {
      "addr": "21:12:b1:02:13:28",
      "temp": 18.5625,
      "temp_str": "18.56°C"
    }
  ]
}

mqtt cmnd

Not available

mqtt tele

On each connect to a mqtt server a telemetry information is send like this:

{
  "id": "sensor",
  "ip": "192.168.2.34",
  "time": "2023-04-03 11:23.55",
  "uptime": 1,
  "reset_reason": "ESP_RST_SW",
  "reset_time": "2023-04-03 11:23.54",
  "mac": "24:62:AB:F6:2C:A8",
  "channel": 10,
  "ssid": "karlshorst_BGN",
  "rssi": -60
}