Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By gregbath
#71361 Thank you all for your help.

I did completely restructure my code and removed the interrupt routine. I found that simply polling the sensor input in the main loop was accurate enough for my purposes. The device has been sitting in my roof for the last 18 months and working well.

I have been thinking of updating the code to use MQTT and when I do that I will try the interrupt routine again.