flow to shut down a Raspberry Pi

This enables you to cleanly shutdown a Raspberry Pi without having to ssh in to run sudo poweroff.
Use with some care, as it gives anyone with access to the Node-RED GUI the ability to shut the machine down!