lundi 17 avril 2017

ESP Easy + Domoticz

Now that we have our NodeMCU flashed with ESP Easy, and wired with the DHT11 sensor, let 's make the configuration to handle the data with Domoticz.

Open the Domoticz web interface, click on Setup and then Hardware.
Name: choose a name for the hardware we want to add, "Sensors module" in my case.
Type: choose "Dummy, does nothing, uses for virtual switches only"
Then click Add.




The hardware should then appear on the top. Click on "Create virtual sensor".
Provide a name to the virtual sensor, and select the sensor type: "Temp+Hum" and press OK.

Now, if you click on Setup and then Devices, you should see something like this:



From there, you see which IDX number we have to provide into ESP Easy. If it is the first object that you add in Domoticz, this IDX should be 1.

Now, go back into the ESP Easy web interface, and change the IDX number of your sensor device, to match with Domoticz.
Within about a minute, you should see the first value appearing on Domoticz. You need to click on Temperature.



It works! We now have a link between NoceMCU and Domoticz. It is as simple as that!

Aucun commentaire:

Enregistrer un commentaire