Jump to content









Photo

Subscribe to MQTT topic

MQTT Subscribe

  • Please log in to reply
3 replies to this topic

#1 mathieu

mathieu

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 18 May 2016 - 07:15 AM

Hello everyone

 

I'm trying to subscribe to a MQTT topic, but it doesn't work. I wonder if it is possible in Carrots ?

 

Thanks



#2 jpastor

jpastor

    Development leader

  • Administrators
  • 159 posts

Posted 23 May 2016 - 09:13 AM

Hi Mathieu

 

You can only subscribe to these topics:

- Topics available:
{apikey}/streams
{apikey}/status

 

 

If you are using these topics and you have problems, please give us more info.

 

Best regards!



#3 Thomas_Socomec

Thomas_Socomec

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 23 March 2017 - 03:29 PM

Hello Carriots support,

I reply to this topic because I have problem with the subscribe feature over MQTT.

It seems that the carriots's server close the connection before sending data (from the topic "stream").

Is there any timeout or anything else that can cause this type of problem ?

If I subscribe to the stream topic, do I get all data from any time or only the last one ?

Thanks,

Regards,

Thomas



#4 jpastor

jpastor

    Development leader

  • Administrators
  • 159 posts

Posted 24 March 2017 - 11:28 AM

Hi Thomas_Socomec.

 

In Carriots you can publish data for free but subcription feature is a service on demand. However, Socomec company has its own Carriots implementation. If you need more information about it, please contact us via email.

Best regards!







Also tagged with one or more of these keywords: MQTT, Subscribe

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users