(bluefox) support of node-red as adapter and defined exit codes for errors