Hi all,
I hope someone can help me.
I just installed Pimatic on my Raspberry and ESPimatic to my NodeMCU. I configured a relais and the DHT11 sensor. Switching the relais on and off works like charm. I used the example device configuration which is shown in the examples of the espimatic wiki:
{
“id”: “relais1”,
“name”: “Relais1”,
“class”: “ShellSwitch”,
“onCommand”: “curl --silent --data ‘action=relay1&value=on’ http://esp-ip/api”,
“offCommand”: “curl --silent --data ‘action=relay1&value=off’ http://esp-ip/api”,
“getStateCommand”: “curl --silent --data ‘action=relay1&value=status’ http://esp-ip/api”,
“interval”: 60000
},
My problem is that I don’t know how to configure the DHT11 sensor in the config.json file.
Which device class I have to configure and how?
Thanks for your help.
g0rnix