NanoSense EnOcean User Manual

With cloud services

Advertisement

Quick Links

EnOcean IP gateway with Cloud services
Rev
Date
V1
V2
Sept 2014
V3
Oct 2014
V4
Apr 2015
V5
May 2015
_______________________________________________________________________
S.A.R.L au capital de 500 100 Euro Siret : 444.396.519.00027 APE : 4669A TVA intracom : FR-35444.396.519
NanoSense
123 rue de Bellevue, 92100 Boulogne Billancourt
Tél : 33-(0) 1 41 41 00 02, fax : 33-(0) 1 41 41 06 72
www.nano-sense.com
Modification
Initiale Version
Pro version with update and external antenna
Static IP and triggers
New REST method
Ability to change web UI passwords
France

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EnOcean and is the answer not in the manual?

Questions and answers

Summary of Contents for NanoSense EnOcean

  • Page 1 NanoSense 123 rue de Bellevue, 92100 Boulogne Billancourt France Tél : 33-(0) 1 41 41 00 02, fax : 33-(0) 1 41 41 06 72 www.nano-sense.com EnOcean IP gateway with Cloud services Date Modification Initiale Version Sept 2014 Pro version with update and external antenna...
  • Page 2: Table Of Contents

    Cloud setup ..........................9 Data retrieval ..........................11 Private data base ........................11 How to Assign a Static IP Address for your EnOcean gateway ..........12 Change the access codes to the web interface ............... 19 Triggers Setup ........................19 Setup a Xively Trigger to Activate Zapier ................
  • Page 3: Presentation

    1. Presentation This box is a gateway between the EnOcean world and the IP world. The IP address is allocated by DHCP. EnOcean is an ISO international communication protocol dedicated to wireless and battery less sensors and actuators, for low-energy buildings.
  • Page 4: General Settings

    To access to this page: • For Ethernet connection: Connect the box to the LAN of the building. It is then possible to connect with a PC, or by using a Wi-Fi router: a tablet or a smart phone. The IP address of the box is provided by the local network (by DHCP). Find this address into the network to access the setting page with a browser.
  • Page 5: Pairing

    4. Pairing In the “EnOcean setting” frame, activate the “Pairing” button. The Gateway will start listening pairing EnOcean switch telegrams. Launch the pairing telegram of an EnOcean sensor or switch. Upon receipt, the identification number (ID) of the sensor is displayed. If the sensor transmits its profile number (EEP), it also appears.
  • Page 6 Click on " Valid " to record the pairing. The button ‘Paired” list the paired devices. It is essential to enter an alias for each device because an ID is not understandable to describe a device in the cloud. Don’t forget to specify its location (eg bed room, bathroom, floor #..) And function (eg light switch, blind switch, T°...
  • Page 7 Current alias (before modification) Current EEP (before modification) It is possible to modify the alias (11 characters maximum without spaces) and the EEP Choose a new alias and/or EEP When “Valid” is clicked, you will be back to the general setting window. If you click again on “Paired”, the published devices will appear with their modifications.
  • Page 8: Cloud Services

    Modified device The button “Close” closes the under way devices window. 5. Cloud Services You must first open an account (free of charge) on www.xively.com The tutorial is here: https://xively.com/dev/tutorials/xively_develop/ Once the account is open you can indicate the location, a feed is created automatically, note carefully the ID and API key.
  • Page 9: Cloud Setup

    As Xively is free of charge you will be limited to one account per email address. On the configuration page of the gateway, simply copy the feed ID and API key to establish communication with Xively. Feed ID Created device on Xively for data logging API key to use to send data...
  • Page 10 In this case, data are lost, but you can automatically create the necessary field on Xively. Click on “Errors” to get the list of errors encountered. You just have to click on “Create DataStream” to create the correct field on Xively. The ID displayed in the error message is not used for the Xively’s field name.
  • Page 11: Data Retrieval

    Example of automatically created field: The frame “Cloud Services” keeps track of the correct transmission of data in the cloud. The gateway stores the data then transmit them to the database and in the cloud when the buffer reaches 80% of its capacity (can takes few minutes). 7.
  • Page 12: How To Assign A Static Ip Address For Your Enocean Gateway

    Products In this above case the field will contain: /scripts/MyPhpFile.php 9. How to Assign a Static IP Address for your EnOcean gateway If you have a network with several computers and devices, it’s a good idea to assign each of them a specific address.
  • Page 13 Using Static IPs prevents address conflicts between devices and allows you to manage them more easily. First, we shall assign IPs addresses to a PC. it’s essentially the same process For all Windows OS, but the setting varies between each version in some aspects. a) Set your Computer as a network gateway ...
  • Page 14 Right-click on the local adapter and select Properties. In the Local Area Connection Properties window highlight Internet Protocol Version 4 (TCP/IPv4), then click the Properties button. _______________________________________________________________________ S.A.R.L au capital de 500 100 Euro Siret : 444.396.519.00027 APE : 4669A TVA intracom : FR-35444.396.519...
  • Page 15 Now select the radio button Use the following IP address and enter the same IP, Subnet mask, and Default gateway as shown in the hereunder screenshot. When you have finished click OK. _______________________________________________________________________ S.A.R.L au capital de 500 100 Euro Siret : 444.396.519.00027 APE : 4669A TVA intracom : FR-35444.396.519...
  • Page 16 Windows XP To set a Static IP in XP right-click on My Network Places and select Properties. _______________________________________________________________________ S.A.R.L au capital de 500 100 Euro Siret : 444.396.519.00027 APE : 4669A TVA intracom : FR-35444.396.519...
  • Page 17 Right-click on the adapter you want to set the IP for and select Properties. Highlight Internet Protocol (TCP/IP) and click the Properties button. Now change the IP, Subnet mask, Default Gateway, and DNS Server Addresses. When you have finished click OK. _______________________________________________________________________ S.A.R.L au capital de 500 100 Euro Siret : 444.396.519.00027 APE : 4669A TVA intracom : FR-35444.396.519...
  • Page 18 Now you can connect the gateway directly to the PC using an RJ45 cable and connect the power supply. c) Configure a static IP to your EnOcean gateway Launch your favorite internet browser and go to this address http://192.168.1.115. Once the web...
  • Page 19: Change The Access Codes To The Web Interface

    10. Change the access codes to the web interface Visit the web interface of the gateway, in the General Settings window, click Change. Once the changes are made, be sure to save the new settings by clicking on Save Settings. 11.
  • Page 20: Setup A Xively Trigger To Activate Zapier

    Click continue, you will be given a webhook URL. Copy this URL and keep it hand. Keep this tab open, and return to the Xively workbench. We’re going to come back here in a minute. 12. Setup a Xively Trigger to Activate Zapier Go to the Xively device that you would like to create a Trigger for On the Xively workbench, click Add the details of the trigger that will activate your Zapier action.
  • Page 21: Connecting Xively To Zap

    The trigger is set up! 13. Connecting Xively to Zap Go back to Zapier, click continue twice. There are options to filter the JSON coming from Xively. This can be very useful if you want to send the entire Xively Post. If you are just looking for a few data values, go to the next step.
  • Page 22: Activate Your Zap

    Once Zapier found your changes, click All done! Now you will be able to add fields in the body of your mail: Then, to check if everything is OK click 14. Activate your Zap _______________________________________________________________________ S.A.R.L au capital de 500 100 Euro Siret : 444.396.519.00027 APE : 4669A TVA intracom : FR-35444.396.519...
  • Page 23 LEDs stop blinking. 16. External antenna The power emitted by an EnOcean chipset is very low (1 mW), this allows emitting to a range of up to 25m indoor. A wip antenna located inside should be sufficient in most cases.
  • Page 24: Annex 1: Php File Example (Private Server)

    Annex 1: PHP file example (Private server) <?php /***********************************/ CHANGE THESE PARAMETERS /***********************************/ $host = "localhost"; $login = "db-login"; $psw = "db-password"; $database = "db-name"; $port = "3306"; /***********************************/ /* CHANGE NOTHING BELOW THIS LINE /***********************************/ $queryCreateUsersTableFirstPart "CREATE TABLE IF NOT EXISTS `";...
  • Page 25: Annex 2: Request Body Example (Private Server)

    Annex 2: Request body example (Private server) "version":"1.0.0", "datastreams":[ "alias":"test-PM10", "location":"Paris", "id":"FFCDE615", "datapoints": {"at":"2015-03-18T15:56:22Z","value":"193"}, {"at":"2015-03-18T15:56:33Z","value":"197"} "alias":"test-PM2_5", "location":"Paris", "id":" FFCDE615", "datapoints": {"at":"2015-03-18T15:56:22Z","value":"189"}, {"at":"2015-03-18T15:58:03Z","value":"184"} "alias":"test-PM1", "location":"Paris", "id":" FFCDE615", "datapoints": {"at":"2015-03-18T15:56:22Z","value":"167"}, {"at":"2015-03-18T15:58:03Z","value":"162"} _______________________________________________________________________ S.A.R.L au capital de 500 100 Euro Siret : 444.396.519.00027 APE : 4669A TVA intracom : FR-35444.396.519...

Table of Contents