FAVORIOT – MQTT Websocket

January 19th, 2018 Posted by IOT PLATFORM 0 thoughts on “FAVORIOT – MQTT Websocket”

MQTT websocket allows the browser to receive messages directly from a server as new messages arrive. Favoriot platform has enabled this feature that allows data to be stored, and the same time delivered to the MQTT client that subscribe to the same topic (a bi-directional communication). This is an important feature for the following use cases.

  • Display live data from a device
  • Receive alert and notifications
  • Communicate effectively with a mobile phone application

*The data will be delivered “as-it-is” basis.

How to configure?

Sending / publish data

Use the following configuration to setup your device to send / publish data.

Host : mqtt.favoriot.com

Websocket Port : 3000

Use your Read-write API-Key as username and password to connect to the platform.

ClientID (for some MQTT clients): Any name

Publish : {Your-API-Key}/*

Example : {Your-API-Key}/Home/Temperature

Receive / subscribe

Use to the following configuration to receive / subscribe

Subscribe : {Your-API-Key}/*

Example : {Your-API-Key}/Home/Temperature

Whenever a new data arrives at the Favoriot MQTT websocket, the same data will then be pushed to the subscriber/s.

Tags: , , ,

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2024 All rights reserved