{"id":345,"date":"2013-08-02T20:30:42","date_gmt":"2013-08-02T20:30:42","guid":{"rendered":"http:\/\/www.lelieveld.info\/?p=345"},"modified":"2013-08-02T21:12:06","modified_gmt":"2013-08-02T21:12:06","slug":"rasberry-pi-and-z-wave-makes-razberry","status":"publish","type":"post","link":"https:\/\/www.lelieveld.info\/?p=345","title":{"rendered":"Rasberry Pi and Z-Wave makes Razberry"},"content":{"rendered":"<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" alt=\"Razberry\" src=\"http:\/\/www.lelieveld.info\/wp-content\/uploads\/2013\/08\/Razberry.png\" width=\"191\" height=\"308\" \/><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-350\" alt=\"OpenRemote\" src=\"http:\/\/www.lelieveld.info\/wp-content\/uploads\/2013\/08\/OpenRemote.png\" width=\"223\" height=\"337\" srcset=\"https:\/\/www.lelieveld.info\/wp-content\/uploads\/2013\/08\/OpenRemote.png 372w, https:\/\/www.lelieveld.info\/wp-content\/uploads\/2013\/08\/OpenRemote-198x300.png 198w\" sizes=\"auto, (max-width: 223px) 100vw, 223px\" \/> Here&#8217;s a guideline to setup ZWave.me GPIO addon on your Rasberry Pi and install OpenRemote.<\/p>\n<p><strong>Hardware<\/strong><br \/>\nZWave.me addon module is bought separately from the Rasberry Pi and can be plugged in using the GPIO pins on the board. So far, for the hardware setup \ud83d\ude42<\/p>\n<p><strong>Software<br \/>\n<\/strong>Setup Rasberry<\/p>\n<ol>\n<li>Download the hardfloat version of Raspbian \u201cwheezy\u201d <a title=\"here\" href=\"http:\/\/www.raspberrypi.org\/downloads\">here<\/a>.<\/li>\n<li>On Ubuntu:<br \/>\nUnzip<br \/>\nPlugin SD card<br \/>\nUnmount card (df -h to check which devices)<br \/>\nsudo dd bs=4M if=~\/Downloads\/2013-05-29&#8230;.img of=\/dev\/sdd<br \/>\nsync<br \/>\nPlugout SD card<\/li>\n<li>Plugin SD card in the raspberry and fire it up<\/li>\n<li>Set timezone<br \/>\nEnable SSH<br \/>\nAlso note the IP for logging on to your Raspberry.<br \/>\n(When you already closed the config, start it again using raspi-config)<\/li>\n<li>Add en_GB locale (or the one for your region) and add to \/etc\/default\/locale<br \/>\nLC_ALL=en_GB.UTF-8<br \/>\nLANGUAGE=en_GB.UTF-8<\/li>\n<\/ol>\n<p>Setup R-wave<\/p>\n<ol>\n<li>Logon to Raspberry via SSH or use the terminal<\/li>\n<li>wget -q -O &#8211; http:\/\/razberry.z-wave.me\/install | sudo bash<\/li>\n<li>Uncomment following lines in \/boot\/config.txt:<br \/>\nframebuffer_width=1280<br \/>\nframebuffer_height=720<\/li>\n<li>Reboot via:<br \/>\nsudo reboot<\/li>\n<li>Check http:\/\/&lt;ip Razberry&gt;:8083 to make sure all is running up to this point.<br \/>\nThe site also provides functions to add new devices, put them on a map, view their state and control them.<\/li>\n<\/ol>\n<p>Install Java 8<\/p>\n<ol>\n<li>Download file using Raspberry or computer<br \/>\nCopy from computer to Raspberry using:<br \/>\nscp jdk-8-ea-b36e-linux-arm-hflt-29_nov_2012.tar.gz pi@192.168.0.148:\/home\/pi<\/li>\n<li>Logon to Raspberry and execute:<br \/>\ntar zxvf\u00a0jdk-8-ea-b36e-linux-arm-hflt-29_nov_2012.tar.gz \/opt<br \/>\nsudo update-alternatives &#8211;install &#8220;\/usr\/bin\/java&#8221; &#8220;java&#8221; \/opt\/jdk1.8.0\/bin\/java 1<br \/>\nsudo update-alternatives &#8211;set java \/opt\/jdk1.8.0\/bin\/java<\/li>\n<li>Add JAVA_HOME to \/etc\/environment:<br \/>\nJAVA_HOME=\/opt\/jdk1.8.0<\/li>\n<li>Add JAVA_HOME and PATH to ~\/.bashrc<br \/>\nexport JAVA_HOME=&#8221;\/opt\/java\/jdk1.8.0&#8243;<br \/>\nexport PATH=$PATH:$JAVA_HOME\/bin<\/li>\n<li>Reboot using:<br \/>\nsudo reboot<\/li>\n<li>After logging on again, Java can be verified by executing: java<\/li>\n<\/ol>\n<p>Install Open Remote<\/p>\n<ol>\n<li>Download from <a title=\"the site\" href=\"http:\/\/download.openremote.org\/2.0\">the site<\/a> using Raspberry or computer<br \/>\nCopy to Raspberry using:<br \/>\nscp OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17.zip pi@192.168.0.1:\/home\/pi<\/li>\n<li>Logon to Raspberry and unzip to \/opt<\/li>\n<li>Install librxtx-java using:<br \/>\nsudo apt-get install librxtx-java<\/li>\n<li>Copy file librxtxSerial.so to OpenRemote:<br \/>\ncp \/usr\/lib\/jni\/librxtxSerial.so \/opt\/OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17\/webapps\/controller\/WEB-INF\/lib\/native\/librxtxSerial.so<\/li>\n<li>OpenRemote is started by going to \/opt\/OpenRemote&#8230;..\/bin and then start using:<br \/>\nfor debugging use: sudo .\/openremote.sh run<br \/>\nfor running in the background use: sudo .\/openremote.sh start<\/li>\n<li>Verify all is working by visiting http:\/\/&lt;ip razberry&gt;:8080\/controller<\/li>\n<li>Sign up for an account at OpenRemote <a title=\"here\" href=\"https:\/\/composer.openremote.org\/demo\">here<\/a>, this is required for the controller (sync panel\/ configuration). Logging on to this site enables you to configure OpenRemote. After that sync. When synced, the configuration is loaded and the panel can be opened via http:\/\/&lt;ip razberry&gt;:8080\/webconsole.<\/li>\n<li>After configuring RRD4J, graphs can be viewed via http:\/\/&lt;ip razberry&gt;:8080\/controller\/graph?name=temperature<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>Upgrading the firmware of the Raspberry Pi via:rpi-update<\/p>\n<p>&nbsp;<\/p>\n<p>Update all software on the Raspberry Pi via:<br \/>\nsudo apt-get update &amp;&amp; sudo apt-get upgrade<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a guideline to setup ZWave.me GPIO addon on your Rasberry Pi and install OpenRemote. Hardware ZWave.me addon module is bought separately from the Rasberry Pi and can be plugged in using the GPIO pins on the board. So far, for the hardware setup \ud83d\ude42 Software Setup Rasberry Download the hardfloat version of Raspbian \u201cwheezy\u201d &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.lelieveld.info\/?p=345\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[68,67,66,62,63,64,65],"class_list":["post-345","post","type-post","status-publish","format-standard","hentry","category-house","tag-automation","tag-home","tag-openremote","tag-rasberry-pi","tag-razberry","tag-z-wave","tag-z-wave-me","item-wrap"],"_links":{"self":[{"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=345"}],"version-history":[{"count":7,"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions\/354"}],"wp:attachment":[{"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lelieveld.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}