Mar-06-2023, 06:30 PM
I'm going to go back and look more closely at the code tgalarneau originally put up on GitHub. That code seemed to work, even though it put out multiple MQTT messages. In refactoring his code to put out a single MQTT message I may have created the timing issue, as his code seemed to work fine with no "missing messages". That's what I get for jumping in and hacking up his code without fully understanding things.