# Sending Remote AT Commands to Endpoints / Cluster IDs

**URL:** <https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676>\
**Category:** XBee - Zigbee\
**Created:** [April 6, 2011, 8:13am UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676 "2011-04-06T08:13:09Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![KptNano](https://avatars.discourse-cdn.com/v4/letter/k/85f322/32.png) [@KptNano](https://forums.digi.com/u/KptNano)\
**Post date:** [April 6, 2011, 8:13am UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/1 "2011-04-06T08:13:09Z")

</div>

Hi,

i would like to use xBee End Devices in an environment with none xBee coordinators and routers. For this i am looking for an alternative to the Remote AT Commands. Especially i am interested at setting and reading the status of xbee’s digital io ports.

Is there a way to do send remote AT commands to a end device over endpoints and cluster IDs? What would a Px or PR command look like?

Thanks a lot.

Greetings,  
KptNano

---

<div class="post-metadata">

**Author:** ![lynnl](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@lynnl](https://forums.digi.com/u/lynnl)\
**Post date:** [April 6, 2011, 1:11pm UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/2 "2011-04-06T13:11:57Z")

</div>

You didn’t say which XBee technology you use, so I assume ZigBee.

Make sure you carefully understand the ‘rules’ of end-devices. Will these sleep? If not, (my suggestion) is never use end-device firmware unless you want sleeping behavior or have a huge number of nodes. end-devices do not mesh, they talk to a single parent in an old-fashioned ‘hub’ design, and the parent must be a coordinator or router. Therefore a design with 100% end-devices can’t function.

Since you wish to send commands, I assume you will have at least one coordinator, which is actually a router and can handle at most 10 end-devices.

Sending remote AT commands is trivial if your node runs in API mode - it is frame type 0x17. But can be a huge headache if you try to tun in AT mode.

Also remember if your nodes sleep, ‘polling them’ will be a nightmare long-term. It is better to use the IR/IC settings to have the nodes wake & report the pins. If they are always awake, then you can poll using the various “D” commands like D1, D2, etc.

PR is a pullup setting command, so not useful in your situation.

---

<div class="post-metadata">

**Author:** ![KptNano](https://avatars.discourse-cdn.com/v4/letter/k/85f322/32.png) [@KptNano](https://forums.digi.com/u/KptNano)\
**Post date:** [April 6, 2011, 2:26pm UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/3 "2011-04-06T14:26:21Z")

</div>

Hi Lynn,

first of all thanks to your answer.

Indeed i am using ZigBee technology. Actually we are using a pure XBee environment (1 Coordinator and multiple end devices) and are using the Remote AT commands (frame type 0x17) for our application.

Unfortunately we will have to change the coordinator to a non XBee device for different reasons but would like to reuse our EndDevices. For this we need an alternative for accessing the IOs. I am thinking of a solution using Explicit Addressing of an endpoint and a ClusterId instead (like the echo cluster for example).

Greetings  
KptNano

---

<div class="post-metadata">

**Author:** ![lynnl](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@lynnl](https://forums.digi.com/u/lynnl)\
**Post date:** [April 6, 2011, 2:51pm UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/4 "2011-04-06T14:51:25Z")

</div>

Okay, that makes sense.

So your real question is “assuming my host-access to the collection of Xbee is via a non-Digi ZigBee node, how can I read the XBee’s I/O pin status via pure ZigBee RF frames & addressing?”

I’ll see if I can find the answer.

---

<div class="post-metadata">

**Author:** ![proyectoxbee](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@proyectoxbee](https://forums.digi.com/u/proyectoxbee)\
**Post date:** [September 18, 2011, 3:19am UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/5 "2011-09-18T03:19:30Z")

</div>

I’m working with xbee series 2, Connectport x4 and Digi Espe where I can program with python language. I realize I can read the Xbee’s I/O pin status because I need to connect a ph sensor in the analog pin Can I make this?? I have been running some programs and actually I can make discovery all device connected using xbee module. Please tell me how can I read this pins and what module in python can be usefull??

---

<div class="post-metadata">

**Author:** ![shahrj1988](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@shahrj1988](https://forums.digi.com/u/shahrj1988)\
**Post date:** [September 18, 2011, 5:36pm UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/6 "2011-09-18T17:36:33Z")

</div>

Check this out. The following link would help you.

[http://www.digi.com/wiki/developer/index.php/XBIB\_Display\_LEDs](http://www.digi.com/wiki/developer/index.php/XBIB_Display_LEDs)

---

<div class="post-metadata">

**Author:** ![proyectoxbee](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@proyectoxbee](https://forums.digi.com/u/proyectoxbee)\
**Post date:** [September 20, 2011, 12:17am UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/7 "2011-09-20T00:17:36Z")

</div>

hello… thanks for this suggest but I have other question… If I don’t have the sensor\_io or sensor adapter can I read the pins state?? because I thought I can connect from a industrial sensor of ph level to a analog port of xbee because I can see in the xbee’s settings enable the format ADC. Do you know somethink about it?? please help me…

---

<div class="post-metadata">

**Author:** ![shahrj1988](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@shahrj1988](https://forums.digi.com/u/shahrj1988)\
**Post date:** [September 20, 2011, 6:14pm UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/8 "2011-09-20T18:14:28Z")

</div>

Yes,

The AT command IS would work fine for that.

Then use ParseIS object, it will return the values in the dictionary format.

Check this out  
[http://www.digi.com/wiki/developer/index.php/Smart\_Plug\_Interactive\_Demo](http://www.digi.com/wiki/developer/index.php/Smart_Plug_Interactive_Demo)

---

<div class="post-metadata">

**Author:** ![proyectoxbee](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@proyectoxbee](https://forums.digi.com/u/proyectoxbee)\
**Post date:** [September 24, 2011, 11:32pm UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/9 "2011-09-24T23:32:26Z")

</div>

Perfect!! Finally I can read the analog output of xbee pro and series 2 with addo\_get\_parameters and addo\_set parameters in broadcast in my console show the value the analog pin. I am working all examples from digi ESP. I can realize you have worked with this devices Where are you work? or what is your project? Please now I need to organize my network us Mesh Network . Do you know how set or where? I don’t have any router in my network but I need to set of this way.

---

<div class="post-metadata">

**Author:** ![shahrj1988](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@shahrj1988](https://forums.digi.com/u/shahrj1988)\
**Post date:** [September 25, 2011, 5:53pm UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/10 "2011-09-25T17:53:40Z")

</div>

It seems your this new query should be put as a new thread. And also explain in the new thread that how you want to arrange your network and what is your application.

---

<div class="post-metadata">

**Author:** ![proyectoxbee](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@proyectoxbee](https://forums.digi.com/u/proyectoxbee)\
**Post date:** [September 28, 2011, 1:50am UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/11 "2011-09-28T01:50:20Z")

</div>

Thankss… I invite you to visit my thread named How to set up router device to work in mesh network… if you know something about that please tell me…

---

<div class="post-metadata">

**Author:** ![jdesbonnet](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jdesbonnet](https://forums.digi.com/u/jdesbonnet)\
**Post date:** [September 28, 2011, 12:04pm UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/12 "2011-09-28T12:04:18Z")

</div>

I had the same problem and solved it (sending AT commands from non-XBee device). See this blog post:  
[http://jdesbonnet.blogspot.com/2011/09/controlling-xbee-io-lines-with-zigbee.html](http://jdesbonnet.blogspot.com/2011/09/controlling-xbee-io-lines-with-zigbee.html)

---

<div class="post-metadata">

**Author:** ![shenglu](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shenglu](https://forums.digi.com/u/shenglu)\
**Post date:** [October 10, 2011, 8:43am UTC](https://forums.digi.com/t/sending-remote-at-commands-to-endpoints-cluster-ids/676/13 "2011-10-10T08:43:03Z")

</div>

I know I can read the XBee’s I / O pins of the state, because I need the pH sensor connected to analog pin, I can do? ? I’ve been running some programs, I can find all the devices connected to use of the XBee module.
