Replies: 1 comment 2 replies
-
While I'd generally recommend against expecting a couple of seconds to matter for ambient temperature, especially when doing nothing but set a variable, it is still an invalid command (it does not do what you want). The command would be One reason for discouraging the idea of polling sensors "as fast as possible" is that some sensors may not have booted or stabilized yet. IDK about HTU21, but with another sensor I saw that it did not yet have a valid reading at that time. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello all,
i want to build a temperature/humidity sensor which immediatly goes to deepsleep if the new value does not differ too much from the last transmitted value. The rule
ON system#init DO status10 ENDON ON HTU21#Temperature DO mem1=%value% ENDON
displays the sensor values about 0.2 seconds after restart, while ON HTU21#Temperature appears about 3 sec. later, meanwhile the connection to the server is started. Is there a way to acces the sensor values directly, not waiting for the next MySensor#MyValue event?
Regards, Dirk
Beta Was this translation helpful? Give feedback.
All reactions