iDigi™ Wi-9P Starter Kit ZB

Hello,

I have bought a iDigi™ Wi-9P Starter Kit ZB and I have been following directions on the Stater Guide [http://ftp1.digi.com/support/documentation/90001066_a.pdf].

I just want to have a webpage which displays current data sent by the \T\L sensor. Is there an easy way to do this?

I am not M$ Windows user, but I had to have acces to a machine of this kind to be able to install Discovery tools, XCTU and all that crap. I can see the listed devices on the router like webpage, but they do not display data. Do I really need to install python and login to M$ DOS command shell to run that >> channel_dump.

Overall I see Digi’s way too complicated just for reading one sensor. Also Python 2.4.3 is no longer available at python.org, but 2.6.3, I hope all that yml crap still work with newer versions.

Cheers

http://www.python.org/download/releases/2.4.4/

The 2.4.4 Python works fine with the Wi-9P. You will get a warning that there is a version mismatch when building however.

With the Wi-9P (I also bought this starter kit) you do need to build the code and download it to the Wi-9P. Then Telnet into it to start the code (or set the check box to start the code on boot up).

Once the code is running you log into the Wi-9P with your web browser and the LT sensor value is displayed. Or Telnet into the a port and do a channel_dump.

Yea, Digi’s hype lead me to buy that system and I worked on using it for a few months. I have now abandoned the Wi-9P and am using the XBee coordinator on the XBIB-R dev board directly into a PC COM port. I’ve been writing my own code with Python to have it do what I want.
The Digi Dia that runs on the Wi-9P is great if you want to pay Digi to collect and access your data or log into the Wi-9P from a remote location. Otherwise its better just to use your PC.

Anyone want to buy a barely used Wi-9P board?

Python 2.4.3 is still available, so it’s what I use - it is here:
http://www.python.org/download/releases/2.4.3/

Make sure you look through the online Python Wiki and the “Python Programmer’s Guide”. The 2.4.3 link is on this wiki page:
http://www.digi.com/wiki/developer/index.php/Digi_Python_Programmer’s_Guide#Recommended_Distribution_of_Python_Interpreter

Hi waltr,

> Yea, Digi’s hype lead me to buy that system and I
> worked on using it for a few months. I have now
> abandoned the Wi-9P and am using the XBee coordinator
> on the XBIB-R dev board directly into a PC COM port.
> I’ve been writing my own code with Python to have it
> do what I want.

Attaching the device to a serial port on my computer and knowing the data from the sensor is what i want.

What you are doing is great. I might also have to do something similar.

Are there some special commands to communicate with the XBee coordinator through the PC serial port? Do you mind to share resources?

> Anyone want to buy a barely used Wi-9P board?

BTW, you could still reuse the Wi-9P as a computer if you are able to flash linux into it. I wonder if Digi provide such tools to reflash this boards.

Cheers

Hi Pep,

The python code I started with is posted here:
http://code.google.com/p/python-xbee/source/browse/trunk/xbee2.5/?r=5

Here is info on the API frames and how to use the above code:
http://lizard43.blogspot.com/2009/04/xbee-series-2-reading-data-in-api-mode.html

I’ll try posting my modified code here tonight.

If you haven’t used python it may take a little time to figure out what it is doing. Insert “print” statements to find out what intermediate objects look like.
“Dive Into Python” is a good starting tutorial that explains the basics well. Its here:
http://diveintopython.org/index.html

Once you understand the command and data frame formats you can write code in any language you are comfortable with.

The coordinator is running API firmware so the all interaction with this module will be API frames. These are explained fairly well in the 90000976 document, chapter 9. The other modules (router/end device) should be running the AT firmware (otherwise know as transparent mode). The AT commands are in chapter 10 of the above mentioned document.

Other important information is scattered throughout Digi’s other documents. This forum has a great amount of information as everyone seems to have been stuck trying to understand when starting out. Read through all the rf modules, python and Dia forums.

The modules work great once the details are understood.