Try the shiftr.io
Experience Now

Connect to our public instance to quickly test
the system with your hardware or software.

mqtt://public:public@public.cloud.shiftr.io

Languages & Libraries

The MQTT and HTTP protocol are standards that are supported by all popular
programming languages. For most languages, multiple libraries are available.

Use Processing and the processing-mqtt library to publish and subscribe using MQTT.

import mqtt.*;

MQTTClient client;

void setup() {
  client = new MQTTClient(this);
  client.connect("mqtt://public:public@public.cloud.shiftr.io", "processing");
  client.subscribe("hello");
}

void draw() {}

void keyPressed() {
  client.publish("hello", "world");
}

void messageReceived(String topic, byte[] payload) {
  println( topic + ": " + new String(payload));
}

For more information see the Processing manual in the documentation.

Ready to get started?

Deploy shiftr.io in the cloud for free today and scale up as needed later.