# \#digi-esp-for-python

**URL:** https://forums.digi.com/tag/digi-esp-for-python/462.md

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

---

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

---

## [Ploting graphics about the data read in XCTU (receive packet)](https://forums.digi.com/t/ploting-graphics-about-the-data-read-in-xctu-receive-packet/19620)

<div class="topic-metadata">

**Author:** [@Enzo](https://forums.digi.com/u/Enzo)\
**Replies:** 5\
**Last updated:** [April 22, 2019, 9:20am UTC](https://forums.digi.com/t/ploting-graphics-about-the-data-read-in-xctu-receive-packet/19620 "2019-04-22T09:20:13Z")

</div>

I´m reading some data of water flow (L/min) from a remote sensor in my xbee pro s2c (coordinator) and I can see the data frame in the XCTU (one reading per second). But instead of clicking in the serial port, I want to …

---

## [Can't connect xbees with ConnectPortX4IA via modbus](https://forums.digi.com/t/cant-connect-xbees-with-connectportx4ia-via-modbus/19217)

<div class="topic-metadata">

**Author:** [@Sadafaga35](https://forums.digi.com/u/Sadafaga35)\
**Replies:** 0\
**Last updated:** [February 23, 2018, 9:24am UTC](https://forums.digi.com/t/cant-connect-xbees-with-connectportx4ia-via-modbus/19217 "2018-02-23T09:24:57Z")

</div>

Hello! I’m trying to send frame from a DIGI XBEE®SX 868 DEVELOPMENT KIT to a ConnectPort X4IA. Of course, the xbees are configurated like Standars Router in API mode, and the ConnectPort like a Coordinator. All this ste…

---

## [not able to upload a file.py](https://forums.digi.com/t/not-able-to-upload-a-file-py/17474)

<div class="topic-metadata">

**Author:** [@digifo](https://forums.digi.com/u/digifo)\
**Replies:** 7\
**Last updated:** [October 3, 2016, 9:00am UTC](https://forums.digi.com/t/not-able-to-upload-a-file-py/17474 "2016-10-03T09:00:48Z")

</div>

Hello, I’m having some difficulties to upload a python file to the digi W31-l21a in the browser i have application\>python\>python files and then “Module search path:” where i put the path for the file “home/nathanforce/…

---

## [Digi ESP is omitting some Python modules](https://forums.digi.com/t/digi-esp-is-omitting-some-python-modules/17339)

<div class="topic-metadata">

**Author:** [@markfsidell](https://forums.digi.com/u/markfsidell)\
**Replies:** 0\
**Last updated:** [September 3, 2016, 9:51pm UTC](https://forums.digi.com/t/digi-esp-is-omitting-some-python-modules/17339 "2016-09-03T21:51:21Z")

</div>

When I build my Python project in Digi ESP, the resulting \_.zip omits certain modules from a Python library included in my project. The builder appears to include only the code actually referenced in my project, which is…

---

## [Digi ongoing support for ESP](https://forums.digi.com/t/digi-ongoing-support-for-esp/16279)

<div class="topic-metadata">

**Author:** [@stirlsilver](https://forums.digi.com/u/stirlsilver)\
**Replies:** 1\
**Last updated:** [April 8, 2016, 6:54pm UTC](https://forums.digi.com/t/digi-ongoing-support-for-esp/16279 "2016-04-08T18:54:16Z")

</div>

I am aware that Digi is currently undergoing a number of changes. A couple of years ago I found the progress of getting started with the ConnectPort range of products quite easy with plenty of documentation. I’m now nee…

---

## [Script runs fine within Digi ESP, but keeps restarting when set to auto-start](https://forums.digi.com/t/script-runs-fine-within-digi-esp-but-keeps-restarting-when-set-to-auto-start/16463)

<div class="topic-metadata">

**Author:** [@ccakmak](https://forums.digi.com/u/ccakmak)\
**Replies:** 2\
**Last updated:** [March 21, 2016, 3:55pm UTC](https://forums.digi.com/t/script-runs-fine-within-digi-esp-but-keeps-restarting-when-set-to-auto-start/16463 "2016-03-21T15:55:53Z")

</div>

Hi, My Python code runs fine within the Digi ESP as a “Remote Digi Python Application” on my current device ConnectPort X2D, but when the same script is run by the ConnectPort’s Auto-Start feature (with “Action On Exit”…

---

## [Extracting bit values into DIA channels from a MODBUS value](https://forums.digi.com/t/extracting-bit-values-into-dia-channels-from-a-modbus-value/16286)

<div class="topic-metadata">

**Author:** [@stirlsilver](https://forums.digi.com/u/stirlsilver)\
**Replies:** 2\
**Last updated:** [February 25, 2016, 10:03pm UTC](https://forums.digi.com/t/extracting-bit-values-into-dia-channels-from-a-modbus-value/16286 "2016-02-25T22:03:45Z")

</div>

Hi, I am currently trying to create a DIA project which grabs MODBUS data and pushes it onto DeviceCloud. I’ve been able to successfully read all analogue values (16 bit integers) and push them to the cloud without a pr…

---

## [How do I get Device ID from DIA?](https://forums.digi.com/t/how-do-i-get-device-id-from-dia/15406)

<div class="topic-metadata">

**Author:** [@rigers](https://forums.digi.com/u/rigers)\
**Replies:** 1\
**Last updated:** [September 16, 2015, 11:58am UTC](https://forums.digi.com/t/how-do-i-get-device-id-from-dia/15406 "2015-09-16T11:58:47Z")

</div>

Hello, I have created a custom device on a DIA project similar to existing devices in structure. I want to be able to read the device id of the Xbee Gateway. How do I do that? Thanks!

---

## [Type Error: PyModule\_AddObject() needs module as first arg](https://forums.digi.com/t/type-error-pymodule-addobject-needs-module-as-first-arg/15356)

<div class="topic-metadata">

**Author:** [@terenceh](https://forums.digi.com/u/terenceh)\
**Replies:** 0\
**Last updated:** [September 2, 2015, 11:14pm UTC](https://forums.digi.com/t/type-error-pymodule-addobject-needs-module-as-first-arg/15356 "2015-09-02T23:14:35Z")

</div>

Hi all, I am trying to get started with writing programs for the XBee Gateway, but my hello\_world project won’t build and I get the error : Type Error executing script: TypeError: PyModule\_AddObject() needs module as f…

---

## [the application changes  the sensor config](https://forums.digi.com/t/the-application-changes-the-sensor-config/14657)

<div class="topic-metadata">

**Author:** [@muffa](https://forums.digi.com/u/muffa)\
**Replies:** 1\
**Last updated:** [May 13, 2015, 3:11pm UTC](https://forums.digi.com/t/the-application-changes-the-sensor-config/14657 "2015-05-13T15:11:50Z")

</div>

Hello , I’m noticing that every time I’m running the application made with the digi-esp-for-python , some values on the sensors are changed :s . DH/DL are wiped ; IR and SP are changed. Here the diff $ diff 001…

---

## [xbee\_lth\_sensor missing from Digi ESP for Python](https://forums.digi.com/t/xbee-lth-sensor-missing-from-digi-esp-for-python/14005)

<div class="topic-metadata">

**Author:** [@muffa](https://forums.digi.com/u/muffa)\
**Replies:** 1\
**Last updated:** [December 1, 2014, 5:23pm UTC](https://forums.digi.com/t/xbee-lth-sensor-missing-from-digi-esp-for-python/14005 "2014-12-01T17:23:39Z")

</div>

Hello , I’m a new owner for an x2 ConnectPort and 2 LTH sensors. I’ve downloaded and installed the Digi ESP for python which comes with several samples. Thought the software has been updated via the Package Manager , I…

---

## [Licensing terms for Digi ESP for Python](https://forums.digi.com/t/licensing-terms-for-digi-esp-for-python/12994)

<div class="topic-metadata">

**Author:** [@murugates](https://forums.digi.com/u/murugates)\
**Replies:** 3\
**Last updated:** [May 20, 2014, 7:46am UTC](https://forums.digi.com/t/licensing-terms-for-digi-esp-for-python/12994 "2014-05-20T07:46:30Z")

</div>

I want to use Digi ESP for Python IDE, I want to know the licensing terms of using this IDE. Link to license terms will be more helpful

---

## [ConnectPort X3-R "Device Not Supported" by Digi ESP for Python. WHY NOT ??](https://forums.digi.com/t/connectport-x3-r-device-not-supported-by-digi-esp-for-python-why-not/11539)

<div class="topic-metadata">

**Author:** [@alekceywk](https://forums.digi.com/u/alekceywk)\
**Replies:** 4\
**Last updated:** [March 20, 2014, 2:50pm UTC](https://forums.digi.com/t/connectport-x3-r-device-not-supported-by-digi-esp-for-python-why-not/11539 "2014-03-20T14:50:45Z")

</div>

ConnectPort X3-R “Device Not Supported” by Digi ESP for Python. WHY NOT ?? Digi ESP for Python reports that my ConnectPort X3-R (CPX3-R XATA) “Device Not Supported”. Can Digi ESP for Python be somehow updated to recogni…

---

## [I would like to decrypt/encrypt messages sent to/from the device cloud to an X2e.](https://forums.digi.com/t/i-would-like-to-decrypt-encrypt-messages-sent-to-from-the-device-cloud-to-an-x2e/11610)

<div class="topic-metadata">

**Author:** [@gdigi](https://forums.digi.com/u/gdigi)\
**Replies:** 1\
**Last updated:** [September 26, 2013, 6:05am UTC](https://forums.digi.com/t/i-would-like-to-decrypt-encrypt-messages-sent-to-from-the-device-cloud-to-an-x2e/11610 "2013-09-26T06:05:06Z")

</div>

I tried using PyCrypto, but couldn’t get the module on the X2e using DigiEsp. Does anyone have any experience encrypting messages or using third party modules on an X2e? I know there are some posts on here about installi…

---

## [Digi GW CP4 with DigiMesh xbee.py API's](https://forums.digi.com/t/digi-gw-cp4-with-digimesh-xbee-py-apis/11906)

<div class="topic-metadata">

**Author:** [@sosovirus](https://forums.digi.com/u/sosovirus)\
**Replies:** 1\
**Last updated:** [September 18, 2013, 1:18pm UTC](https://forums.digi.com/t/digi-gw-cp4-with-digimesh-xbee-py-apis/11906 "2013-09-18T13:18:31Z")

</div>

Hi All, I’m using Digi GW CP4 with DigiMesh ZB Module to control some nodes and get some readings. First, i want to add some api’s in the xbee.py file but i cant access it in anywhere --ESP or over the internet (what i…

---

## [Can any one provide Handshaking code between digi ESP python for Connect port x4 and Visual Basic?](https://forums.digi.com/t/can-any-one-provide-handshaking-code-between-digi-esp-python-for-connect-port-x4-and-visual-basic/11603)

<div class="topic-metadata">

**Author:** [@Mandira\_pandian](https://forums.digi.com/u/Mandira_pandian)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 2:11am UTC](https://forums.digi.com/t/can-any-one-provide-handshaking-code-between-digi-esp-python-for-connect-port-x4-and-visual-basic/11603 "2013-06-17T02:11:09Z")

</div>

Python code to store the data to visual basic and Microsoft excel?
