Trouble getting idigi_data:name/value data into Remote manager channels using XIG on ConnectPortX4

5 views
Skip to first unread message

Andres Pineda

unread,
May 6, 2020, 10:55:04 PM5/6/20
to xbee-internet-gateway
Sorry, posted this question in Digi Forum, but this is probably a better place to ask:

I understand that XIG is fairly old now and not much activity on the forum - But it is such a nice tool that I just discovered.

I am trying to use it to connect a series of RS232 XBee devices to the Digi cloud for 2-way passing of commands and sensor data.

Background:
Gateway is ConnectPortX4 (Tried X2 also) which has been running Dia/Modbus for several years.
Howver, I decided to repirpose it for this project and prefer the simplicity of XIG. Here are the specifics of the Gateway:

Firmware Version: 2.9.0.13 (Version 82001536_F3 03/16/2010)
Boot Version: 1.1.3 (release_82001531_A)
POST Version: 1.1.3 (release_82001537_G)
Product VPD Version: release_82001747_A
Product ID: 0x0074
Hardware Strapping: 0x0043


I am testing with a Series 2 XBee Pro on an XBIB developer board connected to my PC via USB and using XCTU to enter data.

I downloaded the latest XIG for the ConnectPortX4 (XIG_ConnectPort_1.5.2-PY2.4.zip) and expanded it. I uploaded the 3 files using the Python upload on the Gateway (xig.py,_xig, zip, xig_config.py). I left autostart off.

I made sure that the XBee on the XBIB connected up to the ConnectPortX4 and I can see it as part of the XBee network in both the CX4 and the Remote Manager.

I Telneted into the CX4 after rebooting and did a >python xig.py to startup the xiG.No errors on the console and xip up and running.

Nest, I typed in help\r and received the help message from xig. So far so good. I can also see the incoming data on the telnet console and no errors.

Next, on the PC via XCTU, I enter "idigi_data:names=ADC&values=123:\r"
I see the message via the telnet console and xig says it has been saved. I keep doing this and evantually xip says that the data has been uploaded to the cloud.

So, I expect to now be able to go to Remote Manager and see the data in the Data Services section, but there is no data there for this session.

Using the API explorer, I also ran an SCI/RCI/Dia query to get a dump of all channels and get back this error:

<do_command target="idigi_dia">
<error id="2">
<desc>Name not registered</desc>
<hint>idigi_dia</hint>
</error>
</do_command>

Does anyone else have this type of a problem? I tried also loading up Dia, but then Xig does not work at all. Any suggestions would be greatly appreciated as I have deleted everything and started over several times, just to make sure I didn't miss anything and I am perplexed.
Reply all
Reply to author
Forward
0 new messages