Jump to content









Photo

How does one change "Status"


  • Please log in to reply
6 replies to this topic

#1 afterthought

afterthought

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 27 January 2014 - 05:05 PM

my  "device" indicates that it is "disconnected" how can I change it to "OK" ?



#2 jpastor

jpastor

    Development leader

  • Administrators
  • 178 posts

Posted 28 January 2014 - 08:54 AM

Hello afterthought.

When you define your device, you have two fields named "Data Stream Frequency" and "Status Stream Frequency". This fields are a number representing the time range in which a data stream should be received (expressed in minutes).

If your device doesn't recive a stream in that timespan, their status will be automatically "disconnected", but If you send a stream your device will change to "OK".

To know more about the different inner device status, please visit:

https://www.carriots...ce_inner_status
https://blog.carriot...t-applications/

 

 

Enjoy Carriots!



#3 laempresatecnologica

laempresatecnologica

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 02 March 2015 - 08:54 PM

Hi,

 

I had the same problem so I reduced the Frequency numbers to 1. I expected that if I sent more than 1 mqtt message per minute, the status would change to OK, but it didn't.

 

When I switch on my device, I send a "status" message and then it begins to send a "stream" message every 5 seconds, which should be the frequency numbers?

 

Thanks in advance!



#4 laempresatecnologica

laempresatecnologica

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 03 March 2015 - 07:27 PM

I misunderstood the term "Frequency". I thought in times per second instead of at least one in that range of time.

 

By the way, very good platform !!



#5 sdeancos

sdeancos

    Master of Puppets

  • Members
  • PipPipPip
  • 107 posts
  • LocationMadrid, Spain.

Posted 04 March 2015 - 10:37 AM

Hi,

 

you can learn more about status and frequency in https://www.carriots...ce_inner_status

 

 

i hope this help you.

 

BR



#6 boopathi

boopathi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 21 December 2017 - 11:16 AM

hi actually im using Mbed Mqtt library i have problem while publishing the data . i dont know how to use this library along with my project 

 

how do that below

 

user name:

password :

topic :

???????????



#7 mbaeoi

mbaeoi

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 26 December 2017 - 12:17 PM

Hi friend


If you want to send a data streams to Carriots, all the information that you need is:

Host: mqtt.carriots.com     
Port: 1883     
Username: your apikey
Password: empty
Topics:
{apikey}/streams
{apikey}/status

You can publish xml or json to these topics.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users