# \#python

**URL:** https://forums.digi.com/tag/python/3.md

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

---

## [Python Configuration file](https://forums.digi.com/t/python-configuration-file/19562)

<div class="topic-metadata">

**Author:** [@cainxalakev](https://forums.digi.com/u/cainxalakev)\
**Replies:** 9\
**Last updated:** [July 2, 2026, 10:09am UTC](https://forums.digi.com/t/python-configuration-file/19562 "2026-07-02T10:09:32Z")

</div>

Hi! I’m trying to get the python configuration source code from the python page of the web app and I’m not sure how to do it. Any help would be greatly appreciated.

---

## [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…

---

## [How can we modify the Zigbee Network Layer which contains Frame Type and other details, currently there seems to be no method in digi-xbee module to do so](https://forums.digi.com/t/how-can-we-modify-the-zigbee-network-layer-which-contains-frame-type-and-other-details-currently-there-seems-to-be-no-method-in-digi-xbee-module-to-do-so/31917)

<div class="topic-metadata">

**Author:** [@Bhaskar908](https://forums.digi.com/u/Bhaskar908)\
**Replies:** 13\
**Last updated:** [September 16, 2024, 12:48pm UTC](https://forums.digi.com/t/how-can-we-modify-the-zigbee-network-layer-which-contains-frame-type-and-other-details-currently-there-seems-to-be-no-method-in-digi-xbee-module-to-do-so/31917 "2024-09-16T12:48:43Z")

</div>

Frame 542: 63 bytes on wire (504 bits), 63 bytes captured (504 bits) on interface ZigBee/0/22, id 0 IEEE 802.15.4 Data, Dst: 0xa271, Src: 0x0000 ZigBee Network Layer Data, Dst: 0xa271, Src: 0x0000 Frame Control Field:…

---

## [Update the PyPI version of the digi-xbee library](https://forums.digi.com/t/update-the-pypi-version-of-the-digi-xbee-library/31862)

<div class="topic-metadata">

**Author:** [@Common4885](https://forums.digi.com/u/Common4885)\
**Replies:** 4\
**Last updated:** [August 12, 2024, 4:27pm UTC](https://forums.digi.com/t/update-the-pypi-version-of-the-digi-xbee-library/31862 "2024-08-12T16:27:20Z")

</div>

Hello! I noticed that the digi-xbee library on PyPI is still using 1.4.1 as it’s default version, and on the github releases this is listed as the most recent version. That version was pushed in 2021, and there have sin…

---

## [Read in and save API packets via python](https://forums.digi.com/t/read-in-and-save-api-packets-via-python/31478)

<div class="topic-metadata">

**Author:** [@lukeod](https://forums.digi.com/u/lukeod)\
**Replies:** 5\
**Last updated:** [June 30, 2024, 7:06pm UTC](https://forums.digi.com/t/read-in-and-save-api-packets-via-python/31478 "2024-06-30T19:06:55Z")

</div>

Hi I have two digi xbee 3s. One a coordinator, connected to laptop via USB and the second set up as a remote sensor - it has a potentiometer on it and sends to value to the coordinator. They can communicate via 2.4GHz R…

---

## [How do I send images over xbee and how fast can be the transmission rate?](https://forums.digi.com/t/how-do-i-send-images-over-xbee-and-how-fast-can-be-the-transmission-rate/11811)

<div class="topic-metadata">

**Author:** [@purnima](https://forums.digi.com/u/purnima)\
**Replies:** 6\
**Last updated:** [March 29, 2024, 9:38am UTC](https://forums.digi.com/t/how-do-i-send-images-over-xbee-and-how-fast-can-be-the-transmission-rate/11811 "2024-03-29T09:38:28Z")

</div>

I am new to xbee .I am trying to send images over an xbee S2 series. All i have done is open the jpeg image of size 8 KB in binary mode and obtain data from it. I have tried to send the whole data at once through xbee wi…

---

## [How to get ADC value in python from 6ul-start kit](https://forums.digi.com/t/how-to-get-adc-value-in-python-from-6ul-start-kit/22540)

<div class="topic-metadata">

**Author:** [@WaveSim](https://forums.digi.com/u/WaveSim)\
**Replies:** 1\
**Last updated:** [March 13, 2024, 1:23pm UTC](https://forums.digi.com/t/how-to-get-adc-value-in-python-from-6ul-start-kit/22540 "2024-03-13T13:23:59Z")

</div>

Hi guys, Deeply thanks for your support always. I am trying to set my 6ul-start board for my data logger project. And done almost all functions for it including uarts, sd, USB etc. however, I am confused getting ADC …

---

## [Extracting timestamp from xbee3 device](https://forums.digi.com/t/extracting-timestamp-from-xbee3-device/29469)

<div class="topic-metadata">

**Author:** [@Ayaz](https://forums.digi.com/u/Ayaz)\
**Replies:** 1\
**Last updated:** [January 30, 2024, 1:07pm UTC](https://forums.digi.com/t/extracting-timestamp-from-xbee3-device/29469 "2024-01-30T13:07:08Z")

</div>

Device: Digi xbee3 mesh kit (Firmware: 802.15.4, 200D). Is there a way to read time stamp from xbee3 device of API frame sent/receive ? I am able to extract the timestamp of a receive message def my\_data\_received\_call…

---

## [Help with Python classes](https://forums.digi.com/t/help-with-python-classes/23281)

<div class="topic-metadata">

**Author:** [@jacques.nel](https://forums.digi.com/u/jacques.nel)\
**Replies:** 6\
**Last updated:** [December 5, 2023, 7:23am UTC](https://forums.digi.com/t/help-with-python-classes/23281 "2023-12-05T07:23:58Z")

</div>

I want to call a method of class A, from class B; but I get an error which I do ot understand. Can anyone help me resolve my issue? Here’s my code and error: class Environment: def init(self,state): self.loc1\_ = ‘A’ …

---

## [Is it possible to update the Python version on ConnectPort X4?](https://forums.digi.com/t/is-it-possible-to-update-the-python-version-on-connectport-x4/28233)

<div class="topic-metadata">

**Author:** [@niltont](https://forums.digi.com/u/niltont)\
**Replies:** 1\
**Last updated:** [November 1, 2023, 12:06pm UTC](https://forums.digi.com/t/is-it-possible-to-update-the-python-version-on-connectport-x4/28233 "2023-11-01T12:06:29Z")

</div>

We have large number of ConnectPort X4 devices in operation running our Python code and we are exploring the possibility of connecting them to AWS IoT Core. In addition to TLS 1.2, the AWS IoT SDK requires at least Pytho…

---

## [How to modify python script to append data on file using sql server 2019?](https://forums.digi.com/t/how-to-modify-python-script-to-append-data-on-file-using-sql-server-2019/23175)

<div class="topic-metadata">

**Author:** [@ahmedbarbary](https://forums.digi.com/u/ahmedbarbary)\
**Replies:** 2\
**Last updated:** [September 29, 2023, 12:12pm UTC](https://forums.digi.com/t/how-to-modify-python-script-to-append-data-on-file-using-sql-server-2019/23175 "2023-09-29T12:12:24Z")

</div>

I need to append data to excel file already exist from table students on SQL Server . So I need to append data when dbo.fn\_FileExists(@FullFilePath)=1 Excel file already Created on D:\\ExportExcel\\dbo.students.xlsx with…

---

## [inserting data into mysql](https://forums.digi.com/t/inserting-data-into-mysql/23161)

<div class="topic-metadata">

**Author:** [@matyodesign](https://forums.digi.com/u/matyodesign)\
**Replies:** 1\
**Last updated:** [September 29, 2023, 11:52am UTC](https://forums.digi.com/t/inserting-data-into-mysql/23161 "2023-09-29T11:52:15Z")

</div>

Hi, I’m having an issue trying to do an insert into mysql from Digi HP900 RF modem. I can grad the data from the device but it won’t read the data correctly to do the insert. Does anyone see any issues with this syntax h…

---

## [Python Programming Language](https://forums.digi.com/t/python-programming-language/22550)

<div class="topic-metadata">

**Author:** [@Md\_Ashraf\_Rahi](https://forums.digi.com/u/Md_Ashraf_Rahi)\
**Replies:** 5\
**Last updated:** [September 1, 2023, 4:15pm UTC](https://forums.digi.com/t/python-programming-language/22550 "2023-09-01T16:15:00Z")

</div>

What do you mean by Python literals?

---

## [Reading the parameter VR (Firmware Version) returns incorrect value](https://forums.digi.com/t/reading-the-parameter-vr-firmware-version-returns-incorrect-value/26962)

<div class="topic-metadata">

**Author:** [@esimioni](https://forums.digi.com/u/esimioni)\
**Replies:** 2\
**Last updated:** [August 14, 2023, 10:08pm UTC](https://forums.digi.com/t/reading-the-parameter-vr-firmware-version-returns-incorrect-value/26962 "2023-08-14T22:08:30Z")

</div>

On an XB3-24 via MicroPython xbee.atcmd('VR') is returning 4114, but the correct firmware version is 1012. In XCTU the correct value is shown. Should I do some math with the value?

---

## [Unable to comprehend the message received by XBee Pro Sx](https://forums.digi.com/t/unable-to-comprehend-the-message-received-by-xbee-pro-sx/26683)

<div class="topic-metadata">

**Author:** [@joeyheo](https://forums.digi.com/u/joeyheo)\
**Replies:** 1\
**Last updated:** [July 27, 2023, 6:17pm UTC](https://forums.digi.com/t/unable-to-comprehend-the-message-received-by-xbee-pro-sx/26683 "2023-07-27T18:17:20Z")

</div>

We have been testing our XBee Pro SX Modules for communication and we were looking to connect two and retrieve some useful data. In order to accomplish this goal, we attempted on using the xbee-python library provided by…

---

## [Importing status network device statistics using curl commands](https://forums.digi.com/t/importing-status-network-device-statistics-using-curl-commands/23361)

<div class="topic-metadata">

**Author:** [@Ewig](https://forums.digi.com/u/Ewig)\
**Replies:** 4\
**Last updated:** [February 15, 2023, 12:26am UTC](https://forums.digi.com/t/importing-status-network-device-statistics-using-curl-commands/23361 "2023-02-15T00:26:16Z")

</div>

Hello. I am trying to make a curl request using a python script and get the metrics and other common data from a IX10 router. The documentation only shows ow to do this but with the configuration options of the device, w…

---

## [How to read Basic information (Model, Manufacturer) of Home Automation compliant devices](https://forums.digi.com/t/how-to-read-basic-information-model-manufacturer-of-home-automation-compliant-devices/23272)

<div class="topic-metadata">

**Author:** [@ahsan69](https://forums.digi.com/u/ahsan69)\
**Replies:** 2\
**Last updated:** [November 1, 2022, 2:47pm UTC](https://forums.digi.com/t/how-to-read-basic-information-model-manufacturer-of-home-automation-compliant-devices/23272 "2022-11-01T14:47:07Z")

</div>

Hi! With XbeeUSB3, how to communicate with ZHA(Home automation) compliant devices with xbee python library. Having Coordinator setup (CE:1, ZS:2, AP:2), I am able to discover the devices as RemoteZigBeeDevice. But canno…

---

## [How to discover/pair ZHA compliant Zigbee devices with Xbee python library](https://forums.digi.com/t/how-to-discover-pair-zha-compliant-zigbee-devices-with-xbee-python-library/23267)

<div class="topic-metadata">

**Author:** [@ahsan69](https://forums.digi.com/u/ahsan69)\
**Replies:** 2\
**Last updated:** [October 31, 2022, 9:04am UTC](https://forums.digi.com/t/how-to-discover-pair-zha-compliant-zigbee-devices-with-xbee-python-library/23267 "2022-10-31T09:04:13Z")

</div>

I have Xbee3USB which is setup as Coordinator (AP: 2, CE: 1, AO: 3/E, ZS: 2 with XCTU tool). In XCTU network mode, if “Scan” is pressed and ZHA compliant endpoint devices(i.e IKEA Tradfri light, Plug, Remote Control) are…

---

## [connectport x2 upload file](https://forums.digi.com/t/connectport-x2-upload-file/23211)

<div class="topic-metadata">

**Author:** [@dmonroy](https://forums.digi.com/u/dmonroy)\
**Replies:** 5\
**Last updated:** [September 29, 2022, 8:45am UTC](https://forums.digi.com/t/connectport-x2-upload-file/23211 "2022-09-29T08:45:51Z")

</div>

Hello all, I would like yo know if there is any possibility to upload a file to /WEB/python without the connectprog.exe application? Is there any kind of REST service so I can POST the file? Many thanks!

---

## [PROBLEMA TESIS](https://forums.digi.com/t/problema-tesis/23216)

<div class="topic-metadata">

**Author:** [@FD22](https://forums.digi.com/u/FD22)\
**Replies:** 0\
**Last updated:** [September 2, 2022, 9:02am UTC](https://forums.digi.com/t/problema-tesis/23216 "2022-09-02T09:02:03Z")

</div>

Good evening, I have bought 3 Xbee S2C modules with which I am doing my thesis. The problem is that sometimes it sends me the information and sometimes it does not, it is as if they lost communications between them. I n…

---

## [Is the Digicanbus module available for the WVA ?](https://forums.digi.com/t/is-the-digicanbus-module-available-for-the-wva/23112)

<div class="topic-metadata">

**Author:** [@McRitchi](https://forums.digi.com/u/McRitchi)\
**Replies:** 1\
**Last updated:** [August 16, 2022, 4:43pm UTC](https://forums.digi.com/t/is-the-digicanbus-module-available-for-the-wva/23112 "2022-08-16T16:43:46Z")

</div>

Hi everyone, I am currently trying to send a J1939 message with my WVA device to other ECUs on my can bus. And the digicanbus module happen to have a “send(…)” function that, at first sight, would perfectly fulfilled m…

---

## [How can I change my xbee setup for AP = 0 from API mode (AP = 1 or AP =2) by using digi module in python ?](https://forums.digi.com/t/how-can-i-change-my-xbee-setup-for-ap-0-from-api-mode-ap-1-or-ap-2-by-using-digi-module-in-python/23168)

<div class="topic-metadata">

**Author:** [@Kyle\_case](https://forums.digi.com/u/Kyle_case)\
**Replies:** 4\
**Last updated:** [July 26, 2022, 3:30pm UTC](https://forums.digi.com/t/how-can-i-change-my-xbee-setup-for-ap-0-from-api-mode-ap-1-or-ap-2-by-using-digi-module-in-python/23168 "2022-07-26T15:30:54Z")

</div>

I am using XBee PRO S3B for wireless radio communication. Currently I am configuring it by XCTU, however, sometimes I need to reset or re configure with non graphical interface. Using digi module with python seemed goo…

---

## [SCI callbacks suddenly deregistered](https://forums.digi.com/t/sci-callbacks-suddenly-deregistered/23162)

<div class="topic-metadata">

**Author:** [@gespinoza](https://forums.digi.com/u/gespinoza)\
**Replies:** 1\
**Last updated:** [July 22, 2022, 3:46pm UTC](https://forums.digi.com/t/sci-callbacks-suddenly-deregistered/23162 "2022-07-22T15:46:21Z")

</div>

I’m using callbacks for 2 programs in a Digi IX14 device. They suddenly stop working, I mean they work for a while, but at a random basis they stop working, when I make SCI requests from Digi Remote suddenly they are no…

---

## [How to send AT command to zigbee device using Python](https://forums.digi.com/t/how-to-send-at-command-to-zigbee-device-using-python/22311)

<div class="topic-metadata">

**Author:** [@sp\_trainee\_31](https://forums.digi.com/u/sp_trainee_31)\
**Replies:** 3\
**Last updated:** [July 3, 2022, 9:46am UTC](https://forums.digi.com/t/how-to-send-at-command-to-zigbee-device-using-python/22311 "2022-07-03T09:46:46Z")

</div>

Hi, I’m completely new to Python programming and I’d appreciate any assistance and advices given. I’m currently working on Zigbee device where I need to send a request command to get the result back. I have a python cod…

---

## [Digi pycharm plugin can't find build path when running](https://forums.digi.com/t/digi-pycharm-plugin-cant-find-build-path-when-running/23037)

<div class="topic-metadata">

**Author:** [@lsena](https://forums.digi.com/u/lsena)\
**Replies:** 1\
**Last updated:** [April 8, 2022, 1:31pm UTC](https://forums.digi.com/t/digi-pycharm-plugin-cant-find-build-path-when-running/23037 "2022-04-08T13:31:51Z")

</div>

Whenever I try uploading my fw to the xbee, I get this error: Flashing file /build/projectName/something.mpy (1/14)… \[ERROR\] Error transferring file ‘$PROJECT\_PATH\\build\\projectName\\something.mpy’: ENOENT does not exist…

---

## [Error while performing OTA update](https://forums.digi.com/t/error-while-performing-ota-update/22983)

<div class="topic-metadata">

**Author:** [@Ceranthor](https://forums.digi.com/u/Ceranthor)\
**Replies:** 11\
**Last updated:** [April 7, 2022, 9:06am UTC](https://forums.digi.com/t/error-while-performing-ota-update/22983 "2022-04-07T09:06:22Z")

</div>

I want to perform OTA update micropython program to my digimesh devices. I generate public and private keys and put public keys to remote devices and i created on one of them fs.ota file (i used generated private key). I…

---

## [\[WR31\] Use the serial port from within python](https://forums.digi.com/t/wr31-use-the-serial-port-from-within-python/23004)

<div class="topic-metadata">

**Author:** [@janztec](https://forums.digi.com/u/janztec)\
**Replies:** 1\
**Last updated:** [March 16, 2022, 3:33am UTC](https://forums.digi.com/t/wr31-use-the-serial-port-from-within-python/23004 "2022-03-16T03:33:40Z")

</div>

Hello, I want to utilize the serial port of the Digi WR31 from within Python. Is that possible? Pyserial is not listed as one of the supported python packages.

---

## [How to receive io samples from one specific node on a network?](https://forums.digi.com/t/how-to-receive-io-samples-from-one-specific-node-on-a-network/22970)

<div class="topic-metadata">

**Author:** [@Zgarnes](https://forums.digi.com/u/Zgarnes)\
**Replies:** 1\
**Last updated:** [February 28, 2022, 1:42pm UTC](https://forums.digi.com/t/how-to-receive-io-samples-from-one-specific-node-on-a-network/22970 "2022-02-28T13:42:20Z")

</div>

Currently, I am working on a project that has four sensor nodes with Zigbee Modules - 802.15.4 XBee, S2C hooked up to geophones sensors. My python code uses the add\_io\_sample\_received\_callback function and can receive al…

---

## [The input arrays have incompatible shapes.](https://forums.digi.com/t/the-input-arrays-have-incompatible-shapes/22969)

<div class="topic-metadata">

**Author:** [@mandm](https://forums.digi.com/u/mandm)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 9:29am UTC](https://forums.digi.com/t/the-input-arrays-have-incompatible-shapes/22969 "2022-02-25T09:29:28Z")

</div>

import numpy as np import matplotlib.pyplot as plt import scipy.signal as sig Parameters defining the system c = 4 # Damping constant k = 2 # Stiffness of the spring m = 20 # Mass F = 5 # Force Ft = np.ones(610)\*F …

---

## [Xbee 3.0 Digimesh IR Receiver.](https://forums.digi.com/t/xbee-3-0-digimesh-ir-receiver/22958)

<div class="topic-metadata">

**Author:** [@Ceranthor](https://forums.digi.com/u/Ceranthor)\
**Replies:** 3\
**Last updated:** [February 20, 2022, 8:09pm UTC](https://forums.digi.com/t/xbee-3-0-digimesh-ir-receiver/22958 "2022-02-20T20:09:24Z")

</div>

Hi, in my application i need to connect xbee 3.0 with digimesh on board with IR Receiver VS1838B. When IR signal is receiver digimesh need to send a message to central. I do not know which IR library use or is there no p…

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