Receiving MQTT events to switch on/off the device (Smart farming)

We are doing two things here. First, we are sending an On/Off event from Boomi Flow to the Cloud MQTT broker. Next, we are sending the event from the broker to the device.

Send On/Off event from Boomi Flow to Cloud MQTT broker

The event is triggered in the smart farm flow, and we are using the Flow Service component to interact with AtomSphere.

Send On/Off event from cloud MQTT broker to device

This is the process running on the gateway. We are using this to listen MQTT events from Boomi Flow and switch the device On/Off.