peterodro
peterodro
dears, i make a trial with DHT11 and DHT22. it is working only with DHT11, with DHT22 it shows any strange value. I check connected DHT model with "dht.getModel()". In...
i'm sure about correct connection. In my project I put a 4pin "connector" in place of DHT, so i just plug in DHT11 and then DHT22 (both have same connection...
**@CuriousTech** thanks dht.setup(pin, DHT::DHT22); works so auto detection not working in this lib, but problem solved without changing lib.
o in other words i need to set MyTodayEnergy to 0 at midnight and then check in a loop if dps17 is change and then add new value of dpa17...
i have tuya device without switch only measurement. € 27,69 53%OFF | Tuya Smart WiFi Electricity KWH Meter Din Rail Single Phase 110V 230V with 50A 63A CT AC Meter...
Just did another test, now with tuya plug with metering. When it is OFF (no load), DPS17 is decreasing value. so in my case it is not keep last value
 screenshots.. as see at 18:51 DPS17 from 100 to 71 while plug switched off (DPS1)