From 5a25a0481ef6d69ecdc61890a37cc652e010bf2b Mon Sep 17 00:00:00 2001 From: caesar1111 Date: Tue, 13 Jun 2017 23:00:54 +0200 Subject: [PATCH] Create openHAB2_Raspberry_beginner-s_walkthrough_-_2nd _DRAFT.md --- ...rry_beginner-s_walkthrough_-_2nd _DRAFT.md | 382 +++++++++--------- 1 file changed, 191 insertions(+), 191 deletions(-) rename openHAB2_Raspberry_beginner-s_walkthrough_-_2nd _DRAFT.htm => openHAB2_Raspberry_beginner-s_walkthrough_-_2nd _DRAFT.md (95%) diff --git a/openHAB2_Raspberry_beginner-s_walkthrough_-_2nd _DRAFT.htm b/openHAB2_Raspberry_beginner-s_walkthrough_-_2nd _DRAFT.md similarity index 95% rename from openHAB2_Raspberry_beginner-s_walkthrough_-_2nd _DRAFT.htm rename to openHAB2_Raspberry_beginner-s_walkthrough_-_2nd _DRAFT.md index 9b8bd3a..a4e107f 100644 --- a/openHAB2_Raspberry_beginner-s_walkthrough_-_2nd _DRAFT.htm +++ b/openHAB2_Raspberry_beginner-s_walkthrough_-_2nd _DRAFT.md @@ -1422,8 +1422,8 @@ ul style='position:absolute;left:445px;top:-141px;width:324px;height:300px'>openHAB2 Raspberry beginner’s walkthrough -– (Using Raspberry Pi 3 with openHAB2 and Z-Wave, WiFi LED, Samsung TV and +alt="2nd Draft">openHAB2 Raspberry beginnerÂ’s walkthrough +– (Using Raspberry Pi 3 with openHAB2 and Z-Wave, WiFi LED, Samsung TV and YahooWeather bindings for a home automation project)

@@ -1468,7 +1468,7 @@ none'> 7

Additional hardware -for optional setup of the controller with 7” Raspberry display: 8

@@ -1532,7 +1532,7 @@ setup: < style='color:windowtext;display:none;text-decoration:none'>16

Optional: -Installation of 7” Raspberry display and display case: 17

@@ -1547,7 +1547,7 @@ text-decoration:none'>. 21

Starting up -Raspberry or the first time – Raspbian PIXEL desktop. 21

@@ -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 display

Case no name incl. ventilation

normal'>Bluetooth Keyboard Rapoo Bluetooth Keyboard qwertz German layout

Display 7” Raspberry display

+ normal'>Display 7” Raspberry display

Case 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.

none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0cm 5.4pt 0cm 5.4pt'>

 Â Product Details

@@ -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)

 Â 

@@ -2351,11 +2351,11 @@ touchscreen interface directly to interact with your home automation):

 Â Product Details Product Details Product Details Product Details Product Details

@@ -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:

Z-Wave NodOn Smart Plug, Schalt- und Messsteckdose, Schuko, 1 Stück, NODEMSP3101

+ 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)

(3,98 €/m) 5m LED Stripe 12V dimmbar - 24W 1200lm - SMD 300 x 3528 60SMD/m - IP20 selbstklebend - 8mm - warmweiß (3000 K)

+ alt="(3,98 €/m) 5m LED Stripe 12V dimmbar - 24W 1200lm - SMD 300 x 3528 60SMD/m - IP20 selbstklebend - 8mm - warmweiß (3000 K)">

@@ -2796,8 +2796,8 @@ adaptions on the tutorial e.g. mounting the Raspberry file system to PC)<

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


@@ -3060,7 +3060,7 @@ clear=all style='page-break-before:always'>

Bildergebnis für raspberry pi 3Bildergebnis für raspberry pi 3Product Details src="openHAB2_Raspberry_beginner-s_walkthrough_-_2nd%20_DRAFT_files/image003.jpg" alt="Product Details">Bildergebnis für raspberry pi 3

+ alt="Bildergebnis für raspberry pi 3">

@@ -3091,7 +3091,7 @@ clear=all style='page-break-before:always'> border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>

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)

Bildergebnis für raspberry pi 3Bildergebnis für raspberry pi 3Product Details src="openHAB2_Raspberry_beginner-s_walkthrough_-_2nd%20_DRAFT_files/image008.jpg" alt="Product Details">Bildergebnis für raspberry pi 3

+ alt="Bildergebnis für raspberry pi 3">

@@ -3144,7 +3144,7 @@ clear=all style='page-break-before:always'> src="openHAB2_Raspberry_beginner-s_walkthrough_-_2nd%20_DRAFT_files/image045.jpg" alt="Product Details">Bildergebnis für raspberry pi 3

+ alt="Bildergebnis für raspberry pi 3">

@@ -3158,7 +3158,7 @@ clear=all style='page-break-before:always'>

 

-

Optional: Installation of 7” Raspberry +

Optional: Installation of 7” Raspberry display and display case:

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 chapter


@@ -3612,7 +3612,7 @@ are matching.

NOTE: 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”)

@@ -3749,7 +3749,7 @@ results in

Optional: Change display orientation

-

If you are working with the 7” Raspberry +

If you are working with the 7” Raspberry display setup you might need to flip/rotate the display orientation for specific cases

@@ -3766,7 +3766,7 @@ specific cases

Ähnliches FotoÄhnliches Foto

@@ -3804,11 +3804,11 @@ specific cases

Optional: You can choose from different angles

    0 degrees rotation

+ normal'>    0 degrees rotation

or

  90 degrees rotation

+ normal'>  90 degrees rotation

or

Changing Password:

This is important to secure your standard Raspberry -user “pi” before you connect the Raspberry to the network.

+user “pi” before you connect the Raspberry to the network.

NOTE: Make sure you have changed the keyboard layout to your requirements before change @@ -3942,7 +3942,7 @@ the password.

@@ -4103,7 +4103,7 @@ of the Raspberry in the terminal

Ähnliches Foto

+ alt="Ähnliches Foto">

@@ -4165,7 +4165,7 @@ configuration.

Ähnliches Foto

+ alt="Ähnliches Foto">

@@ -4225,7 +4225,7 @@ time, it is done automatically and the Raspberry will restart automatically):Ähnliches FotoÄhnliches Foto

@@ -4353,7 +4353,7 @@ to a application first create a *.desktop file

NOTE: This -example is creating the desktop icon for the user “pi”

+example is creating the desktop icon for the user “pi”

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:    Enable

Serial: Enable

@@ -4368,7 +4368,7 @@ example is creating the desktop icon for the user

Ähnliches FotoÄhnliches Foto

@@ -4376,7 +4376,7 @@ example is creating the desktop icon for the user @@ -4512,7 +4512,7 @@ consider whether you really want to enable this user!

@@ -4645,7 +4645,7 @@ clear=all style='page-break-before:always'>

Optional: Raspbian PIXEL screensaver (xscreensaver)

-

If you are working with the 7” Raspberry +

If you are working with the 7” Raspberry display setup you might want to use a screensaver as well.

Installation of xscreensaver:

@@ -4663,7 +4663,7 @@ display setup you might want to use a screensaver as well.

Ähnliches FotoÄhnliches Foto

@@ -4768,7 +4768,7 @@ completely.

normal'><check> Quick Power-off in Blank Only Mode

 (Display Power Management)

+ normal'> (Display Power Management)

NOTE: This is just a sample switching off the screen after 10 minutes

@@ -4822,7 +4822,7 @@ server on Raspbian boot

Ähnliches FotoÄhnliches Foto

@@ -4863,7 +4863,7 @@ server on Raspbian boot normal'>Optional parameters:

--kiosk (for full screen mode. NOTE: to exit full - screen mode you have to press “Alt+F4” on the keyboard of the Raspberry, so + screen mode you have to press “Alt+F4” on the keyboard of the Raspberry, so you have to have a keyboard installed to exit this mode!)

--incognito (for incognito mode of the browser)

@@ -5047,7 +5047,7 @@ your windows system using, KiTTY or PuTTY: border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>

Enter Hostname (pi@ in front of the IP is giving the - user you want to use for connecting, in this case the standard user “pi”), + user you want to use for connecting, in this case the standard user “pi”), Port and Connection type

Select Open to launch the terminal

@@ -5108,7 +5108,7 @@ your windows system using, KiTTY or PuTTY: border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>

Now a terminal window is opening on our PC asking - you to enter the “pi” user password

+ you to enter the “pi” user password

@@ -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 Server

#   wins support = no

+ normal'>#   wins support = no

wins support = yes

@@ -5545,7 +5545,7 @@ this section if you only want to use samba for openHAB2

Create a special user sambausr  for the samba server so you not have to use the root or pi user + lang=EN-GB> for the samba server so you not have to use the root or pi user to allow access to the directories on the Raspberry

@@ -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!

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!

@@ -4487,7 +4487,7 @@ consider whether you really want to enable this user!

Ähnliches FotoÄhnliches Foto

Just enter twice the new password for the “root” + normal'>Just enter twice the new password for the “root” user

Ähnliches FotoÄhnliches Foto

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

Ähnliches FotoÄhnliches Foto

Enter 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

http://docs.openhab.org/installation/linux.html#package-repository-installation) For the Raspbian you have to go for the “Apt Based Systems” part +lang=EN-GB>) For the Raspbian you have to go for the “Apt Based Systems” part of it.

Ähnliches FotoÄhnliches Foto

@@ -6025,7 +6025,7 @@ your Raspbian.

padding:0cm 5.4pt 0cm 5.4pt'>

The shares are configured to be not open for guests - nor to the public. Let’s activate the “openhab” user as a samba user

+ nor to the public. Let’s activate the “openhab” user as a samba user

@@ -6180,7 +6180,7 @@ dialout an tty

Ähnliches FotoÄhnliches Foto

@@ -6225,7 +6225,7 @@ dialout an tty normal'>Optional: Enter command

(f you are looking to enable sound privileges for - openHAB2, it will also be necessary to add openHAB2 to the “audio” group.)

+ openHAB2, it will also be necessary to add openHAB2 to the “audio” group.)

@@ -6288,9 +6288,9 @@ to serial ports @@ -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'>

Optional: Download the 32 bit version since there - are reports about the “stable” 64 bit version running not stable

+ are reports about the “stable” 64 bit version running not stable

@@ -6774,7 +6774,7 @@ referring to PAPER UI GUI I will try to stick to this GUI as long as possible. <

-          -HABmin GUI will be needed for some  Z-Wave +HABmin GUI will be needed for some  Z-Wave installation

Additionally you will find the <WiFi LED Binding>, which we - manually installed in “Chapter 6: Installation of openHAB2 on Raspberry” + manually installed in “Chapter 6: Installation of openHAB2 on Raspberry” since this is a snapshot Binding which we managed manually

@@ -9498,7 +9498,7 @@ posting the value of the variable inside the rule

padding:0cm 5.4pt 0cm 5.4pt'>

 

+ src="openHAB2_Raspberry_beginner-s_walkthrough_-_2nd%20_DRAFT_files/image183.jpg"> 

@@ -9564,7 +9564,7 @@ posting the value of the variable inside the rule

padding:0cm 5.4pt 0cm 5.4pt'>

 Â 

 

+ src="openHAB2_Raspberry_beginner-s_walkthrough_-_2nd%20_DRAFT_files/image183.jpg"> 

@@ -9878,7 +9878,7 @@ fitness but surely is disturbing while developing your rule

padding:0cm 5.4pt 0cm 5.4pt'>

 Â 

 Â 

@@ -9939,8 +9939,8 @@ only allows to triggering the switch if there reading is consistently (10 times) above or below the trigger value.

NOTE: Make sure you have create the item Counter_Item -since it’s used in the rule (see: part “Creating an item the see the value of a -variable of a rule online” in this chapter).

+since it’s used in the rule (see: part “Creating an item the see the value of a +variable of a rule online” in this chapter).

REMARK: This was done as some kind of coding and configuring HABPANEL exercise. You might get the same result in just @@ -9951,14 +9951,14 @@ trigger value.

You can also use this Counter_Item to display some tendency whether your light is about to switch ON/OFF depending on the value of the Counter_Item on your dashboard. So if you play a little with -the “knob” widget in HABPANEL it might look like this:

+the “knob” widget in HABPANEL it might look like this:

 Â  Â  Â 

@@ -10024,7 +10024,7 @@ of your existing rule file or create a new file in the same folder

the value is checked

            Time cron

trigger value when ligth is swiched ON/OFF

            if (MultiSens_Helligkeit.state <= ) {

                        if (loop_counter

"Courier New";color:black'>) {

                                    loop_counter = loop_counter

lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7D7D7D'>1

                  postUpdate(Counter_Item, + font-family:"Courier New";color:black'>                  postUpdate(Counter_Item, loop_counter)

            }

+ font-family:"Courier New";color:black'>            }

                        else {

                                    if (DoubbleSwitch01_Relais1.state == )

                  sendCommand (DoubbleSwitch01_Relais1, + font-family:"Courier New";color:black'>                  sendCommand (DoubbleSwitch01_Relais1, ON)

            }

+ font-family:"Courier New";color:black'>            }

      }

+ font-family:"Courier New";color:black'>      }

            else

                        if (loop_counter

"Courier New";color:black'>) {

                                    loop_counter =loop_counter

lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7D7D7D'>1

                  postUpdate(Counter_Item, + font-family:"Courier New";color:black'>                  postUpdate(Counter_Item, loop_counter)

            }

+ font-family:"Courier New";color:black'>            }

                        else {

                                    if (DoubbleSwitch01_Relais1.state == )

                  sendCommand (DoubbleSwitch01_Relais1, + font-family:"Courier New";color:black'>                  sendCommand (DoubbleSwitch01_Relais1, OFF)

            }

+ font-family:"Courier New";color:black'>            }

            }

+ font-family:"Courier New";color:black'>            }

else {

                        loop_counter = 0

            }

+ color:black'>            }

end

@@ -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:

Ähnliches FotoÄhnliches Foto

Change the text from (nothing between the “”)

+ normal'>Change the text from (nothing between the “”)

To (something between the “”)

+ normal'>To (something between the “”)

 

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.

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 HABmin

ATTENTION: 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.

@@ -8646,7 +8646,7 @@ clear=all style='page-break-before:always'>

Chapter 12: Creating rules

-

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.

@@ -8844,7 +8844,7 @@ community will find the time to create a kind of an openHAB2 compendium to make it easier the non-experts to do rules.

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.

@@ -8901,7 +8901,7 @@ Smart Plug ON/OFF

font-family:"Courier New";color:#7F0055'>when

            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'> Â