blues / sparrow-reference-firmware

The accelerator app for the Sparrow Device Cluster use case.
6 stars 9 forks source link

The BME sensor seems to run twice on startup. #21

Open zfields opened 2 years ago

zfields commented 2 years ago

image The Notes generated when the Sparrow Gateway and Node are first powered on.

You can see two Notes are sent from the BME application.

The two readings occur just 32 seconds apart!

I have not adjusted the activationPeriodSecs value, so it still remains at 3600 (60 * 60) seconds (or one hour).

The double execution only occurs for the BME application, not the PIR or button application.

zfields commented 2 years ago

I have noticed while programming other applications it seems to happen to any application I run by itself. In fact, it may not be related to the BME application at all, but rather the first application initialized by the Application Host.