Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
THT22 and 5v
#11
(02-03-2025, 02:13 PM)jltluc57 Wrote: precisely there is no threshold so it refreshes all the time.

I got the impression from other threads that setting a threshold of 0 means no updates, like MQTT retain=true, and the docs say this too, "if the preset difference is exceeded data will be auto updated".  You need to set some minimum threshold value for it to update when the threshold is crossed.

Perhaps the firmware could default to a threshold value of 0.5 instead of 0.0, so it would default to working rather than defaulting to (apparently) not working.
Reply
#12
(02-03-2025, 08:35 AM)jltluc57 Wrote: Yes,

Here is the power cut, the power comes back.

The TH22s are no longer refreshed..
it becomes annoying, always something wrong!!

important: please confirm which type of sensor you have connected? the sensor have many different types, some are CURRENT, some are VOLTAGE signal. the appearance is same.
Reply
#13
sorry but here I'm talking about OneWire not voltage and current signal...
it's a protocol..

here is the sensor used

https://fr.aliexpress.com/item/100500470...pt=glo2fra
Board : K868-A16
Firmware :  v2.2.12
Reply
#14
you need confirm with your sensor supplier, whether is a LOW quality product.
the digital signal, ESP32 just read it showed on webpage.
Reply
#15
that it is of poor quality will affect the accuracy of the measurement I agree.

But after a restart of the card, that in "monitor" it does not display anything, it is not a sensor problem.

when restarting the card there is no reading of the TH22 sensors.
for a temperature probe alone it is OK.
You have to wait until there is a change in temperature and humidity for the value to be displayed.
This is not good for regulation, when restarting you must have a measurement.

I will test the sensors directly on an Arduino as soon as I can.
Board : K868-A16
Firmware :  v2.2.12
Reply
#16
set the ”threshold“ to 0.1 is better. when have a difference data will auto update.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)