Realy cool i try it !!!!!
i'm trying to get my motionsensor working, but i see only 0 in the terminal what send to the gateway. Does anyone know why i only see that 0 and not a 1? I'm asuming that 1 is a movement.
Get this error
C:\Users\Daan\AppData\Local\Temp\Rar$DIa0.647\DistanceSensor\DistanceSensor.ino: In function 'void setup()':
DistanceSensor:53: error: 'getConfig' was not declared in this scope
metric = getConfig().isMetric;