Home
EnOcean Sensor Kit
Contents
1. m e r T T L L RL i i Tmt i L Figure 9 FHEM Event Monitor Page 10 elementiu Appendix 1 Useful Links 1 1 EnOcean radio modules D http www enocean com en enocean modules epk 350 http www enocean com de enocean module usb 300 0em D http www enocean com de enocean pi D http www enocean com en knowledge base 1 NJ element14 Raspberry Pi and accessories http www element14 com raspberrypi http www element14 com enocean_ pi 1 3 Raspberry Pi D http www debian org doc manuals refcard refcard en pdf D http www danielspage de index php technik raspberry pi blog 44 enocean auf dem pi http developer blog net hardware raspberry pi backup http www datenreise de raspberry pi wlan einrichten edimax http www mikrocontroller net articles Raspberry Pi http pibeginners com ftp server 1 4 FHEM D http fhem de fhem html http forum fhem de D http fhem de Heimautomatisierung mit fhem pdf Page 11 elementiu Appendix 2 Regulatory Compliance and Safety Information The Sensor Kits are available in several frequency variants SENSOR KIT 868 868MHz for Europe including China includes STM 330 STM3 329 PTM 210 SENSOR KIT 315 315MHz for Asia excluding China includes STM 330C STM 320C PTM 200C SENSOR KIT 902 902MHz for US Canada includes STM 330U STM 320U PTM 210U WARNINGS e Devices or Modules containing RF
2. ander C 6 Temperature min 22 6 C max 27 2 G Humidity min 45 r h max 62 r h Temperature Humidity rature in C G p L a mp Te 04 00 08 00 16 00 Figure 7 Temperature Humidity Visualization Page 9 elementiu 2 8 Interpretation of EnOcean radio telegrams via the FHEM event monitor Start PuTTy and configure it to connect to the IP address of the Raspberry Pi with telnet and port 7072 Switch on implicit CR in every LF within the terminal configuration to get a line feed after carriage return Category Session io Logging Terminal H Keyboard ow Features Window Appearance i Behaviour i Translation z Selection i Colours Rlogin 55H i Serial Basic options for your PuTTY session Specify the destination you want to connect to Host Name for IP address Port 192 167 1 121 7072 Connection type Raw Telnet Rlogin 55H Serial Load save or delete a stored session Saved Sessions Default Sett ings RPi_Home Rasp Session ER Logging S Terminal i Keyboard Window Appearance Behaviour Translation 7 Selection Connection i Data ie Proxy Telnet i Rlogin SSH i Serial Options controlling the terminal emulation Set various terminal options Auto wrap mode initially on DEC Origin Mode initially on Implicit LE in every CR Use background colour to era
3. the FHEM server for home automation e Configuration of FHEM for EnOcean switches sensors and actuators contained in the Sensor Kits 1 2 Necessary components e PC with internet browser e EnOcean Pi e Sensor Kit Raspberry Pi board model B Raspberry Pi accessories o USB micro power supply ia o HDMI cable o SD card e g 4GB Ethernet cable or USB WLAN stick Figure 2 Top to Bottom EnOcean Pi Sensor Kit Raspberry Pi Page 2 elementiu 2 Step by step installation of the Raspberry Pi 2 1 Installation of Raspian Debian Linux for Raspberry Pi If the Raspian image is not already installed on the SD card download NOOBS New Out of the Box Software and follow the instructions at http www raspberrypi org downloads 2 2 Basic configuration via raspi config 1 Plug the SD card into the Raspberry Pi and connect a keyboard and monitor 2 Login with username pi and password raspberry 3 The configuration menu should start automatically after booting if not just type sudo raspi config 4 Select the following items to configure 5 expand rootfs to use the full SD card size 6 configure keyboard to set the correct keyboard settings 7 change timezone to set the correct time amp date 8 change location to allow for country specific characters etc Setup Options 1 Expand Filesystem Ensures that all of the 5D card storage is available 2 Change User Password Change password for the d
4. CE STATEMENT This Class B digital apparatus complies with Canadian ICES 003 Cet appareil num rique de la classe B est conforme a la norme NMB 003 du Canada Compliant with CE Z AFC www element14 com legislation Premier Farnell UK 150 Armley Road Leeds LS12 2QQ United Kingdom Revision 1 1 April 2012 Page 13
5. EnOcean Sensor Kit Bringing Home Automation to the Raspberry Pi BY elementiu amp am User Manual Version 1 Dated 21 May 2014 elementiu Revision History Version Date Description 1 0 22 05 2014 Original Version elementiu Table of Contents Hr 9 OG UE LOT iai iai i iai i ii i i i a i i i is 1 dst FODIES COV Gl CG L k ksiani iis iii ki nee asian asien een 2 1 2 Necessary components sssssssasssaassnesnsnesnnnesnsosnnannnnananae 2 2 Step by step installation of the Raspberry Pi ueuunnuuunnnnnn 3 2 1 Installation of Raspian Debian Linux for Raspberry Pi eee e ee e e e r x e e e x 3 2 2 Basic configuration via raspi config zuesseeennnnnnnn nenn anne 3 2 3 Software and Firmware update aaa aaa aaa 4 2 4 Connecting Raspberry Pi and the EnOcean Pi ccceeeeee 4 2 5 Discover the IP address of your Raspberry Pi L 5 2 6 Remote control of your Raspberry Pi 222ssssnsnnnnnnn aaa 5 E T SEELEN UID PUT T rn 5 2 7 Installation of the building automation Server ccc ee e e x e ss D 2 7 1 Installation of the Perl environment including libraries TOT FREM ee ee A een 7 2 7 2 Installation FHEM s see e e ee nenn nennen nun 7 2 7 3 Display of the FHEM Web Interface 7 2 7 4 Configuring the FHEM Server 2222220nsnnnnn nn nenn anne 8 2 7 5 Configure the EnOcean Pi zsessssnnnnnnnnnnnnnnnnnnnnnnn 8 2 7 6 Configure the PTM switch sexe ee e e e
6. To fix this you can manually enter following definition define TCM310 0 TCM 310 dev ttyAMA0 57600 2 7 6 Configure the PTM switch Click on PTM switch and you will get following entries the ID may be different de rine EE S Vasen Olle Ol BO e i Olle Jon alle IMO ee WOES SoBe TEE HEG Te E alle nea Be UN 38558 silloly oe EE dorine Fillelec Mme swiieca MI GE millelec Loc ano si zen NL SI N Wee Boo LE Gl NN 2983 aE ERE TOJE AO ana Ela IS LGE LSE aici Ai elhog Min in Ten LLS GE ieoom IG EE Page 8 elementiu 2 7 7 Configure the STM sensor Press learn button of STM330 sensor and you will get the ID may be different Clone NO con eo IG mieles lt OBE EKO Slieie 2 ES e Se e LS TEST E ls anoeeaig cie EN Leon a Sis Ul ellinee SE S eee GE doriae balleloc no eonzact OS ee BAE Eos log Bale Comesceic Ole ENT Cu leer Mal EE R E TEAG Je er Hi ikelyeg iin Comesce Ole ime ec Bo Bee B are leo lic come Wiles icon Mine ELO 2 7 8 Visualization Following visualization example has been generated by an STM330 temperature sensor with a HSM 100 humidity sensor connected 1ID 0088F03E STM 330 temperatur amp humidty sensor gerne Sensor NOUS HOSE T O SEO E derer ea O II Emana ILD ZONE AES Saisie BH EV Sia eo Ih eee Sebi en Oral EO ER SS vole ron en S Lee ESI Ol detine tileLog EnO sensor NN R Bado o 2 loc BOSS o S E BOB og Sen or EOS ar Pi leihog Sensor OO E E Logos La aa Hi elkog Sensor UNS EU SITE
7. components must meet the essential requirements of the local legal authorities e The modules must not be used in any relation with equipment that supports directly or indirectly any form of life or with applications that can endanger life or value e Any changes or modifications not expressly approved by the party responsible for compliance may void the user s authority to operate this equipment e These modules must not be modified or used outside of their specification limits e These modules may only be used to transfer digital or digitized data Analogue speech and or music is not permitted e The modules must not be used with gain antennas otherwise resulting in exceeded ERP or spurious emission levels COMPLIANCE INFORMATION The Sensor Kit for Raspberry Pi complies with the relevant provisions of the RoHS Directive for the European Union WEEE Directive Statement for the European Union e In common with all Electronic and Electrical products the Sensor Kit should not be disposed of in household waste within the European Union e Components of the modules are considered and should be disposed of as hazardous waste e Alternative arrangements may apply to local jurisdictions EMC COMPLIANCE STATEMENTS European Union EU Electromagnetic Compatibility Directive Compliance Statement This product is in conformity with the protection requirements of EU Council Directive 2004 108 EC on the approximation of the laws of the Membe
8. e ee 8 2 7 7 Configure the STM sensor cce ce e e e e e e e eee 9 2 7 8 WISUANZAUOWS Feen 9 2 8 Interpretation of EnOcean radio telegrams via the FHEM SVENE le s Tas p oes EnS ENONSE EAEE 10 Appendix 1 Useful LINKS sss es ses sssssssssssssss ss ss ss sss sss sese essa s 11 1 1 EnOcean radio Modules ccc 11 elementiu 1 2 element14 Raspberry Pi and accessories L 11 1 3 Raspberry Pi znnunsnnunnnunnmun nun nn nun nn nun ann nn nun nn nun nun nun nn nn nn 11 LA FIVE sans si i i i a a ES 11 Appendix 2 Regulatory Compliance and Safety Information12 elementi 1 Introduction This user guide shows how to integrate the EnOcean Sensor kit with the Applicable Frequencies Raspberry Pi and EnOcean Pi add on 315MHz Asia excluding China board The example is based around a home automation system but it can form the basis of many other IoT projects It 902MHz USA uses FHEM as the basis of the server but other open systems are also available such as openHAB 868MHz Europe including China www openhab org Wireless energy autonomous sensors and switches are ideal for home automation projects as no cabling is required Sensors and actuators can directly communicate with each other or they can be controlled by an intelligent smart home server This allows users to set up home automation for remote sensing and remote control via PC or smart phone Raspberry Pi is the ideal platform to setup a smart home server where
9. efault user pi 3 Enable Boot to Desktop Choose whether to boot into a desktop environment or the command line 4 Internationalisation Options Set up language and regional settings to match your location 5 Enable Camera Enable this Pi to work with the Raspberry Pi Camera 6 Add to Rastrack Add this Pi to the online Raspberry Pi Map Rastrack 7 Overclock Configure overclocking for your Pi 8 Advanced Options Configure advanced settings 9 About raspi config Information about this configuration tool lt Select gt lt Finish gt Figure 3 Raspi config Menu Page 3 elementiu 2 3 Software and Firmware update Prior to updating you need to connect to internet This can be done in one of two ways 1 Via Ethernet plug into the connector and let the Raspberry S Pi handle the rest Raspian the Linux operating system can be updated via APT Advanced Package Tool 2 WiFi if drivers are available start the GUI using the startx command and click on WiFi config Follow the on screen prompts RPi update https github com Hexxeh rpi update is used to update the firmware hardware driver of Raspberry Pi In order to have an up to date system e g to recognize the EnOcean Pi both updates are required Get the latest updates of Raspian and Raspberry Pi firmware sudo apt get update NOTE SUICID TE TU gr ade sudo apt get install rpi update Several shell commands need root Then reboot super user rights th
10. erefore sudo is used as a prefix sudo restart 2 4 Connecting Raspberry Pi and the EnOcean Pi 1 Connect EnOcean Pi on top of Raspberry Pi board via its connector 2 Disable Linux using the serial port NOTE As default the serial port of the GPIO interface is used for console debug outputs In order to use this port for EnOcean Pi this feature has to be disabled Read more about this at http elinux org RPi Serial Connection Page 4 elementi A script can be downloaded from Github which will automatically adapt boot up settings https ithub com lurch rpi serial console 3 Download the script Selo mes Ja E Pe zei cn eo seo Line mone gt R ee ole IS Mas B SA Ajo IE seriel comsole Our 2 Bm ap era al e Suclo elamloc tox RSE alia gol serlal eensale 4 Execute the script sudo rpi serial console disable 5 You can test the connection via the FHEM event monitor Refer to section 2 8 2 5 Discover the IP address of your Raspberry Pi In most cases the IP address is provided via the DHCP server For remote control via TTY e g via PuTTY or HTML server connections FHEM server the IP address of Raspberry Pi is required You can discover the allocated by the DHCP server IP address by typing in the following command EEE OEG Example output You can see that in this example output text the IP address is 192 167 1 121 2 6 Remote control of your Raspberry Pi If your desktop is too small for a
11. ess this message Unsorted E gt Everything Logfile Howto Commandref Wiki Forum Edit files Select style Event monitor Figure 5 The FHEM Web Interface FHEM automatically recognizes the EnOcean Pi and receives radio telegrams from EnOcean devices Additionally it generates by default device entities for each new received EnOcean ID With the user interface you can visualize and configure graphical user elements to visualize events and send control telegrams to actuators A small how to guide can be found at Page 7 elementi http fhem de HOWTO html For German users there is an additional forum available http forum fhem de 2 7 4 Configuring the FHEM Server FHEM server is configured via the configuration file fhem cfg Start the configuration file editor via the FHEM menu item Edit files OE A e m E e m y V TA mn V e N FHEM Fo x L Ups Goc x Y www del X Y Perl Do x 2 EnOcear X m Home 5 x y ex Home S x Y r 2 ke cs x V a We a O 192 168 178 33 8083 fhem cmd style 20edit 20fhem cfg e GC O 192 168 178 33 8083 fhem cmd style 20list 3 Save fhem cig Saveas fhem cfg config file attr global logfile log fhem Y m log fi gt Fhem attr global modpath where our FHEM directory is fhem c attr global statefile log fhem save where to save the s
12. n additional Raspberry Pi display screen and keyboard remote control of your tiny computer is the best solution This allows you to access the command line or Linux shell via an SSH client on the PC 2 6 1 Setting up PuTTY PuTTY is a virtual terminal which can receive and display the working information of the Raspberry Pi It needs to be configured on your PC before it can communicate with the Raspberry Pi Follow the steps listed below to ensure correct configuration Page 5 elementiu Download putty exe from http www putty or to your PC and run it to open the PuTTY Configuration window then configure it as shown below substituting the IP address 192 168 7 2 for the IP address you discovered in section 2 5 Fi EX Pull Configuration Category E Session Logging B Terminal Keyboard Bell Features Basic options for your PuTTY session Specify the destination you want to connect to Host Name or IP address Fort 192 168 7 4 Connection type E Window Raw O Telnet Alogin SSH Seral Appearance Behaviour Translation Saved Session Load save or delete a stored session Selection Colours Default Settings El Connection Pr s Telnet Delete Alogin SSH Serial Close window on exit C 7 Awas Never Only on clean exit Figure 4 PuTTY Configuration Settings Click Open when you finish the configuration Now you have a command line interface to remotely con
13. r States relating to electromagnetic compatibility This product has been tested and found to comply with the limits for Class B Information Technology Equipment according to the European Standards EN 55022 amp EN 55024 Page 12 elementiu FEDERAL COMMUNICATIONS COMMISSION FCC EMISSIONS COMPLIANCE STATEMENT This equipment has been tested and complies with the limits f or a Class B digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a domestic environment Operation is subject to the following two conditions 1 this device might not cause harmful interference and 2 this device must accept any interference received including interference that might cause undesired operation STM320C 315MHz STM320U 902MHz STM330 868MHz Scavenger Transmitter Modules These modules have been tested to fulfil the approval requirements for CE and conform to the R amp TTE EN 300 220 EU directive on radio equipment for STM330 and CFR 47 Part 15 FCC for STM320C STM320U based on the built in firmware PTM200C 315MHz PTM210U 902MHz PTM210 868MHz Pushbutton Transmitter Devices These modules have been tested to fulfil the appropriate approval requirements for CE and conform to the R amp TTE EN 300 220 EU directive on radio equipment and FCC CFR 47 Part 15 INDUSTRY CANADA EMISSIONS COMPLIAN
14. se screen Enable blinking text Answerback to E Pu TTT Line discipline options Local echo a Auto Local line editing a Auto Force on Force off Force on Force off Remote controlled printing Close window on exit Always Never Printer to send ANSI printer output to None printing disabled Only on clean exit Figure 8 PuTTY Telnet Configuration Start a telnet session and type inform timer to display the FHEM event monitor Receiving events with EnOcean telegrams will be shown with a time stamp EP 192 167 1121 PuTTY Talo Fii Lal ci Lad LJ H 0 m 7 ren ci B Cn Lil L 7 l j 3 Mm ne amp fo mt nm Mm l a I C age l j E w w I w MA B 9 Fl Fl E Fl w on if tf D fo fo T J gt Lo T lt vd lt vd O B pop co O O D O 0O 0 La fa Lal Lal l 00 0 0 a l C7 s 1 D 0 D Mm vv co Gb GG KG ft tf aT l l vg 7 La Lo Kai Le Kai Lae Kai dh 1 da 3 0 SD E D E u co LL nn M 1 m fo a G 0 0 0 0 von nm M j 14 U J 1 rn a u gt Pa kcal mm m oof as SE Ld LH L E E E Pel Gel Pel E MI O0 0 8 W hk hk ee a rrntartr 4 Tala Ta ke 1 m FA EKmfir am matin M BL 8 Lr Lr Lr LF ee T A an run
15. tate of the devices Save confia attr global verbose 3 normal verbosity min 1 max 5 Fhem Own modules and helper files Per define telnetPort telnet 7072 global our TCP IP port Er Er 199 Utils pm 05 Everything define WEB FHEMWEB 8083 global Save confi Loafile define WEBphone FHEMWEB 8084 global Unsorted styles Howto attr WEBphone stylesheetPrefix smallscreen Commandref define WEBtablet FHEMWEB 8085 global G Everything aan le css Wiki Forum attr WEBtablet stylesheetPrefix touchpad Edit files Fake FileLog entry to access the fhem log from FHEMWEB Lo file darksvg defs sv Select style define Logfile FileLog log fhem tY m log fakelog Howto darksv S le CSS Event monitor define autocreate autocreate attr autocreate autosave Commandref darktouchpadstyle css attr autocrea te device room TYPE iki attr autocreate filelog log NAME Y log Wiki Forum darktouchpadsv defs sv attr autocreate weblink Edit files darktouchpadsv st le Css attr autocreate weblink room Plots Select style Disable this to avoid looking for new USB devices on startup t it floor lans le css define initialUsbCheck notify global INITIALIZED usb create Event monitor smallscreenstyle css Figure 6 FHEM Server Configuration A reference of FHEM commands for EnOcean can be found at http fhem de commandref html EnOcean 2 7 5 Configure the EnOcean Pi FHEM might not recognize the EnOcean Pi as an EnOcean Gateway Controller
16. the EnOcean Pi acts as a bridge Gateway Controller to the EnOcean radio world We recommend using self powered switches and sensors from the EnOcean starter kit ESK300 ESK300U or the Sensor Kit for Raspberry Pi ACTUATORS RCM250 or another actuator can add relay control to the system not included in the kit ma u Web Interface emotean PTM210 Smart Phone switch Home Automation Server L Raspberry Pi EnOQceanPi with Web Interface FHEM sw PC Tablet Je gt 5 d STM 3 20 Temp Sensor STM320 Reed Contact Figure 1 Home Automation Using Raspberry Pi amp EnOcean Pi Page 1 elementiu Raspberry Pi when used with FHEM server software becomes a home automation server The server can be used to automate common tasks such as switching lamps scene illuminations or closing blinds measurement and visualization of power consumption temperature and humidity The server receives and sends EnOcean radio telegrams via the EnOcean Pi The Solar powered radio sensors STM330 temperature sensor amp STM320 reed contact sensor periodically send values which will be interpreted and displayed via the FHEM web interface Self powered switches and FHEM send on off and dim commands to actuators not included in the kit or to a PiFace relay board if connected 1 1 Topics Covered e Installation of Raspberry Pi and preparation for smart home projects e Connection of an EnOcean Pi to Raspberry Pi e Installation of
17. trol your Raspberry Pi via PC 2 7 Installation of the building automation server This example project uses the FHEM server available under a GPL license More details can be found on the FHEM website http fhem de fhem html Page 6 elementi 2 7 1 Installation of the Perl environment including libraries for FHEM 1 FHEM runs as a server on a Perl interpreter which needs to be installed sudo apt get install perl libdevice serialport perl libio socket ssl perl libwww perl Sue 20 GE ns ea Zr 2 7 2 Installation FHEM 1 Please check the FHEM website for the latest version and modify the installation commands below as required geil MELDE aan el tasm 5 45 cleo Sudezdeker lat Nema as ale B 2 FHEM has been installed within the folder opt fhem It starts automatically Note Check the FHEM website for updates and any path changes in new versions 2 7 3 Display of the FHEM Web Interface Start your chosen internet browser and type the following to the address bar hina T po ciate el 30 coy Alus You will get the following user interface on the screen seemed f Nr a gt FHN p wy x b Pe x WEn x ZH x L He x X E e gt C 192 168 178 33 8083 fhem SecurityCheck WEB WEBphone WEBtablet has no basicAuth attribute Fhe telnetPort has no password globalpassword attribute Restart fhem for a new check if the problem is fixed Save config or set the global attribute motd to none to supr
Download Pdf Manuals
Related Search
Related Contents
GTS-230N (Brochure) Cucina Professionale Manuel d`installation A4 (pdf imprimable).ai し - 広島県立広島工業高等学校 Instruction Manual for MAS830LH MAS830H Series Digital Multimeter 移動電話基準(PDF:336KB) LCD TV COMBO TFTV1520D USER`S MANUAL Philips Analogue monitor Orbit 1.8 User`s Manual Manuale - Hanna Instruments Copyright © All rights reserved.
Failed to retrieve file