Home/Support/Support Forum/http://<hostname>/ws/Monitor
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

http://<hostname>/ws/Monitor

0 votes
Hello everyone,

I'm kinda new to this topic, so I started to read the documentation to recieve the data from xbee gateway.

I have a XBee Gateway ZB, Wifi.
I already tried the herokuapp. Nice thing.
But what I'm interested is, is the API.
In the documentation is written that I can display the received data online. As example is written <hostname>, but unfortunally I can't imagine what is meaning by this. I'm really sorry, if it a stupid question, but I would for example try to receive the data and display it in goolgle spreadsheet or for example in my homepage. What I need to do to acces the data stream?

Thank you for your help :)
asked Jun 17, 2015 in Web Services by Steinfeld New to the Community (1 point)

Please log in or register to answer this question.

1 Answer

0 votes
In this case, the hostname is the name of the Digi Device Cloud instance. For example on the US cloud instance:

https://devicecloud.digi.com/ws/monitor?condition=cstId=(your_cstId_number)

Additional data can be obtained by looking in your Device Cloud account under the Data Services > Data Streams menu for full paths. For example:

http://devicecloud.idigi.com/ws/DataStream/00000000-00000000-######FF-FF######/DIO/10

Where the # symbols represent the Device ID and the data stream is the DIO 10 pin.
answered Jun 17, 2015 by userid0 Veteran of the Digi Community (2,158 points)
Hi if I try to acces the site and reading Datastream I get following code. Do I need to uncode it? I mean "TWVzc3VuZzogMjIgQ2Vsc2l1cw0K" is this ASCII or something others?
http://devicecloud.digi.com/ws/DataStream/00000000-00000000-00409DFF-FF60FE08/xbee.serialIn/ :
<result>
<resultSize>1</resultSize>
<requestedSize>1000</requestedSize>
<pageCursor>778cf9ef-1-9cc968c9</pageCursor>
<DataStream>
<cstId>9921</cstId>
<streamId>
00000000-00000000-00409DFF-FF60FE08/xbee.serialIn/[00:13:A2:00:40:B8:7C:47]!
</streamId>
<dataType>STRING</dataType>
<forwardTo/>
<currentValue>
<id>a32e3ba3-158a-11e5-a4a7-fa163eefb35b</id>
<timestamp>1434612089205</timestamp>
<timestampISO>2015-06-18T07:21:29.205Z</timestampISO>
<serverTimestamp>1434612089697</serverTimestamp>
<serverTimestampISO>2015-06-18T07:21:29.697Z</serverTimestampISO>
<data>TWVzc3VuZzogMjIgQ2Vsc2l1cw0K</data>
<description/>
<quality>0</quality>
</currentValue>
<description/>
<units/>
<dataTtl>2678400</dataTtl>
<rollupTtl>2678400</rollupTtl>
</DataStream>
</result>
...