From 5a25a0481ef6d69ecdc61890a37cc652e010bf2b Mon Sep 17 00:00:00 2001
From: caesar1111
Additional hardware -for optional setup of the controller with 7” Raspberry display:
@@ -1532,7 +1532,7 @@ setup:Optional: -Installation of 7” Raspberry display and display case:
@@ -1547,7 +1547,7 @@ text-decoration:none'>.Starting up -Raspberry or the first time – Raspbian PIXEL desktop
@@ -1951,7 +1951,7 @@ clear=all style='page-break-before:always'>USB Keyboard basic Microsoft qwertz German layout
Display HDMI connection to 24” computer display
+ normal'>Display HDMI connection to 24” computer displayCase no name incl. ventilation
normal'>Bluetooth Keyboard Rapoo Bluetooth Keyboard qwertz German layout
Display 7” Raspberry display
+ normal'>Display 7” Raspberry displayCase premium case for Raspberry Pi 7" Touch-Display (the closed version)
@@ -2024,12 +2024,12 @@ clear=all style='page-break-before:always'>- - Section “Shopping list”
+ Section “Shopping list”- - Section “Adding local things connected via - network (IP)”
+ Section “Adding local things connected via + network (IP)”- @@ -2075,13 +2075,13 @@ to go through the things step by step, so you should be able to get everything done, even without exactly having to go into all the details. That is one of the reasons I am also using the graphical GUI PIXEL for Raspbian since I thing it makes it easier for the beginners to get started (and you might want to use -PIXEL anyway when you are using the Raspberry 7” display as interface for your +PIXEL anyway when you are using the Raspberry 7” display as interface for your home automation controller)
This tutorial is also based on having a Windows PC to support the setup process. You might be able to completely do it without the support of an extra PC, if you can get a MicroSD card with a -pre-installed Raspbian OS and use the display options (the Raspberry 7” display +pre-installed Raspbian OS and use the display options (the Raspberry 7” display or HDMI Display) for the Raspberry.
DISCLAIMER:
@@ -2111,7 +2111,7 @@ online documentation is still for the openHAB version and will not be applicable for openHAB2!So the best thing is always to go to the
-official webpage of openHAB2 and start from there, and only if you really can’t
+official webpage of openHAB2 and start from there, and only if you really canÂ’t
find the information or the link there, go to google and search for other
solutions. I was always using the search setting (last year) so it was more
likely to the results considering openHAB2 and not openHAB.
Â
@@ -2258,7 +2258,7 @@ also containing parts for this optional setup: border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>Raspberry case (optional, will not be needed - if you are going for the 7” Raspberry display setup)
+ if you are going for the 7” Raspberry display setup)@@ -2276,7 +2276,7 @@ also containing parts for this optional setup: border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
Display with HDMI input ( optional, will not - be needed if you are going for the 7” Raspberry display setup)
+ be needed if you are going for the 7” Raspberry display setup)Â
  Â
@@ -2464,7 +2464,7 @@ always make sure to use the hardware which is allowed in your country!NOT REALLY an Alternative: RaZberry2 Z-Wave Plus Daughter Card for Raspberry Pi Home Automation (not plug and play compatible with optional setup of the - controller with 7” Raspberry display!) + controller with 7” Raspberry display!)Pros:
+ alt="Z-Wave NodOn Smart Plug, Schalt- und Messsteckdose, Schuko, 1 Stück, NODEMSP3101"> @@ -2728,7 +2728,7 @@ later in this tutorial since we will need it for the WiFi LED controller) + alt="(3,98 €/m) 5m LED Stripe 12V dimmbar - 24W 1200lm - SMD 300 x 3528 60SMD/m - IP20 selbstklebend - 8mm - warmweiß (3000 K)">The latest Raspbian (Raspberry OS) image
You have to download the “Raspbian Jessie with PIXEL - - Image with PIXEL desktop based on Debian Jessie” since this tutorial is + normal'>You have to download the “Raspbian Jessie with PIXEL + - Image with PIXEL desktop based on Debian Jessie” since this tutorial is using PIXEL
src="openHAB2_Raspberry_beginner-s_walkthrough_-_2nd%20_DRAFT_files/image003.jpg" alt="Product Details">
+ alt="Bildergebnis für raspberry pi 3">Connect Raspberry with display using HDMI ( - optional, will not be needed if you are going for the 7” Raspberry + optional, will not be needed if you are going for the 7” Raspberry display setup)
src="openHAB2_Raspberry_beginner-s_walkthrough_-_2nd%20_DRAFT_files/image008.jpg" alt="Product Details">
+ alt="Bildergebnis für raspberry pi 3">-
The full tutorial will be found on:
@@ -3178,7 +3178,7 @@ color:windowtext;text-decoration:none'>https://www.youtube.com/watch?v=tK-w-wDvR had an issue with plugging in the power supply to the micro USB power input on the circuit board of the display (like shown in the video). The Raspberry was still showing me the low power symbol (lightening symbol on the upper right -corner) SOLUTION: I had to plug in the power supply to the micro USB power +corner) SOLUTION:Â I had to plug in the power supply to the micro USB power input on the Raspberry itself. The display is now powered via the jumper cables. The standard display case is also allowing for both micro USB power inputs to be used. @@ -3310,7 +3310,7 @@ configuration of Raspbian) padding:0cm 5.4pt 0cm 5.4pt'>Assembly of the standard display. (Make sure you - have inserted the MicroSD card since you won’t have access to the slot as + have inserted the MicroSD card since you wonÂ’t have access to the slot as soon as you mounted the case!)
Just pull the back plate off the case, insert the
@@ -3336,7 +3336,7 @@ clear=all style='page-break-before:always'>
Chapter 4: Raspbian basic configuration
Starting up Raspberry or the first
-time – Raspbian PIXEL desktop
+time – Raspbian PIXEL desktop
Since this tutorial is focussing on using the PIXEL GUI here are a few basic tips
@@ -3374,14 +3374,14 @@ height=230 src="openHAB2_Raspberry_beginner-s_walkthrough_-_2nd%20_DRAFT_files/image060.png" alt="Web browser"> +alt="Ähnliches Foto">
NOTE: If you -are working with the 7” Raspberry display setup you might need to flip/rotate -the display orientation. Just check the section” Optional: Change display -orientation” later in this chapter
+are working with the 7” Raspberry display setup you might need to flip/rotate +the display orientation. Just check the section” Optional: Change display +orientation” later in this chapterNOTE: Do not change the password before you have changed the keyboard layout since you might put in a different password than you expect (e.g. US qwerty vs. German qwertz -results in “Raspberrz” instead of “Raspberry”)
+results in “Raspberrz” instead of “Raspberry”)
Enter initial (for standard user “pi” it is “Raspberry” + normal'>Enter initial (for standard user “pi” it is “Raspberry” and your new password |
SSH: Enable + normal'>SSH:Â Â Â EnableSerial: Enable |
@@ -4103,7 +4103,7 @@ of the Raspberry in the terminal
+ alt="Ähnliches Foto">
Go to the directory desktop for your “pi” user + normal'>Go to the directory desktop for your “pi” user |
Enabling root user:-Since by default the “root” disabled it
-can’t be used. You might want to enable it for certain purposes like e.g.
+ Since by default the “root” disabled it
+canÂ’t be used. You might want to enable it for certain purposes like e.g.
enabling the root user for samba file server to get full access to the
directories from a PC (see chapter setup samba server) NOTE: There
-is a reason for the “root” being disabled! Enabling the user is allowing full
+is a reason for the “root” being disabled! Enabling the user is allowing full
access to the Raspbian and therefore creating a security risk. Please always
consider whether you really want to enable this user! |
@@ -4512,7 +4512,7 @@ consider whether you really want to enable this user!
Just enter twice the new password for the “root” + normal'>Just enter twice the new password for the “root” user |
@@ -4645,7 +4645,7 @@ clear=all style='page-break-before:always'> | For full access you have
-to use the user “root” (user needs to be enabled since it is disabled in
+to use the user “root” (user needs to be enabled since it is disabled in
standard setup, procedure shown later in the tutorial), but enabling this user
for SSH access is opening up a significant security risk, so it is recommended
to use as Raspberry based Samba server for full access to specific directories
@@ -5204,7 +5204,7 @@ to use as Raspberry based Samba server for full access to specific directories
normal'>Enter User name: pi (standard user with limited
access to the file system)
Enter Password for “pi” + normal'>Enter Password for “pi” |
WinSCP is launched showing the windows directory on - the left side and the “pi” user home directory of the Raspberry on the right + the left side and the “pi” user home directory of the Raspberry on the right side of the window |
http://docs.openhab.org/installation/linu | @@ -5374,7 +5374,7 @@ color:windowtext;text-decoration:none'>http://docs.openhab.org/installation/linu normal'># WINS Support - Tells the NMBD component of Samba to enable its WINS ServerEnter the new value, or press ENTER for the default
Full Name []: + normal'>Â Â Â Â Â Â Â Full Name []:Room Number []: + normal'>Â Â Â Â Â Â Â Room Number []:Work Phone []: + normal'>Â Â Â Â Â Â Â Work Phone []:Home Phone []: + normal'>Â Â Â Â Â Â Â Home Phone []:Other []: + normal'>Â Â Â Â Â Â Â Other []:Is the information correct? [Y/n] y |
@@ -5643,7 +5643,7 @@ of allowing the sambausr
specific folders by applying the chown command, you might consider enable the root user and use the root
user to connect to the Raspberry from the file system (see chapter Optional Raspberry
-settings and configuration). But be aware that enabling the “root” user is
+settings and configuration). But be aware that enabling the “root” user is
creating a security risk!
@@ -6055,7 +6055,7 @@ your Raspbian.
border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
Be aware, that creating and later using a specific - user will ensure that permissions are honoured. Make sure, the “openhab” user + user will ensure that permissions are honoured. Make sure, the “openhab” user has ownership and/or write access to the openHAB2 configuration files. This can be accomplished by executing: |
@@ -6180,7 +6180,7 @@ dialout an tty
@@ -6225,7 +6225,7 @@ dialout an tty
normal'>Optional: Enter command
@@ -6288,9 +6288,9 @@ to serial ports |
Change the text from (nothing between the “”) + normal'>Change the text from (nothing between the “”)To (something between the “”) + normal'>To (something between the “”)
|
@@ -6379,7 +6379,7 @@ color:windowtext;text-decoration:none'>http://docs.openhab.org/installation/desi
border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
http://docs.openhab.org/installation/desi
Select “See all Java downloads” + normal'>Select “See all Java downloads”
http://docs.openhab.org/installation/desi Start the Java installer Select on the first screen “Change destination - folder” + normal'>Select on the first screen “Change destination + folder”
http://docs.openhab.org/installation/desi
NOTE: This is now delivering you a “portable” + normal'>NOTE: This is now delivering you a “portable” version of the Eclipse Smart Home Designer which just can be copied/moved to different locations or machines without the need of reinstalling. |
@@ -6774,7 +6774,7 @@ referring to PAPER UI GUI I will try to stick to this GUI as long as possible. <
https://github.com/openhab/org.openhab.ui
normal'>Just select the <Add> button to include this
device as a thing for openHAB2
NOTE: some devices may come up as “unknown - device”. You can still add the device and “cure” the information later. + normal'>NOTE: some devices may come up as “unknown + device”. You can still add the device and “cure” the information later.The normal reason for this is that the device was not able to finish the communication with HABmin during the inclusion process @@ -7752,8 +7752,8 @@ color:windowtext;text-decoration:none'>https://github.com/openhab/org.openhab.ui device is recognized as a proper thing in HABminATTENTION: Using the Aeotec by Aeon Labs Z-Stick - Gen5 almost every battery powered item will come up as “unknown - device” since in the timespan you include the battery device to the stick + Gen5 almost every battery powered item will come up as “unknown + device” since in the timespan you include the battery device to the stick and you do the HABmin inclusion after you plugged the stick back in will be to long an most of the devices will go back to sleep. You might prevent this by manually waking up the device again just seconds before you start the @@ -7830,7 +7830,7 @@ physically added to a system and which can potentially provide many functionalities at once. It is important to note that things do not have to be devices, but they can also represent a web service or any other manageable source of information and functionality. Things provide their functionality -through a set of Channels. Channels are “passive” and can be regarded as a +through a set of Channels. Channels are “passive” and can be regarded as a declaration of a Thing, what it can offer. It is up to the individual setup, which of the Channels are actively used through Items (see below). @@ -7840,7 +7840,7 @@ logic. Items have a state and they can receive commands.The glue between Things and Items are Links. Links are associations between exactly one Thing Channel and one Item. -If a Channel is linked to an Item, it is “enabled”, which means that the +If a Channel is linked to an Item, it is “enabled”, which means that the functionality that the Item represents is handled through the given Channel. Channels can be linked to multiple Items and Items can be linked to multiple Channels. @@ -7961,7 +7961,7 @@ project normal'>The next window coming up will allow you to select already existing items or:In our case <+Create new item…> + normal'>In our case <+Create new itemÂ…> |
http://docs.openhab.org/addons/uis/HABPAN
HABMIN dashboard-And once again, since this is a beginner’s
-tutorial I can’t go into all the possibilities of how to create a dashboard in
+ And once again, since this is a beginnerÂ’s
+tutorial I canÂ’t go into all the possibilities of how to create a dashboard in
openHAB2. So I will not go into creating a dashboard in HABMIN. But be aware
the HABMIN is providing a powerful graphical way of creating dashboards you
might want to have a look at. Since rules can’t be configured using the
+ Since rules canÂ’t be configured using the
PAPER UI (stable version) you now have to go to the text files for now. For this
part we will now use the Eclipse Smart Home Designer
since it creates at least some syntax highlighting. REMAKR: Yes, I know there are plenty of
-online documentation sites available, but the problem for me was the “plenty”
+online documentation sites available, but the problem for me was the “plenty”
part of it since I always had to go through plenty different websites to finally
get the syntax right and make the rule do, what I wanted it to do.      Item ZWaveNode9ZW0884ButtonKeyfobGen5_SceneNumber left) pressed short     if (ZWaveNode9ZW0884ButtonKeyfobGen5_SceneNumber.state == sendCommand (DoubbleSwitch01_Relais1, + font-family:"Courier New";color:black'>                 sendCommand (DoubbleSwitch01_Relais1, ON) sendCommand (SchuKo01, + font-family:"Courier New";color:black'>                 sendCommand (SchuKo01, ON) } + font-family:"Courier New";color:black'>     }@@ -8950,7 +8950,7 @@ Smart Plug ON/OFF left) pressed long      if (ZWaveNode9ZW0884ButtonKeyfobGen5_SceneNumber.state == sendCommand (DoubbleSwitch01_Relais1, + font-family:"Courier New";color:black'>                 sendCommand (DoubbleSwitch01_Relais1, OFF) sendCommand (SchuKo01, + font-family:"Courier New";color:black'>                 sendCommand (SchuKo01, OFF) } + font-family:"Courier New";color:black'>     }@@ -8984,7 +8984,7 @@ Smart Plug ON/OFF left) pressed short      if (ZWaveNode9ZW0884ButtonKeyfobGen5_SceneNumber.state == //Switching ON the items - YamahaReceiverRXV581_Power and DUMMYITEM_SamsungTV_Power + YamahaReceiverRXV581_Power and DUMMYITEM_SamsungTV_Power  ÂsendCommand (YamahaReceiverRXV581_Power, + font-family:"Courier New";color:black'>                 sendCommand (YamahaReceiverRXV581_Power, ON) sendCommand (DUMMYITEM_SamsungTV_Power, + font-family:"Courier New";color:black'>                 sendCommand (DUMMYITEM_SamsungTV_Power, ON) } + font-family:"Courier New";color:black'>     }@@ -9018,7 +9018,7 @@ Smart Plug ON/OFF left) pressed long      if (ZWaveNode9ZW0884ButtonKeyfobGen5_SceneNumber.state == //Switching OFF the items - YamahaReceiverRXV581_Power and DUMMYITEM_SamsungTV_Power + YamahaReceiverRXV581_Power and DUMMYITEM_SamsungTV_Power  ÂsendCommand (YamahaReceiverRXV581_Power, + font-family:"Courier New";color:black'>                 sendCommand (YamahaReceiverRXV581_Power, OFF) sendCommand (DUMMYITEM_SamsungTV_Power, + font-family:"Courier New";color:black'>                 sendCommand (DUMMYITEM_SamsungTV_Power, OFF) + font-family:"Courier New";color:black'>)      Â} + font-family:"Courier New";color:black'>     }@@ -9052,7 +9052,7 @@ Smart Plug ON/OFF left) pressed short      if (ZWaveNode9ZW0884ButtonKeyfobGen5_SceneNumber.state == sendCommand (HFLPB100ZJ200_Power, + font-family:"Courier New";color:black'>                 sendCommand (HFLPB100ZJ200_Power, ON) + font-family:"Courier New";color:black'>)  Â} + font-family:"Courier New";color:black'>     }@@ -9080,7 +9080,7 @@ Smart Plug ON/OFF left) pressed long      if (ZWaveNode9ZW0884ButtonKeyfobGen5_SceneNumber.state == sendCommand (HFLPB100ZJ200_Power, + font-family:"Courier New";color:black'>                 sendCommand (HFLPB100ZJ200_Power, OFF) + font-family:"Courier New";color:black'>) Â} + font-family:"Courier New";color:black'>     }@@ -9111,7 +9111,7 @@ Smart Plug ON/OFF left) pressed short      if (ZWaveNode9ZW0884ButtonKeyfobGen5_SceneNumber.state == // so if you want to set + font-family:"Courier New";color:#3F7F5F'>//         so if you want to set both values at the same time, always // set color first and than + font-family:"Courier New";color:#3F7F5F'>//         set color first and than// set the dimming of WHITE + font-family:"Courier New";color:#3F7F5F'>//     set the dimming of WHITE@@ -9149,35 +9149,35 @@ Smart Plug ON/OFF just go to e.g. http://www.rapidtables.com/convert/color/rgb-to-hsl.htm sendCommand (HFLPB100ZJ200_Color,(                 sendCommand (HFLPB100ZJ200_Color,(new HSBType("0,100,50"))) + 10.0pt;font-family:"Courier New";color:black'>))) Â//Dimming the item HFLPB100ZJ200_White to 50% sendCommand (HFLPB100ZJ200_White, + font-family:"Courier New";color:black'>                 sendCommand (HFLPB100ZJ200_White, 50) } + font-family:"Courier New";color:black'>     }+ font-family:"Courier New";color:black'>     //Scene number 8 - Button 4 (up left) pressed long      if (ZWaveNode9ZW0884ButtonKeyfobGen5_SceneNumber.state == // so if you want to set + font-family:"Courier New";color:#3F7F5F'>//         so if you want to set both values at the same time, always // set color first and than + font-family:"Courier New";color:#3F7F5F'>//         set color first and than// set the dimming of WHITE + font-family:"Courier New";color:#3F7F5F'>//     set the dimming of WHITE@@ -9215,7 +9215,7 @@ Smart Plug ON/OFF just go to e.g. http://www.rapidtables.com/convert/color/rgb-to-hsl.htm sendCommand (HFLPB100ZJ200_Color,(                 sendCommand (HFLPB100ZJ200_Color,(new HSBType()))                  //Dimming the item HFLPB100ZJ200_White to 100%                  sendCommand (HFLPB100ZJ200_White, 100) } + color:black'>     }end + color:black'>  |