I have a periodic edge action triggered from the util counter every 10 sec, but it seems unreliable. In the console there are errors like:
Datahub.read: Failed to read from /app/imu/gyro/value
Failed to run script (err: LE_BUSY)
The first one is a warning but the second is an error.
Are there any hints on error handling or avoiding these errors?
I see some resources can be read via a trigger mechanism (asynchronous?) - how does this relate to reading directly from Datahub.read(…)? Can all resources be read directly or are there some eg. GPS that may not have data available on demand?