Added the possibility to add a motion detector to the gateway node