@Skysurfer14 I am not totally sure what you have done, so this might help you get more help. The sensor is connected to what? Post the gateway code so we can see what is happening there. Your debug shows that the node cannot find the parent (gateway) and therefore fails. Again, how it is all connected (drawing, photo) would help.