# \#python-xbee

**URL:** https://forums.digi.com/tag/python-xbee/5.md

[Latest](https://forums.digi.com/latest.md) · [Categories](https://forums.digi.com/categories.md) · [Tags](https://forums.digi.com/tags.md)

---

## [Receiving API frames (802.15.4) XBEE3 from Python is too slow](https://forums.digi.com/t/receiving-api-frames-802-15-4-xbee3-from-python-is-too-slow/26611)

<div class="topic-metadata">

**Author:** [@Ayaz](https://forums.digi.com/u/Ayaz)\
**Replies:** 3\
**Last updated:** [December 30, 2024, 12:47pm UTC](https://forums.digi.com/t/receiving-api-frames-802-15-4-xbee3-from-python-is-too-slow/26611 "2024-12-30T12:47:35Z")

</div>

Hello, I have recently purchased Digi Xbee3 zigbee mesh kit. I am using two of the Xbee devices(Sender and Receiver) with firmware: Digi Xbee3 802.15.4 (latest). Done all initial configuration and checked throughput/ran…

---

## [I want to connect XB3-24Z8PT-J (Xbee 3) to an end device (SNZB01) keeping Xbee as the coordinator. How can we do that using python?](https://forums.digi.com/t/i-want-to-connect-xb3-24z8pt-j-xbee-3-to-an-end-device-snzb01-keeping-xbee-as-the-coordinator-how-can-we-do-that-using-python/33107)

<div class="topic-metadata">

**Author:** [@Bhaskar908](https://forums.digi.com/u/Bhaskar908)\
**Replies:** 1\
**Last updated:** [November 11, 2024, 1:44pm UTC](https://forums.digi.com/t/i-want-to-connect-xb3-24z8pt-j-xbee-3-to-an-end-device-snzb01-keeping-xbee-as-the-coordinator-how-can-we-do-that-using-python/33107 "2024-11-11T13:44:01Z")

</div>

I want to connect the end device SNZB01 to the xbee device by configuring the xbee3 device as coordinator using the python library. When I manage to scan for nearby device, I cannot find the end device. If possible can s…

---

## [Delivery status of a frame and callback function()](https://forums.digi.com/t/delivery-status-of-a-frame-and-callback-function/29468)

<div class="topic-metadata">

**Author:** [@Ayaz](https://forums.digi.com/u/Ayaz)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 12:56pm UTC](https://forums.digi.com/t/delivery-status-of-a-frame-and-callback-function/29468 "2024-01-30T12:56:43Z")

</div>

Device: Digi xbee3 mesh kit (Firmware: 802.15.4, 200D). I am a bit confused on what is meant by “Delivery status” field in a Transmit status frame. Does this mean, the packet that was supposed to be transmitted, is tr…

---

## [Change size of message object in python digi-xbee message object](https://forums.digi.com/t/change-size-of-message-object-in-python-digi-xbee-message-object/22873)

<div class="topic-metadata">

**Author:** [@Wermut96](https://forums.digi.com/u/Wermut96)\
**Replies:** 2\
**Last updated:** [December 29, 2021, 12:27pm UTC](https://forums.digi.com/t/change-size-of-message-object-in-python-digi-xbee-message-object/22873 "2021-12-29T12:27:27Z")

</div>

Hello, I’m trying to transfer a 10MB long String using the device.send\_data() methode. The message is too long, so I manually found out, that I can transfer upto 92 letters of the string at once (if I go higher it thro…

---

## [How to set remote XBee parameters from a local XBee using set\_parameter?Help needed!!](https://forums.digi.com/t/how-to-set-remote-xbee-parameters-from-a-local-xbee-using-set-parameter-help-needed/19632)

<div class="topic-metadata">

**Author:** [@varun](https://forums.digi.com/u/varun)\
**Replies:** 1\
**Last updated:** [December 6, 2021, 12:02pm UTC](https://forums.digi.com/t/how-to-set-remote-xbee-parameters-from-a-local-xbee-using-set-parameter-help-needed/19632 "2021-12-06T12:02:57Z")

</div>

Hi, I would like to set different parameters on my remote Xbee device using the set\_parameter API in python. I am following the examples in the python sdk and in it in the SetAndGetParameterSample.py example, the local …

---

## [Getting NI value from RemoteDevice](https://forums.digi.com/t/getting-ni-value-from-remotedevice/22756)

<div class="topic-metadata">

**Author:** [@AriaChloe](https://forums.digi.com/u/AriaChloe)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 9:34am UTC](https://forums.digi.com/t/getting-ni-value-from-remotedevice/22756 "2021-10-26T09:34:24Z")

</div>

Hi! I am using micropython along with Xbee 3 zigbee which are functioning as routers , controller making use of python API. With operation of network discovery I get only NI parameter with remote xbee on basis of contr…

---

## [XBee 3 file transfer](https://forums.digi.com/t/xbee-3-file-transfer/22758)

<div class="topic-metadata">

**Author:** [@EllieNora](https://forums.digi.com/u/EllieNora)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 9:21am UTC](https://forums.digi.com/t/xbee-3-file-transfer/22758 "2021-10-26T09:21:27Z")

</div>

Hi I want to send a file using xbee 3 also want to receive it on xbee3 means sending via xbee3 to another xbee3, working on a semiconductor project. By using ATFS get and put at instructions is it attainable? While usi…

---

## [xbee set up on XCTU and python API](https://forums.digi.com/t/xbee-set-up-on-xctu-and-python-api/22193)

<div class="topic-metadata">

**Author:** [@naki](https://forums.digi.com/u/naki)\
**Replies:** 3\
**Last updated:** [February 10, 2021, 9:52am UTC](https://forums.digi.com/t/xbee-set-up-on-xctu-and-python-api/22193 "2021-02-10T09:52:45Z")

</div>

Hello reader I have few questions to which I can not seem to find answers in the forum or in other sources - it may just be that my google-fu is not up to par. first question: I am setting up 2 xbee s2c modules (later…

---

## [Receiving weird serial Data from Xbee](https://forums.digi.com/t/receiving-weird-serial-data-from-xbee/22155)

<div class="topic-metadata">

**Author:** [@SJSU2021](https://forums.digi.com/u/SJSU2021)\
**Replies:** 1\
**Last updated:** [January 27, 2021, 10:39am UTC](https://forums.digi.com/t/receiving-weird-serial-data-from-xbee/22155 "2021-01-27T10:39:58Z")

</div>

Hello, So I have a project that has a remote Arduino with 3 sensors attached and an Xbee s2c connect to my computer with a usb. In XCTU the sensor data is all correctly received but when I open the Arduino serial monito…

---

## [GPIO toggling frequency](https://forums.digi.com/t/gpio-toggling-frequency/22148)

<div class="topic-metadata">

**Author:** [@tsbp](https://forums.digi.com/u/tsbp)\
**Replies:** 0\
**Last updated:** [January 21, 2021, 1:09pm UTC](https://forums.digi.com/t/gpio-toggling-frequency/22148 "2021-01-21T13:09:55Z")

</div>

We use software SPI in XBee3. At some point, the CLK frequency decreases 2-3 times. The dependency was never established. On the initially new module, the pin toggling frequency is about 500 Hz (it suits us). Somethi…

---

## [Getting NI value from RemoteDevice](https://forums.digi.com/t/getting-ni-value-from-remotedevice/22042)

<div class="topic-metadata">

**Author:** [@DKuchen](https://forums.digi.com/u/DKuchen)\
**Replies:** 3\
**Last updated:** [December 9, 2020, 12:33pm UTC](https://forums.digi.com/t/getting-ni-value-from-remotedevice/22042 "2020-12-09T12:33:44Z")

</div>

For my setup I am running Micropython on XBee3 Zigbee modules acting as routers, my controller is using the Python API. I am only able to get the NI parameter from a remote xbee after performing a network\_discovery from…

---

## [Issue with Xbee3 digimesh polling method](https://forums.digi.com/t/issue-with-xbee3-digimesh-polling-method/22041)

<div class="topic-metadata">

**Author:** [@ANOM](https://forums.digi.com/u/ANOM)\
**Replies:** 1\
**Last updated:** [December 8, 2020, 8:10am UTC](https://forums.digi.com/t/issue-with-xbee3-digimesh-polling-method/22041 "2020-12-08T08:10:11Z")

</div>

We are currently working with Digi Xbee3 micro module Digimesh 2.4 Firmware version : 300B We are working on Synchronous Sleep network with 100 devices with 10 hops. All end devices are battery powered. Earlier we wer…

---

## [How to correct the following error?](https://forums.digi.com/t/how-to-correct-the-following-error/21433)

<div class="topic-metadata">

**Author:** [@AliceNr](https://forums.digi.com/u/AliceNr)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 11:24am UTC](https://forums.digi.com/t/how-to-correct-the-following-error/21433 "2020-06-05T11:24:54Z")

</div>

IntegrityError Traceback (most recent call last) in 489 490 if name == ‘main’: –\> 491 main() in main() 359 ACTOR\_5 = (5, ‘fname5’, ‘lname5’, ‘male’) 360 # insert\_ACT…

---

## [Control remote Xbee AT from local Micropython script](https://forums.digi.com/t/control-remote-xbee-at-from-local-micropython-script/20817)

<div class="topic-metadata">

**Author:** [@tadSignal](https://forums.digi.com/u/tadSignal)\
**Replies:** 1\
**Last updated:** [June 2, 2020, 12:04pm UTC](https://forums.digi.com/t/control-remote-xbee-at-from-local-micropython-script/20817 "2020-06-02T12:04:40Z")

</div>

I am proficient in C, but newish to Python. I’ve been reading documentation and searching everywhere for how to do something that ought to be very basic. I have five Xbee3 modules. I have bi-colour LED’s on four of them…

---

## [How do you disable control characters from unintentionally calling certain REPL commands?](https://forums.digi.com/t/how-do-you-disable-control-characters-from-unintentionally-calling-certain-repl-commands/21327)

<div class="topic-metadata">

**Author:** [@samson49](https://forums.digi.com/u/samson49)\
**Replies:** 5\
**Last updated:** [May 1, 2020, 9:33am UTC](https://forums.digi.com/t/how-do-you-disable-control-characters-from-unintentionally-calling-certain-repl-commands/21327 "2020-05-01T09:33:08Z")

</div>

Hello all, I’m stumped on how one would keep the REPL on an XBee3 LTE-M modem from unintentionally going into “Paste” mode or other mode when receiving raw data via the UART. I’m reading in data from the UART using “std…

---

## [What could prevent AI from leaving 0xFF](https://forums.digi.com/t/what-could-prevent-ai-from-leaving-0xff/21324)

<div class="topic-metadata">

**Author:** [@vitorboschi](https://forums.digi.com/u/vitorboschi)\
**Replies:** 3\
**Last updated:** [April 30, 2020, 1:28pm UTC](https://forums.digi.com/t/what-could-prevent-ai-from-leaving-0xff/21324 "2020-04-30T13:28:15Z")

</div>

I’ve got a XBee device to connect to a network normally, then I set DJ to 0x01, request the device to leave (NR) the network, issue a scan (AS), then configure it to join one of the networks found by setting ID, SC, ZS …

---

## [Can I convert a XBee64BitAddress object of the xbee python library to a string?](https://forums.digi.com/t/can-i-convert-a-xbee64bitaddress-object-of-the-xbee-python-library-to-a-string/21314)

<div class="topic-metadata">

**Author:** [@pablovi96](https://forums.digi.com/u/pablovi96)\
**Replies:** 3\
**Last updated:** [April 27, 2020, 5:52am UTC](https://forums.digi.com/t/can-i-convert-a-xbee64bitaddress-object-of-the-xbee-python-library-to-a-string/21314 "2020-04-27T05:52:33Z")

</div>

Hi, Im recollecting the mac addresses of my zigbee network whit a python program. The problem I have is that the addresses I get are a XBee64BitAddress object and I want them to be strings. is there anyway to convert XB…

---

## [Where is this file examples/io/RemoteADCSample?](https://forums.digi.com/t/where-is-this-file-examples-io-remoteadcsample/20909)

<div class="topic-metadata">

**Author:** [@adarsh](https://forums.digi.com/u/adarsh)\
**Replies:** 1\
**Last updated:** [November 19, 2019, 11:14am UTC](https://forums.digi.com/t/where-is-this-file-examples-io-remoteadcsample/20909 "2019-11-19T11:14:17Z")

</div>

While reading how to use the digi-xbee library, i was reading how to get analog data from remote modules. It mentions the following lines several times: You can locate the example in the following path: examples/io/Rem…

---

## [debug python server](https://forums.digi.com/t/debug-python-server/20467)

<div class="topic-metadata">

**Author:** [@samar](https://forums.digi.com/u/samar)\
**Replies:** 1\
**Last updated:** [October 24, 2019, 10:00am UTC](https://forums.digi.com/t/debug-python-server/20467 "2019-10-24T10:00:42Z")

</div>

i want to debug python script on digi gateway in digi esp for python ide, but i am facing trouble when i go for run configuration the its showing on console like this "BusyBox v1.20.2 (2018-01-03 17:13:19 CET) built-in s…

---

## [Basic task - read pins locally, write pins remotely](https://forums.digi.com/t/basic-task-read-pins-locally-write-pins-remotely/20815)

<div class="topic-metadata">

**Author:** [@tadSignal](https://forums.digi.com/u/tadSignal)\
**Replies:** 0\
**Last updated:** [October 9, 2019, 10:17am UTC](https://forums.digi.com/t/basic-task-read-pins-locally-write-pins-remotely/20815 "2019-10-09T10:17:13Z")

</div>

I am proficient in C, but newish to Python. I’ve been reading documentation and searching everywhere for how to do something that ought to be very basic. I have five Xbee3 modules. I have bi-colour LED’s on four of them…

---

## [Receiving error "raise InalidOperatingModeException("Could not determine operating mode")](https://forums.digi.com/t/receiving-error-raise-inalidoperatingmodeexception-could-not-determine-operating-mode/20124)

<div class="topic-metadata">

**Author:** [@brandon1357](https://forums.digi.com/u/brandon1357)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 3:15pm UTC](https://forums.digi.com/t/receiving-error-raise-inalidoperatingmodeexception-could-not-determine-operating-mode/20124 "2019-09-12T15:15:05Z")

</div>

I am using the Digi Xbee-Pro 900HP modules to send information from a Raspberry Pi using Serial and GPIO. When using my python send script, the script works some of the time but other times it’ll give out the error “rais…

---

## [XBee PRO S3B stops responding and starts to responds when connected to laptop](https://forums.digi.com/t/xbee-pro-s3b-stops-responding-and-starts-to-responds-when-connected-to-laptop/20608)

<div class="topic-metadata">

**Author:** [@Mona](https://forums.digi.com/u/Mona)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 8:20am UTC](https://forums.digi.com/t/xbee-pro-s3b-stops-responding-and-starts-to-responds-when-connected-to-laptop/20608 "2019-07-09T08:20:08Z")

</div>

I am using 2x XBee PRO S3B to communicate back and forth. Both the XBees are connected to Raspberry Pi 3B+ development board through which I am able to program sending and reception of messages and monitor them. I am mon…

---

## [How could I get received signal strength from a Zigbee using python?](https://forums.digi.com/t/how-could-i-get-received-signal-strength-from-a-zigbee-using-python/20621)

<div class="topic-metadata">

**Author:** [@vaporingspace](https://forums.digi.com/u/vaporingspace)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 8:15am UTC](https://forums.digi.com/t/how-could-i-get-received-signal-strength-from-a-zigbee-using-python/20621 "2019-07-09T08:15:49Z")

</div>

I have looked around the internet and found old codes that do not seem to work anymore with the xbee library. This might be an oblivious question but I cannot seem to figure it out.

---

## [Why does XBee local AIO stop my program from running on the device?](https://forums.digi.com/t/why-does-xbee-local-aio-stop-my-program-from-running-on-the-device/20522)

<div class="topic-metadata">

**Author:** [@sndo9](https://forums.digi.com/u/sndo9)\
**Replies:** 0\
**Last updated:** [May 24, 2019, 3:21pm UTC](https://forums.digi.com/t/why-does-xbee-local-aio-stop-my-program-from-running-on-the-device/20522 "2019-05-24T15:21:55Z")

</div>

I have a second hand ConnectPort 4X H that I have acquired and I am trying to interface a 4-20mA sensor with it. I have been going through the sample programs and am having trouble getting anything with analog input to r…

---

## [How to use the python library ??](https://forums.digi.com/t/how-to-use-the-python-library/20412)

<div class="topic-metadata">

**Author:** [@adabull](https://forums.digi.com/u/adabull)\
**Replies:** 0\
**Last updated:** [April 15, 2019, 4:45pm UTC](https://forums.digi.com/t/how-to-use-the-python-library/20412 "2019-04-15T16:45:54Z")

</div>

Hello, I’m trying to use the digidotcom/python-xbee library. I use S2C (raw) and i can send data using simple example (github examples) by broadcasting. I would like to use more of the library and also extract the RSS…

---

## [Difference between the Python Libraries online](https://forums.digi.com/t/difference-between-the-python-libraries-online/20310)

<div class="topic-metadata">

**Author:** [@tanayrastogi](https://forums.digi.com/u/tanayrastogi)\
**Replies:** 2\
**Last updated:** [March 5, 2019, 4:24pm UTC](https://forums.digi.com/t/difference-between-the-python-libraries-online/20310 "2019-03-05T16:24:23Z")

</div>

On some searching online, I found that there are two different libraries for Python for the XBee. Xbee Python Library https://github.com/digidotcom/python-xbee This seems to be official as it is released by the Digi. …

---

## [Coordinator cannot find End\_Device during Network Discovery](https://forums.digi.com/t/coordinator-cannot-find-end-device-during-network-discovery/20315)

<div class="topic-metadata">

**Author:** [@tanayrastogi](https://forums.digi.com/u/tanayrastogi)\
**Replies:** 0\
**Last updated:** [March 5, 2019, 4:22pm UTC](https://forums.digi.com/t/coordinator-cannot-find-end-device-during-network-discovery/20315 "2019-03-05T16:22:47Z")

</div>

Currently, I am running XBee3 International Mesh Kit and tried following the given example in the documentation. https://www.digi.com/resources/documentation/Digidocs/90001942-13/?utm\_source=packaging&amp;utm\_medium=ins…

---

## [Xbee pythong library problems](https://forums.digi.com/t/xbee-pythong-library-problems/20308)

<div class="topic-metadata">

**Author:** [@K0ng](https://forums.digi.com/u/K0ng)\
**Replies:** 0\
**Last updated:** [March 4, 2019, 10:32am UTC](https://forums.digi.com/t/xbee-pythong-library-problems/20308 "2019-03-04T10:32:57Z")

</div>

Hello to you all, i hope your well and this reaches you well. I have been racking my brains with this, and would be gratful for any assistance please. The poblem i am experiancing is when polling for data with a tempra…

---

## [XBee-PRO ZB (S2C) TH - InvalidOperatingModeException: Could not determine operating mode](https://forums.digi.com/t/xbee-pro-zb-s2c-th-invalidoperatingmodeexception-could-not-determine-operating-mode/20294)

<div class="topic-metadata">

**Author:** [@lobo](https://forums.digi.com/u/lobo)\
**Replies:** 0\
**Last updated:** [March 1, 2019, 11:14am UTC](https://forums.digi.com/t/xbee-pro-zb-s2c-th-invalidoperatingmodeexception-could-not-determine-operating-mode/20294 "2019-03-01T11:14:20Z")

</div>

Hi all, I have conncted a Digi XBee-PRO ZB (S2C) TH to my desktop. If try to connect to the device with the following code I get the following error: from digi.xbee.devices import ZigBeeDevice PORT = "/dev/ttyUSB0" …

---

## [Python XBee Library Can't Read Properties after a Packet Receipt](https://forums.digi.com/t/python-xbee-library-cant-read-properties-after-a-packet-receipt/20186)

<div class="topic-metadata">

**Author:** [@relay-jake](https://forums.digi.com/u/relay-jake)\
**Replies:** 1\
**Last updated:** [January 29, 2019, 2:40pm UTC](https://forums.digi.com/t/python-xbee-library-cant-read-properties-after-a-packet-receipt/20186 "2019-01-29T14:40:43Z")

</div>

Tried posting this yesterday, but I guess it didn’t post or something. Anyway I’m trying to read properties out of an S3B module using the digi-xbee python library and it works if I call it right after instantiation, bu…

[Next page](https://forums.digi.com/tag/python-xbee/5.md?match_all_tags=true&page=1&tags%5B%5D=python-xbee)
