Free MQTT broker for your ESP32 + ESPHome + DS18B20

Point your ESP32 + ESPHome + DS18B20 at our Mosquitto broker and monitor cold rooms, fridges and freezers from your phone, with email alerts. Free with EzDIS.

The ESP32 + ESPHome + DS18B20 measures temperature and publishes it over MQTT. For that it needs a server (broker): EzDIS gives you one for free, with a username and password per sensor, so you don't have to run a Raspberry Pi or pay for a cloud.

Each reading reaches EzDIS, is kept for 90 days and shows on a chart from 6 hours to 30 days. You set the allowed range (for example -25 to -18 °C for frozen goods) and how many minutes it must stay out before alerting, so opening the door does not trigger an alert.

If the sensor stops sending, because of a power or WiFi outage at night, we let you know too: exactly what you need to avoid losing stock.

How to set it up

  1. 1 Create your free EzDIS account, go to Sensors and add a sensor with its range.
  2. 2 Note the server, username, password and topic the app gives you.
  3. 3 Wire the DS18B20 probe to the ESP32 (GPIO4 in the example) and add the block below, with your details, to the ESPHome YAML.
  4. 4 Flash the firmware to the ESP32 from ESPHome.
  5. 5 Within a few minutes you see the reading in EzDIS.
one_wire:
  - platform: gpio
    pin: GPIO4

sensor:
  - platform: dallas_temp
    name: camara
    update_interval: 60s

mqtt:
  broker: devices.ezdis.net
  port: 1883
  username: sn4k2p9x7q1m
  password: TheSensorPassword
  topic_prefix: s/sn4k2p9x7q1m
  discovery: false

In this example, sn4k2p9x7q1m is the sensor username and s/sn4k2p9x7q1m its topic: replace them, and the password, with the ones the app gave you when you added the sensor. They are not your app login.

Frequently asked questions

Which username and password do I enter on the sensor?

The sensor's, not your account's: when you add the sensor under Sensors, EzDIS shows its username (starting with “sn”) and password. The password is shown only once; if you lost it, tap New password on the sensor page.

Does the ESP32 + ESPHome + DS18B20 work with EzDIS?

Yes. EzDIS understands Shelly, ESPHome and Tasmota readings: just enter the server, username and password in the ESP32 + ESPHome + DS18B20 MQTT settings.

How often should it send a reading?

One per minute is enough. If it sends more often, we keep each minute's average, minimum and maximum.

How much does it cost?

Nothing: the broker, charts and email alerts are free, up to 30 sensors per account.

More guides

Create a free account