Hello there,
I am working on a project that involves monitoring multiple IoT devices using Losant; and I have hit a bit of a snag with device state reporting and workflow triggers.
I have several devices sending data at regular intervals. I have set up workflows that trigger based on certain thresholds. The device data is coming through just fine, and I can see the reported states in the device log.
The issue I am facing is with consistency in the workflow triggers. Sometimes the workflow fires as expected when the data exceeds the thresholds; but other times; it seems to miss the trigger entirely.
There is no pattern to when it fails; which is making it hard to troubleshoot. I have double checked my workflow configuration; especially the conditional nodes; and everything looks fine to me.
Could this be an issue with how the data is being reported by the devices; or is it more likely a problem within the workflow logic?
Are there best practices for ensuring workflows are triggered consistently based on device state changes?
Also, I have gone through this post; https://forums.losant.com/t/is-it-possible-to-use-the-losant-rest-api-from-inside-a-custom-minitab-dashboard-block/4206 which definitely helped me out a lot.
Has anyone else experienced intermittent workflow issues like this and found a reliable solution?
Thanks in advance for your help and assistance.