I am having an issue with one of my workflows and I think it may be due to either device state throttling or writing/reading an attribute too quickly.
“Device Send State is limited to 30 calls in a 15-second window (per device) - on average, 2 calls per second. This matches the limiting that occurs when sending messages over MQTT”.
Essentially, I have a workflow parsing a Google sheet that contains 100 lines of data. As each line is processed, I am updating / creating 3 attributes on the same device. So I am essentially updating the device state 300 separate times within a single workflow run. This spreadsheet could grow another few hundred lines.
My questions are the following:
- How can I determine if and when the “Device State” workflow node hits this throttling limit?
- Is the “Device State” workflow node blocking? Ie does it wait until the data is saved to the device before moving to the next node?
In regards to number two above, my problem could also be that I am writing to an attribute and then reading it again in the next loop iteration too quickly so that my read contains “stale” data since the previous write hasn’t finished yet.