- What version of node-red and node.js are you running (see the startup log to find out)
- What OS are you running on your pi?
- What sensor are you using?
- What GPIO pins are you using?
- Can you provide a sketch of your setup?
I'm confused about your description You say you have a sensor that communicated to a base station (the pi?) using RF but then you say you can move the sensor to another GPIO pin so I can't understand what your setup is,
Also can you export your flow and attach it to a reply.
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```
)
```
code goes here
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json