I've just set up a little nore-red flow with mqtt input node attached to an rpi gpio output node. Send "1" to the topic using cloudmqtt on the Web and the pin turns on, send "0" to turn it off again. Very simple flow.
Sent from my SGP511 using Tapatalk
Sent from my SGP511 using Tapatalk