Jump to content









Photo

Subscribe to stream using MQTT

mqtt streams subscribe

  • Please log in to reply
6 replies to this topic

#1 marcinwegrzyn

marcinwegrzyn

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 23 December 2016 - 03:21 PM

Hi,

Is it possible to subscribe for new streams using MQTT? Example in documentation describes only publishing streams, I can't find anything about subscribing. 

 

I tried to subscribe using mosquitto client: 

 

mosquitto_sub -h mqtt.carriots.com -t {APIKey}/stream -u {APIKey} -d

 

but I don' receive any data.

 

Thanks for any help,

Marcin



#2 boopathi

boopathi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 27 December 2017 - 12:01 PM

Hi,

 

how to subscribe streams using MQTT ?

 

There is any topic format is there for subscribing ?

 

help me .....



#3 mbaeoi

mbaeoi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 28 December 2017 - 09:15 AM

Hi friend

 

You can find all the information about that here: https://www.carriots...ots-mqtt-broker

 

Note that this feature is only available for payment accounts, but you can request its activation throught the support email (normally they do not put any problem)

 

Hope it helps!



#4 boopathi

boopathi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 02 January 2018 - 06:38 AM

Hi Carriots Actually i try to create topic in mqtt.broker .com but i cant create any topic .its shows like

 

 

Some topics were not saved: Topic 'topic123' not created: limit 0 mqtt-topics



#5 mbaeoi

mbaeoi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 02 January 2018 - 12:54 PM

Hi friend

 

As I said you in my previous message, this feature is only for payment accounts.

You will have to send an email to support team explain your situation, usually they enable this feature for test purposes.

 

Hope it helps!



#6 boopathi

boopathi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 11 January 2018 - 05:45 AM

hi 

 

i got approval from the carriots for creating the topic and all.May i know how to subscribe the data from the cloud  there is any topic available for subscribe ??? 



#7 Yoleon

Yoleon

    Sugar Master

  • Members
  • PipPipPip
  • 34 posts

Posted 11 January 2018 - 03:54 PM

Hi boopathi,

 

I have answered your problem in the other topic (http://forum.carriot...t-topic/?p=1681)

 

I hope this help you,

 

Carriots Staff







Also tagged with one or more of these keywords: mqtt, streams, subscribe

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users