Follow Us

Kuzzle for IoT Apps

Integrate IoT with Web & Mobile on one backend

Kuzzle Backend natively supports standard IoT protocols like HTTP, WebSockets and MQTT, but can be extended to include any other TCP/UDP protocol thansk to its powerful plugin engine. With a database, pub/sub real-time engine, advanced search, geofencing, SDKs & Admin Console, our solution has everything an IoT application needs.

Case Study

IOT GEOLOCATION MONITORING

Kuzzle Backend enables live tracking of a set of connected bikes and sends notifications when the bikes enter or exit a specified area.

Read the complete case study

Developers' corner - MQTT example

  • Javascript
  • 
      client = mqtt.connect({host: 'localhost'});
    
    // Sending a volatile message
    client.publish('Kuzzle/request', JSON.stringify({
      index: 'index',
      collection: 'collection',
      controller: 'realtime',
      action: 'publish',
      requestId: 'some unique ID',
      body: { some: "message" }
    }));
    
    // Getting Kuzzle's response
    client.on('message', (topic, raw) => {
      const message = JSON.parse(Buffer.from(raw));
    
      // API results topic
      if (topic === 'Kuzzle/response') {
        // Response to our "publish" request
        if (message.requestId === 'some unique ID') {
          console.log('Message publication result: ', message);
        }
      }
    });
    

They Trust us