How did you get 3 options for the sleep interrupt? Whenever I would try and add the sleep_time option it would give me compile errors.
waynehead99
@waynehead99
Best posts made by waynehead99
Latest posts made by waynehead99
-
RE: implementing multiple sensorsposted in Development
-
RE: implementing multiple sensorsposted in Development
Thanks that worked... and for my understanding... looks like your not really using interrupts at all? Looking at the code makes complete sense to me, and proves I was over thinking things on mine.
Thanks again.
-
RE: implementing multiple sensorsposted in Development
Nobody wants to take a crack at this? I figured this to be a common combo and would really like to get it to work properly.
-
RE: implementing multiple sensorsposted in Development
So I have created a multi sensor that uses the DHT and motion to get Temp/Hum/Motion. Problem I have though is the update of the hum/temp. I have not been able to figure out a way to get a reliable update on those without blasting the GW/Vera with unneeded announcements (disable sleep function and it keeps updating pretty much every second). So right now the script updates the temp/hum only when motion is seen. I have tried a few things with my limited knowledge of arduino and can't get this to work properly. Can someone please take a look at this sketch and tell me what I am missing? If i change the variables for sleep at the end and try to do an interrupt and a sleep delay, i get an error.
