Home/Support/Support Forum/Need help getting started for developing ConnectPort X2 SE
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Need help getting started for developing ConnectPort X2 SE

0 votes
Hi,

I just started working on the ConnectPort X2 SE to configure it as an Energy Service Portal (ESP).

I'm totally confused on where to even start.

1) how can i program python scripts on the ConnectPort X2 SE and where do i put them?

2) Is there a manual which shows all the APIs available?

3) Is it possible to write a python program to push data received at the X2 to iDigi, which will later then be retrieved by a web application?


Thanks in advance!
asked Jun 7, 2012 in 3rd Party Python and API development in other Languages by leotanty New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
Here is a online, step by step guide for this product:
http://www.digi.com/products/wireless-routers-gateways/gateways/connectportx2#docs

Also documentation can be found at:
http://www.digi.com/support/productdetail?pid=4253&type=documentation

Here is the API manual
https://idigi-se.appspot.com/edocs/index.html

Yes it is possible to write a python program to push data received at X2 to iDigi, that can be retrieved by a web application.

Python scripts can be uploaded to the device using the device's WebUI, iDigi Manager Pro, and iDigi web services API. There is also the Digi ESP (Digi's Eclipse based IDE) for python development, but I am not sure if this product is supported (says supports X2, but does not specifically say X2 SE).

Python scripts can be automatically started at boot time or manually run from the command line (telnet or ssh), and if supported for this product, the Digi ESP.
answered Jun 11, 2012 by kurte New to the Community (29 points)
0 votes
I don't think you (a mere mortal) is permitted to change the Python code in a X2 SE. It is part of what it means to be SE certified - so I have been told.

You should be able to create a PC (or external device) application which fetches data from the X2 SE to display on a web page. Since I haven't work with SE yet, I can't offer pointers to starting that work.
answered Jun 12, 2012 by lynnl Veteran of the Digi Community (1,047 points)
...