[SOLVED] Blynk - WIFI Humidity level control with set point and hysteresis, DHT22 and relay on/off

Any help? How do I code a proper hysteresis function in addition to the code listed?

Hi
I know that this is a year old project. I tried the code without the hysteresis function in the code and I am satisfied with the result for what I am doing.
I’m trying to control a wine cooler, which I converted it to a humidor. The humidity part is working fine with te above code to run on off a cool mist mini humidifier.
what I’m not able to is to modify the code to control Pelletier cooler through a relay to cool heat the humidor
any help is greatly appreciated

thank you
Harry

I think it should be woorking fine, i was using the code for the exact same purpose. look at the “relay1” in the code and let that control your on/off relay.

/K

Hi KSinning
thank you for replying
you are right that relay1 is working fine I am controlling a humidifier with it .
I want to add a second relay on the same code (relay2 )and control it with blynk with different set of slider and gauges on the same interface

Thank you KS
with a lot of trials and errors I was able to compile the code adding a second relay to cool and humidify my humidor
learned a lot I have no idea about coding
thank you for your project

if the hardware are arduino uno, esp8266 sp01, DHT11…can you help me to make sketch and tutorial of blynk for running this project ?

It should be possible with the code already posted - Please mind the right Lib and port numbers, also look at the Blank website for additionel information on setting up the ESP8266.

/Karsten

please help me…how to combine the DHT11 above…with LCD LM1632 monitor , relay led on/off and dimmer…in one project…? thank you for attention

@Kangmas_Hadi Firstly, what you are asking is not really what we do here… we are NOT a code factory.

Secondly, I have already moved your “request” to your own topic… Please DO NOT keep tagging your help requests onto other’s topics.

Thank you.