xodio / xod

XOD IDE
https://xod.io
GNU Affero General Public License v3.0
888 stars 119 forks source link

Time pin visible on DHT11 #1984

Open Cesar-S opened 4 years ago

Cesar-S commented 4 years ago

With the DHT11 node and LCD I see that there are still problems. A though an throttle node was included, the time is set to 0.2 and the xoders add a clock with 2 or 3 seconds. Something redundant ...

The time pin should be accessible and be modifiable.

nkrkv commented 4 years ago

Hello! Are you talking that the boolean ACT on text-lcd-16x2-i2c is not sufficient and the LCD is missing some updates so that the pulse UPD should be brought back?

Cesar-S commented 4 years ago

Hello, Sorry for not including the links...

Here are two examples, it seems that some have a problem.

https://forum.xod.io/t/not-reading-temp-from-dht11/3920/3

https://forum.xod.io/t/text-lcd-i2c-16x2-with-dht11-hygrometer-nodes-lcd-err/3721/19

Cesar-S commented 4 years ago

Now I realize that they are using an old LCD node 🤦‍♂️

ps: but in the second topic, I see that there are only some watch

nkrkv commented 4 years ago

Looks like there are plenty of different models of DHT11 in the world. The current version of dht11-hygrometer throttles updates with 0.2 seconds intervals which is not sufficient for all models, possibly.

What’s the best option for the dht11-hygrometer, what do you think?

Cesar-S commented 4 years ago

Expose the throttling limit as an input pin with 0.2 as default. That is, make the interface more complex

In my library I used the throttle node but left the time pin visible. I think it could be a simple change without affecting the rest.

https://xod.io/libs/cesars/rich-uno-r3/