A Beginner s guide to send data to Device Cloud from a ZigBee Network



Similar documents
GETTING STARTED GUIDE

Quick Note 026. Using the firewall of a Digi TransPort to redirect HTTP Traffic to a proxy server. Digi International Technical Support December 2011

Building a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home

1 Axis camera configuration IP configuration Setting up date and time Installing an IPS Analytics Application...

PePWave Surf Series PePWave Surf Indoor Series: Surf 200, AP 200, AP 400

Lab Configuring Access Policies and DMZ Settings

Quick Note 32. Using Digi RealPort with a Digi TransPort Router. UK Support September 2012

GreenEye Monitor Setup Guide V1.0 Brultech Research Inc.

3.1 RS-232/422/485 Pinout:PORT1-4(RJ-45) RJ-45 RS-232 RS-422 RS-485 PIN1 TXD PIN2 RXD PIN3 GND PIN4 PIN5 T PIN6 T PIN7 R+ PIN8 R-

D-Link Central WiFiManager Configuration Guide

Step by Step Guide for Upgrading Your NetCamPro Camera to Cloud Mode Using an Android Device

2X SecureRemoteDesktop. Version 1.1

Instructions for Activating and Configuring the SAFARI Montage Managed Home Access Software Module

SOA Software API Gateway Appliance 7.1.x Administration Guide

Setting Up the ZigBee Ethernet Gateway

Hands-on MESH Network Exercise Workbook

Customer Tips. How to Upgrade, Patch or Clone Xerox Multifunction Devices. for the user. Purpose. Upgrade / Patch / Clone Process Overview

Self Help Guide IMPORTANT! Configuring Your Router With Your Modem. Please read the following carefully; This Guide refers to the following Products:

About This Guide SolarEdge Configuration Tool Software Guide. About This Guide

User s Manual TCP/IP TO RS-232/422/485 CONVERTER. 1.1 Introduction. 1.2 Main features. Dynamic DNS

Configuring the Synapse SB67070 SIP Gateway from AT&T for Clearfly SIP Trunking. January 2013

SNMP Manager User s Manual

Wireless Presentation System User s Manual

RBackup Server Installation and Setup Instructions and Worksheet. Read and comply with Installation Prerequisites (In this document)

Avigilon Control Center Server User Guide

How To Set Up A Computer With A Network Connection On A Cdrom 2.5 (For A Pc) Or Ipad (For Mac) On A Pc Or Mac Or Ipa (For Pc) On An Ipad Or Ipro (

Chapter 6 Using Network Monitoring Tools

Docufide Client Installation Guide for Windows

Cellular Gateway Programming Procedure - Updated with T-Mobile Wyless Cellular Services

SHIPSTATION / MIVA MERCHANT SETUP GUIDE

Raptor-CAN User Manual

Technical Brief for Windows Home Server Remote Access

Port forwarding and viewing your IP camera from the internet

Linking 2 Sites Together Using VPN How To

BusinessObjects Enterprise XI Release 2

WAP3205 v2. User s Guide. Quick Start Guide. Wireless N300 Access Point. Default Login Details. Version 1.00 Edition 2, 10/2015

Version 0.1 June Xerox WorkCentre 7120 Fax over Internet Protocol (FoIP)

About This Guide SolarEdge Configuration Tool Software Guide. About This Guide

Configuring NXT Hardware with Mercury Inside into Doors.NET TM Application Note

V310 Support Note Version 1.0 November, 2011

owncloud Configuration and Usage Guide

Gauge Drawing Tool Slider Drawing Tool Toggle Button Drawing Tool One-Way List Drawing Tool... 8

A Division of Cisco Systems, Inc. GHz g. Wireless-G. Access Point with SRX. User Guide WIRELESS WAP54GX. Model No.

PLA4231. User s Guide. Quick Start Guide. 500 Mbps Powerline Wireless N Extender. Default Login Details. Version 1.00 Edition 1, 12/2012

Vantage RADIUS 50. Quick Start Guide Version 1.0 3/2005

WRE6505. User s Guide. Quick Start Guide. Wireless AC750 Range Extender. Default Login Details. Version 1.00 Edition 1,

Quick Installation Guide. Live! Titanium

User Manual. PePWave Surf / Surf AP Indoor Series: Surf 200, E200, AP 200, AP 400. PePWave Mesh Connector Indoor Series: MC 200, E200, 400

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

SMC7901WBRA2-B1 Installation Guide

Business Wireless Internet quick install guide

DSL-G604T Install Guides

Document No. FO1001 Issue Date: Draft: Work Group: FibreOP Technical Team October 1, 2013 Final:

PT Activity 8.1.2: Network Discovery and Documentation Topology Diagram

Cisco 7940 How To. (c) Bicom Systems

Chapter 6 Using Network Monitoring Tools

HRG Performance Series DVR DDNS Support Application Note (hrgddns)

If you need additional assistance please contact our Technical Support Center at 24 hours a day, 7 days a week.

Egnyte Single Sign-On (SSO) Installation for Okta

HREP Series DVR DDNS Configuration Application Note

TELUS Internet set up guide. Read me first

There are two methods for setting up your Cisco or Linksys SPA phones outlined in this document.

Configuring the CyberData VoIP 4-Port Zone Controller with Audio Out

Wireless Router Setup Manual

Full Install Setup Guide Actiontec F2250 Gateway

How do I configure the wireless printer using a USB or Ethernet cable and install the printer driver in Windows?

19 LCD / 8 CHANNEL DVR COMBO WITH 160GB HDD & 4 CAMERAS

How To Check If Your Router Is Working Properly

Ethernet Radio Configuration Guide

How To Check If Your Router Is Working Properly On A Nr854T Router (Wnr854) On A Pc Or Mac) On Your Computer Or Ipad (Netbook) On An Ipad Or Ipa (Networking

3.5 EXTERNAL NETWORK HDD. User s Manual

PLA Series. User s Guide. Quick Start Guide. Powerline Ethernet Adapters. PLA4101, PLA4111, PLA4201, PLA4201 v2, PLA5205, PLA5215, PLA5206, PLA5405

H0/H2/H4 -ECOM100 DHCP & HTML Configuration. H0/H2/H4--ECOM100 DHCP Disabling DHCP and Assigning a Static IP Address Using HTML Configuration

AP6511 First Time Configuration Procedure

Configuring Your Network s Security

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

Pharos Control User Guide

N600 WiFi USB Adapter

Click Main on the left hand side then click on Password at the top of the page.

Prestige 202H Plus. Quick Start Guide. ISDN Internet Access Router. Version /2004

Registering with Cisco UCM

Troubleshooting Remote Viewing on the. Combo DVR/Monitor System

IP Power Stone 4000 User Manual

AXIS Camera Station Quick Installation Guide

DLink-655 Router Configuration Guide for VoIP

USB Driver. Installation Manual

NETVIGATOR Wireless Modem Setup Guide. (TG789Pvn)

MultiSite Manager. Setup Guide

Configuration Guide. How to set up the IPSec site-to-site Tunnel between the D-Link DSR Router and the Cisco Firewall. Overview

Lab Configuring Access Policies and DMZ Settings

Savvius Insight Initial Configuration

LifeSize Networker Installation Guide

Broadband Router User s Manual

ETRX2 and ETRX357 Wireless Mesh Networking Modules. Application Note Accessing Modules over the Internet

How To Set Up A Vpn Tunnel Between Winxp And Zwall On A Pc 2 And Winxp On A Windows Xp 2 On A Microsoft Gbk2 (Windows) On A Macbook 2 (Windows 2) On An Ip

Honeywell Internet Connection Module

SAP NetWeaver AS Java

IMPORTANT NOTICE CONCERNING EMERGENCY 911 SERVICES

How To Program A Talkswitch Phone On A Cell Phone On An Ip Phone On Your Ip Phone (For A Sim Sim) On A Pc Or Ip Phone For A Sim Phone On Iphone Or Ipro (For An Ipro) On

If you are unable to set up your Linksys Router by using one of the above options, use the steps below to manually configure your router.

Transcription:

A Beginner s guide to send data to Device Cloud from a ZigBee Network

1 Document History Date Version Change Description Author 12 Sep 14 1.0 Initial Release Ankur Mathur Copyright 2014 Digi International Page 2/12

2 Table of Contents 1 Document History... 2 2 Table of Contents... 3 3 Introduction... 4 3.1 Outline... 4 3.2 Audience... 4 3.3 Assumptions... 4 3.4 Scope... 4 4 Setting up network between XBee and gateway... 5 5 Connecting gateway to Device Cloud... 8 6 Running python script on gateway... 10 7 Conclusion... 12 8 Useful Software Links:... 12 Copyright 2014 Digi International Page 3/12

3 Introduction 3.1 Outline A getting stated guide for people to create basic setup for sending data from a ZigBee network to Etherios Device Cloud. 3.2 Audience This guide has been written for users with a basic understanding of XBee modules, Digi ConnectPort gateways and Etherios Device Cloud. This application note applies only to ZigBee or DigiMesh network of module(s) and Connect Port X2/X4/X2e gateway. 3.3 Assumptions This document assumes that devices are set to their factory default configurations. 3.4 Scope This document will cover aspects of setting up a network for data transmission to Device Cloud using a Python Script. It does not teach Python Programming. Copyright 2014 Digi International Page 4/12

4 Setting up network between XBee and gateway 4.1 Configuring gateway Plug in your ConnectPort gateway to network and accessing its Web UI using appropriate IP address. You can find gateway using Digi s Device Discovery Tool (refer section 8). In Gateway s Web UI, navigate to XBee network->configuration. Select Coordinator from Network View of XBee Devices. Enter appropriate Extended PAN ID (ID) parameter and click Apply button at end. The above step will initiate a ZigBee network with the specified PAN ID. 4.2 Configuring XBee module Place XBee module on Digi s XBIB Dev board and connect to PC. Open XCTU and select appropriate COM port to load module s current configuration. Make sure that module is not acting as Coordinator. If so, load modules with Router or End Device firmware (ZigBee Router AT recommended). There can be only one coordinator in a ZigBee network, which is Connect Port gateway in this case. Copyright 2014 Digi International Page 5/12

Set the same PAN ID that you have used to create a ZigBee network. This is required to make sure that module will join network created by ConnectPort gateway. PAN ID can be set by providing appropriate value in white box next to its entry. Click Write button to save the modifications made. If both ConnectPort gateway and XBee module are in vicinity of each other, then module will connect to gateway s coordinator in few seconds. You can verify it by observing Association LED (Red light) on XBIB interface board which will start blinking once module successfully joins a network. Alternate method is to check Operation 16-bit PAN ID parameter on both devices. If they have same hex values, then you have successfully setup a network between ConnectPort gateway and XBee module. Copyright 2014 Digi International Page 6/12

How to set up destination address parameter? Provide coodinator s mac address i.e. its SH and SL parameter to module s DH and DL parameter respectively. You can also provide coordinator s alias address i.e. 0x0000000000000000 (default value on Router AT firmware) as well to these fields. See below image for reference: Copyright 2014 Digi International Page 7/12

5 Connecting gateway to Device Cloud Now we need to create a communication link between ConnectPort gateway and Etherios Device Cloud. In ConnectPort gateway Web UI, navigate to Device Cloud under Configuration. Provide appropriate URL as shown below and click Apply. For US Cloud: login.etherios.com --------------------------------------------------- For UK Cloud: login.etherios.co.uk Make sure you have an active account on Device Cloud. If not, then you can create a new one by visiting below provided web link: https://myaccount.etherios.com/ Copyright 2014 Digi International Page 8/12

Browse to respective cloud URL in browser and navigate to Device Management- >Device tab present on top of window. Click Add devices button and follow the options to add your gateway to device cloud. Visit below provided link to learn configuring and troubleshooting ConnectPort gateway for Connection to the Device Cloud: http://www.digi.com/support/kbase/kbaseresultdetl?id=3186 Now gateway is added to Device Cloud. If gateway is properly configured Device Cloud will how added device as Connected and a Connected blue symbol will appear, if not connected it will be in red color. Copyright 2014 Digi International Page 9/12

6 Running python script on gateway You need a python script running on ConnectPort gateway that redirects all incoming data from XBee module(s) to Device Cloud it is connected to. A python file for this purpose is available at below provided link: http://www.digi.com/wiki/developer/index.php/xbee_to_device_cloud_- _DataPoint_Creation This script encodes data in Base64 format to add security for uploaded information. Add that script onto ConnectPort gateway and enable auto-start. To do so, open Web UI of ConnectPort gateway and navigate to Applications->Python. Upload above script to gateway by following steps. Click on Choose File and point to the respective python script and click upload. Copyright 2014 Digi International Page 10/12

Now, click on the Auto-start Settings section. Here, specify script name to auto-start it after every gateway reboot. See below screenshot for reference: Click Apply and reboot gateway by navigating to Administration section. You can use Terminal tab of XCTU connected with XBee module to transmit data from XBee module to XBee Coordinator sitting inside gateway. If configured correctly, gateway will redirect all incoming data packets from Zigbee network to Device Cloud. In Device Cloud s Web UI, this data will be available under Data Services Data Streams. Copyright 2014 Digi International Page 11/12

7 Conclusion You have now successfully created a communication link between Device Cloud to ConnectPort gateway to XBee module and have successfully transmitted data from XBee module to Device Cloud. 8 Useful Software Links: Device Discovery Tool: http://www.digi.com/support/getasset?fn=40002265&tp=5 X-CTU : http://www.digi.com/support/productdetail?pid=3352&type=utilities Copyright 2014 Digi International Page 12/12