Homemade MQTT sensor, how to integrate it?

Good evening to all (? :innocent:) and everyone,

I developed very simple sensors (ESP8266/DHT11) that send ambient temperature and humidity values over WIFI to my MQTT server. I would now like to be able to integrate these values as a graph into Gladys, how should I proceed?

A page explains how to integrate a sensor into the dashboard (Afficher la température moyenne d'une pièce sur le tableau de bord | Gladys Assistant), but the prerequisites are, to say the least, vague: « You must first have configured at least one temperature sensor. It can be a sensor of any protocol (Z-Wave, MQTT, whatever), and have assigned that sensor to a room. » Ideally, I would need to be able to display temperature and humidity on the same graph … A little help would be welcome :- :smile:

Thanks in advance :+1:
Jean

Hello,
You need to create an MQTT device in the dedicated integration and use the suggested topic.
Gladys will listen only to that topic. That means you need to configure your personal device to publish to that topic created via the integration…

1 Like

Hi @GBoulvin

Thanks for your reply, which allowed me to very easily integrate the requested data! All temperature and humidity data is accessible :+1:

Have a great day :wink:
Jean

4 Likes