Log In Register

How do you handle lights on humidity?

  • Thread starter Thread starter OntarioGoldenHash
  • Start date Start date
  • Tagged users Tagged users None

How do you handle lights on humidity?

OntarioGoldenHash 3 Replies 529 Views
Page 1 of 1 · Replies 1–4 of 4
1
O

OntarioGoldenHash

Posts
128
Reactions
137
Joined
Jun 3, 2022
Points
43
I have developed a way to remotely control a smart plug (tp-link kasa h103) via a micro processer (esp32), to control when to turn on/off the dehumidifier.

How do you do it?
 
Inkbird. Humidifier on one outlet, dehu on the other.
Nice I have two, I wanted more control so I moved over to my esp32, which can read temp/humid (using this: https://www.adafruit.com/product/5665) (as well as 100s of other sensors) whenever I want and then calculate VPD on the fly, then I can control my smart plugs accordingly.

something like this:
temp = sht45_temp.temperature;
humid = sht45_humidity.relative_humidity;
//float VPsat = 610.7 * 107.5 * temp / (237.3 + temp); // Saturation vapor pressure in Pascals
float VPsat = 610.7 * pow(10, (7.5 * temp / (237.3 + temp)));
float VPactual = (humid * VPsat) / 100.0; // Actual vapor pressure in Pascals

float vpd = (((100.0 - humid) /100.0) * VPsat) / 1000; // Vapor Pressure Deficit in Pascals

Basically I built my own version of this:


for 1/4 or less of the price, depending how many plugs you control.
 
Last edited:
This is my grafana and influxdbv2 setup. I am still tweaking a few things:

Here I monitor the dehumidifier smart plug I control via my esp32 micro processor. I would like to switch to a smart plug (which I can control) with (SSR) solid state power relays to make them last longer, like the inkbird.

1729376188221
 
Last edited:
Page 1 of 1 · Replies 1–4 of 4
1
Back
Top Bottom