A new sketch using a simpler vibration sensor than the one on the store, this one has only one output to go into digital pin 3 hich is PWM.
The sketch uses the interrupt to count the value between too sending to gateway (sleep time).
Globally the sensor is not that much sensitive, some people use the piezzo one for seismic activity monitoring, this one is more door knock measurement. As I write, it is on my keyboard and does not report anything, but if I knock on the keyboard a value is reported.
@hek I would need a value too for this one...