# ConnectPort X4 show serial data from XBee on web

**URL:** <https://forums.digi.com/t/connectport-x4-show-serial-data-from-xbee-on-web/3353>\
**Category:** Python\
**Created:** [February 12, 2012, 7:39pm UTC](https://forums.digi.com/t/connectport-x4-show-serial-data-from-xbee-on-web/3353 "2012-02-12T19:39:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kims](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@kims](https://forums.digi.com/u/kims)\
**Post date:** [February 12, 2012, 7:39pm UTC](https://forums.digi.com/t/connectport-x4-show-serial-data-from-xbee-on-web/3353/1 "2012-02-12T19:39:00Z")

</div>

Hi, Bought a ConnectPort X4 Kit a while ago.  
I need to show data received on a Xbee serial port on a web page.  
I have tried to find an example, and seached the forum, but came up short.  
Do you have any example I can build on? - or could you give me some hints?  
I created a yml, and tried to run it on the PC, and of cause I hit the wall - ZigBee.py not implemented on PC platform.  
I am not shure how to implement it. Is the web on the ConnectPort excuting the python scripts as a CGI?  
I have a controller measuring temperature from 4 sensors. The controller is pushing out 4 lines of text, one for each temperature measured, to the serial port on XBee.  
How to implement it.  
Best regards  
Kim Schmock

---

<div class="post-metadata">

**Author:** ![lynnl](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@lynnl](https://forums.digi.com/u/lynnl)\
**Post date:** [March 1, 2012, 3:47pm UTC](https://forums.digi.com/t/connectport-x4-show-serial-data-from-xbee-on-web/3353/2 "2012-03-01T15:47:23Z")

</div>

If you use the Digi ESp for Python, then look at the Python samples and Dia samples. Some read the X4’s serial port, some a remote Xbee’s serial input.

If you are using Modbus/RTU, then there are some powerful Modbus-bridging functions within the X4.  
[http://www.digi.com/wiki/developer/index.php/Modbus\_Bridge\_on\_CPX4](http://www.digi.com/wiki/developer/index.php/Modbus_Bridge_on_CPX4)
