I used node-rcswitch with an 433mhz module for power sockets a long time. after an update to node 10 rcswitch doesn't work anymore.
I'm looking for another way to use my 433mhz power sockets now.
with 433Utils I can do it in the terminal directly like this:
sudo ~/433Utils/RPi_utils/./codesend 4543571
but when I input that in an exec node in node-red it doesn't work. it says "rc-1 rc-2 when set to spawn or error-1 when set to the other option.
what am I doing wrong? how can I execute the command above via the exec node?
thanks in advance