manOH: Excess events on a GPIO sensor edge action

I have a Mangoh Yellow simulating a locker. It has a door sensor connected to the GPIO pin 24 port on the IoT board.

The issue is that it generates a lot of events when nobody is not actually touching the switch.

We have tried with different switches in case it was a sensor error. It happens the same. We have also associated a blue led to the sensor that lights up if it is pressed. This light works as expected: turns on when pressing the sensor and turns off otherwise.

The service is defined as follows

An observation is defined. We have assigned a throttle of 1 second (because without throttle the problem is worse as there are multiple events per second).

The observation has an edge action that only writes to the log the value of the event and the value of the associated resource.

Without pressing anything, there are multiple, continuous calls to the event.

Any idea why this could happen?

Hello Joan,

I will try to replicate this shortly. Can you let me know which firmware version your device is running?

Hi David, thanks for your message.

It has the latest firmware for Mangoh Yellow

Firmware Version: SWI9X06Y_02.35.02.00 5208b3 jenkins 2020/06/10 00:30:12
Bootloader Version: SWI9X06Y_02.35.02.00 5208b3 jenkins 2020/06/10 00:30:12
MCU Version: 002.014
PRI Part Number (PN): 9909138
PRI Revision: 001.001
Carrier PRI Name: SIERRA
Carrier PRI Revision: 001.036_001
SKU: 1104405