Ok, there's something I don't get here. While using API REST to check for a status change in the "cloud" channel (and determine that the relay status has to change", yes, I need to be polling the server every X seconds.
In yoursentence above it looks like while using MQTT I would subscribe to a topic and I wouldn't need to poll to seek for changes? How does that work?
Thanks