https://wiki.elvis.science/api.php?action=feedcontributions&user=Stischler&feedformat=atomEmbedded Lab Vienna for IoT & Security - User contributions [en]2024-03-28T19:58:22ZUser contributionsMediaWiki 1.37.2https://wiki.elvis.science/index.php?title=Botnet_Simulation_Framework_(BSF)&diff=5450Botnet Simulation Framework (BSF)2020-12-21T15:40:50Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The Botnet Simulation Framework tries to make the race between the botnet users and the botnet defenders more even. It offers the playing field for defenders to evaluate new botnet monitoringtechniques and countermeasures. You can create realisitic peer-to-peer network simulations and visualize them to analyse them further. The simulation part is based on OMNeT++ originally based on version 4.5.1 in this documentation the latest version was 5.6.2 which also worked. The visualization part is based on dash.<br />
In this documentation you will learn how to install all components of the BSF and get it running.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Ubuntu 18.04 bionic amd64 [https://releases.ubuntu.com/ Ubuntu Download]<br />
* OMNeT++: [https://https://omnetpp.org/download/ OMNeT++ Download]<br />
* Packages: pip<br />
<br />
== Installation Guide ==<br />
<br />
=== OMNet++ download ===<br />
<br />
First we need to download the generic archive of OMNeT++ from the link above and copy it to the directory you want to install it. <br />
<br />
Then navigate to the directory you choose and enter this command in the shell with the version number that you downloaded in my case:<br />
<br />
tar xvfz omnetpp-5.6.2-src.tgz<br />
<br />
This will create an omnetpp-5.6.2 subdirectory with the OMNeT++ files in it.<br />
<br />
Next we need to set the environment variables by editing the .bashrc file in your home dircetory for example with gedit or nano:<br />
<br />
gedit ~/.bashrc<br />
<br />
Add this line with the version number you downloaded at the end and save it:<br />
<br />
export PATH=$HOME/omnetpp-5.6.2/bin:$PATH<br />
<br />
After this we will need to restart the terminal to make the changes happen.<br />
<br />
=== OMNet++ required packages ===<br />
<br />
Now we come to the packages we need. If you do not want to use the terminal to install all the packages you can use Synaptic and install the via the graphical interface.<br />
<br />
For ther Terminal we first enter:<br />
<br />
sudo apt-get update<br />
<br />
then come these lines to install the required packages:<br />
<br />
sudo apt-get install build-essential gcc g++ bison flex perl<br />
sudo apt-get install python python3 qt5-default libqt5opengl5-dev tcl-dev tk-dev<br />
sudo apt-get install libxml2-dev zlib1g-dev default-jre doxygen graphviz libwebkitgtk-3.0-0 <br />
<br />
Next is the installation of the osgearth development package and OpenSceneGraph:<br />
<br />
sudo apt-get install openscenegraph-plugin-osgearth libosgearth-dev<br />
sudo apt-get install openmpi-bin libopenmpi-dev<br />
<br />
And the you can optional install PCAP:<br />
<br />
sudo apt-get install libpcap-dev<br />
<br />
=== dash install ===<br />
<br />
To install dash for the visualization of the botnets we need python-pip installed.<br />
<br />
sudo apt install python-pip<br />
<br />
When this is done we just have 5 pip commands to enter:<br />
<br />
pip install dash==1.2.0<br />
pip install dash-daq==0.1.0<br />
pip install networkx<br />
pip install natsort <br />
pip install numpy<br />
<br />
With this dash is installed and we are ready to get things running.<br />
<br />
== Get things running ==<br />
<br />
Download the BSF files from the github linked above and unzip it at your home directory.<br />
<br />
Since BSF only uses the command line we don't need to use the UI of OMNeT++ and can do all of the funktionality via command line.<br />
The makefile is under a different license, as I was told from the creator, so it is not included in the github. Therefore we need to generate our makefile with:<br />
<br />
opp_makemake -f --deep -O out -I<br />
<br />
Sometimes the include path doesn't always get set correctly in the created makefile so edit the generated makefile with gedit for example and add the for you corrected line:<br />
<br />
INCLUDE_PATH = I/home/username/path_to_omnet/omnetpp-5.6.2/include/<br />
<br />
The next step is to build the project. This happens from the root folder of the BSF projekt<br />
<br />
make MODE=release all<br />
<br />
Then you can navigate to the simulations folder. The *.ini files are the settings of the simulations you can run. Like how long you want to simulate or how many bots can be active.<br />
<br />
[[FILE:ini_example.jpg]]<br />
<br />
If you want to run a simulation just enter the following line while in the simulations directory:<br />
<br />
../BSF -r 0 -m -u Cmdenv -c SampleConfig_Crawler -n .. samples.ini<br />
<br />
The simulations then will get calculated which can take a while. When the simulation is finished you can navigate to the visualization folder and run<br />
<br />
python app.py<br />
<br />
When this is finished you can open a webbrowser and go to [http://127.0.0.1:8050 http://127.0.0.1:8050]. The graph of the simulation should open and look something like this <br />
<br />
[[File:BSF-Plot.png]]<br />
<br />
At the bottom you have a bar where you can skip through the timeline of your simulation. At the top right you can choose the simulation which were run with your ini-config.<br />
<br />
Have fun playing around with the configurtation files to test a botnet.<br />
<br />
<br />
== Courses ==<br />
<br />
* [[Ausgewählte Kapitel der IT-Security]] (2020)<br />
<br />
== References ==<br />
<br />
* https://github.com/tklab-tud/BSF<br />
* https://omnetpp.org<br />
* https://releases.ubuntu.com<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Botnet_Simulation_Framework_(BSF)&diff=5449Botnet Simulation Framework (BSF)2020-12-21T15:40:21Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The Botnet Simulation Framework tries to make the race between the botnet users and the botnet defenders more even. It offers the playing field for defenders to evaluate new botnet monitoringtechniques and countermeasures. You can create realisitic peer-to-peer network simulations and visualize them to analyse them further. The simulation part is based on OMNeT++ originally based on version 4.5.1 in this documentation the latest version was 5.6.2 which also worked. The visualization part is based on dash.<br />
In this documentation you will learn how to install all components of the BSF and get it running.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Ubuntu 18.04 bionic amd64 [https://releases.ubuntu.com/ Ubuntu Download]<br />
* OMNeT++: [https://https://omnetpp.org/download/ OMNeT++ Download]<br />
* Packages: pip<br />
<br />
== Installation Guide ==<br />
<br />
=== OMNet++ download ===<br />
<br />
First we need to download the generic archive of OMNeT++ from the link above and copy it to the directory you want to install it. <br />
<br />
Then navigate to the directory you choose and enter this command in the shell with the version number that you downloaded in my case:<br />
<br />
tar xvfz omnetpp-5.6.2-src.tgz<br />
<br />
This will create an omnetpp-5.6.2 subdirectory with the OMNeT++ files in it.<br />
<br />
Next we need to set the environment variables by editing the .bashrc file in your home dircetory for example with gedit or nano:<br />
<br />
gedit ~/.bashrc<br />
<br />
Add this line with the version number you downloaded at the end and save it:<br />
<br />
export PATH=$HOME/omnetpp-5.6.2/bin:$PATH<br />
<br />
After this we will need to restart the terminal to make the changes happen.<br />
<br />
=== OMNet++ required packages ===<br />
<br />
Now we come to the packages we need. If you do not want to use the terminal to install all the packages you can use Synaptic and install the via the graphical interface.<br />
<br />
For ther Terminal we first enter:<br />
<br />
sudo apt-get update<br />
<br />
then come these lines to install the required packages:<br />
<br />
sudo apt-get install build-essential gcc g++ bison flex perl<br />
sudo apt-get install python python3 qt5-default libqt5opengl5-dev tcl-dev tk-dev<br />
sudo apt-get install libxml2-dev zlib1g-dev default-jre doxygen graphviz libwebkitgtk-3.0-0 <br />
<br />
Next is the installation of the osgearth development package and OpenSceneGraph:<br />
<br />
sudo apt-get install openscenegraph-plugin-osgearth libosgearth-dev<br />
sudo apt-get install openmpi-bin libopenmpi-dev<br />
<br />
And the you can optional install PCAP:<br />
<br />
sudo apt-get install libpcap-dev<br />
<br />
=== dash install ===<br />
<br />
To install dash for the visualization of the botnets we need python-pip installed.<br />
<br />
sudo apt install python-pip<br />
<br />
When this is done we just have 5 pip commands to enter:<br />
<br />
pip install dash==1.2.0<br />
pip install dash-daq==0.1.0<br />
pip install networkx<br />
pip install natsort <br />
pip install numpy<br />
<br />
With this dash is installed and we are ready to get things running.<br />
<br />
== Get things running ==<br />
<br />
Download the BSF files from the github linked above and unzip it at your home directory.<br />
<br />
Since BSF only uses the command line we don't need to use the UI of OMNeT++ and can do all of the funktionality via command line.<br />
The makefile is under a different license, as I was told from the creator, so it is not included in the github. Therefore we need to generate our makefile with:<br />
<br />
opp_makemake -f --deep -O out -I<br />
<br />
Sometimes the include path doesn't always get set correctly in the created makefile so edit the generated makefile with gedit for example and add the for you corrected line:<br />
<br />
INCLUDE_PATH = I/home/username/path_to_omnet/omnetpp-5.6.2/include/<br />
<br />
The next step is to build the project. This happens from the root folder of the BSF projekt<br />
<br />
make MODE=release all<br />
<br />
Then you can navigate to the simulations folder. The *.ini files are the settings of the simulations you can run. Like how long you want to simulate or how many bots can be active.<br />
[[FILE:ini_example.jpg]]<br />
<br />
If you want to run a simulation just enter the following line while in the simulations directory:<br />
<br />
../BSF -r 0 -m -u Cmdenv -c SampleConfig_Crawler -n .. samples.ini<br />
<br />
The simulations then will get calculated which can take a while. When the simulation is finished you can navigate to the visualization folder and run<br />
<br />
python app.py<br />
<br />
When this is finished you can open a webbrowser and go to [http://127.0.0.1:8050 http://127.0.0.1:8050]. The graph of the simulation should open and look something like this <br />
<br />
[[File:BSF-Plot.png]]<br />
<br />
At the bottom you have a bar where you can skip through the timeline of your simulation. At the top right you can choose the simulation which were run with your ini-config.<br />
<br />
Have fun playing around with the configurtation files to test a botnet.<br />
<br />
<br />
== Courses ==<br />
<br />
* [[Ausgewählte Kapitel der IT-Security]] (2020)<br />
<br />
== References ==<br />
<br />
* https://github.com/tklab-tud/BSF<br />
* https://omnetpp.org<br />
* https://releases.ubuntu.com<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:BSF-Plot.png&diff=5435File:BSF-Plot.png2020-12-21T15:23:50Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=Botnet_Simulation_Framework_(BSF)&diff=5427Botnet Simulation Framework (BSF)2020-12-21T15:11:01Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The Botnet Simulation Framework tries to make the race between the botnet users and the botnet defenders more even. It offers the playing field for defenders to evaluate new botnet monitoringtechniques and countermeasures. You can create realisitic peer-to-peer network simulations and visualize them to analyse them further. The simulation part is based on OMNeT++ originally based on version 4.5.1 in this documentation the latest version was 5.6.2 which also worked. The visualization part is based on dash.<br />
In this documentation you will learn how to install all components of the BSF and get it running.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Ubuntu 18.04 bionic amd64 [https://releases.ubuntu.com/ Ubuntu Download]<br />
* OMNeT++: [https://https://omnetpp.org/download/ OMNeT++ Download]<br />
* Packages: pip<br />
<br />
== Installation Guide ==<br />
<br />
=== OMNet++ download ===<br />
<br />
First we need to download the generic archive of OMNeT++ from the link above and copy it to the directory you want to install it. <br />
<br />
Then navigate to the directory you choose and enter this command in the shell with the version number that you downloaded in my case:<br />
<br />
tar xvfz omnetpp-5.6.2-src.tgz<br />
<br />
This will create an omnetpp-5.6.2 subdirectory with the OMNeT++ files in it.<br />
<br />
Next we need to set the environment variables by editing the .bashrc file in your home dircetory for example with gedit or nano:<br />
<br />
gedit ~/.bashrc<br />
<br />
Add this line with the version number you downloaded at the end and save it:<br />
<br />
export PATH=$HOME/omnetpp-5.6.2/bin:$PATH<br />
<br />
After this we will need to restart the terminal to make the changes happen.<br />
<br />
=== OMNet++ required packages ===<br />
<br />
Now we come to the packages we need. If you do not want to use the terminal to install all the packages you can use Synaptic and install the via the graphical interface.<br />
<br />
For ther Terminal we first enter:<br />
<br />
sudo apt-get update<br />
<br />
then come these lines to install the required packages:<br />
<br />
sudo apt-get install build-essential gcc g++ bison flex perl<br />
sudo apt-get install python python3 qt5-default libqt5opengl5-dev tcl-dev tk-dev<br />
sudo apt-get install libxml2-dev zlib1g-dev default-jre doxygen graphviz libwebkitgtk-3.0-0 <br />
<br />
Next is the installation of the osgearth development package and OpenSceneGraph:<br />
<br />
sudo apt-get install openscenegraph-plugin-osgearth libosgearth-dev<br />
sudo apt-get install openmpi-bin libopenmpi-dev<br />
<br />
And the you can optional install PCAP:<br />
<br />
sudo apt-get install libpcap-dev<br />
<br />
=== dash install ===<br />
<br />
To install dash for the visualization of the botnets we need python-pip installed.<br />
<br />
sudo apt install python-pip<br />
<br />
When this is done we just have 5 pip commands to enter:<br />
<br />
pip install dash==1.2.0<br />
pip install dash-daq==0.1.0<br />
pip install networkx<br />
pip install natsort <br />
pip install numpy<br />
<br />
With this dash is installed and we are ready to get things running.<br />
<br />
== Get things running ==<br />
<br />
Download the BSF files from the github linked above and unzip it at your home directory.<br />
<br />
Since BSF only uses the command line we don't need to use the UI of OMNeT++ and can do all of the funktionality via command line.<br />
The makefile is under a different license, as I was told from the creator, so it is not included in the github. Therefore we need to generate our makefile with:<br />
<br />
opp_makemake -f --deep -O out -I<br />
<br />
Sometimes the include path doesn't always get set correctly in the created makefile so edit the generated makefile with gedit for example and add the for you corrected line:<br />
<br />
INCLUDE_PATH = I/home/username/path_to_omnet/omnetpp-5.6.2/include/<br />
<br />
The next step is to build the project. This happens from the root folder of the BSF projekt<br />
<br />
make MODE=release all<br />
<br />
Then you can navigate to the simulations folder. The *.ini files are the settings of the simulations you can run. Like how long you want to simulate or how many bots can be active.<br />
[[FILE:ini_example.jpg]]<br />
<br />
If you want to run a simulation just enter the following line while in the simulations directory:<br />
<br />
../BSF -r 0 -m -u Cmdenv -c SampleConfig_Crawler -n .. samples.ini<br />
<br />
The simulations then will get calculated which can take a while.<br />
<br />
== Courses ==<br />
<br />
* [[Ausgewählte Kapitel der IT-Security]] (2020)<br />
<br />
== References ==<br />
<br />
* https://github.com/tklab-tud/BSF<br />
* https://omnetpp.org<br />
* https://releases.ubuntu.com<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Ini_example.jpg&diff=5426File:Ini example.jpg2020-12-21T15:10:42Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=Botnet_Simulation_Framework_(BSF)&diff=4994Botnet Simulation Framework (BSF)2020-12-13T22:33:46Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The Botnet Simulation Framework tries to make the race between the botnet users and the botnet defenders more even. It offers the playing field for defenders to evaluate new botnet monitoringtechniques and countermeasures. You can create realisitic peer-to-peer network simulations and visualize them to analyse them further. The simulation part is based on OMNeT++ originally based on version 4.5.1 in this documentation the latest version was 5.6.2 which also worked. The visualization part is based on dash.<br />
In this documentation you will learn how to install all components of the BSF and get it running.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Ubuntu 18.04 bionic amd64 [https://releases.ubuntu.com/ Ubuntu Download]<br />
* OMNeT++: [https://https://omnetpp.org/download/ OMNeT++ Download]<br />
* Packages: pip<br />
<br />
== Installation Guide ==<br />
<br />
=== OMNet++ download ===<br />
<br />
First we need to download the generic archive of OMNeT++ from the link above and copy it to the directory you want to install it. <br />
<br />
Then navigate to the directory you choose and enter this command in the shell with the version number that you downloaded in my case:<br />
<br />
tar xvfz omnetpp-5.6.2-src.tgz<br />
<br />
This will create an omnetpp-5.6.2 subdirectory with the OMNeT++ files in it.<br />
<br />
Next we need to set the environment variables by editing the .bashrc file in your home dircetory for example with gedit or nano:<br />
<br />
gedit ~/.bashrc<br />
<br />
Add this line with the version number you downloaded at the end and save it:<br />
<br />
export PATH=$HOME/omnetpp-5.6.2/bin:$PATH<br />
<br />
After this we will need to restart the terminal to make the changes happen.<br />
<br />
=== OMNet++ required packages ===<br />
<br />
Now we come to the packages we need. If you do not want to use the terminal to install all the packages you can use Synaptic and install the via the graphical interface.<br />
<br />
For ther Terminal we first enter:<br />
<br />
sudo apt-get update<br />
<br />
then come these lines to install the required packages:<br />
<br />
sudo apt-get install build-essential gcc g++ bison flex perl<br />
sudo apt-get install python python3 qt5-default libqt5opengl5-dev tcl-dev tk-dev<br />
sudo apt-get install libxml2-dev zlib1g-dev default-jre doxygen graphviz libwebkitgtk-3.0-0 <br />
<br />
Next is the installation of the osgearth development package and OpenSceneGraph:<br />
<br />
sudo apt-get install openscenegraph-plugin-osgearth libosgearth-dev<br />
sudo apt-get install openmpi-bin libopenmpi-dev<br />
<br />
And the you can optional install PCAP:<br />
<br />
sudo apt-get install libpcap-dev<br />
<br />
=== dash install ===<br />
<br />
To install dash for the visualization of the botnets we need python-pip installed.<br />
<br />
sudo apt install python-pip<br />
<br />
When this is done we just have 5 pip commands to enter:<br />
<br />
pip install dash==1.2.0<br />
pip install dash-daq==0.1.0<br />
pip install networkx<br />
pip install natsort <br />
pip install numpy<br />
<br />
With this dash is installed and we are ready to get things running.<br />
<br />
== Get things running ==<br />
<br />
Since BSF only uses the command line we don't need to use the UI of OMNeT++.<br />
First we need to generate our makefile with<br />
<br />
opp_makemake -f --deep -O out -I<br />
<br />
Sometimes the include path doesn't always get set correctly in the created makefile so edit the generated makefile with gedit for example and add the for you corrected line:<br />
<br />
INCLUDE_PATH = I/home/username/path_to_omnet/omnetpp-5.6.2/include/<br />
<br />
<br />
== Courses ==<br />
<br />
* [[Ausgewählte Kapitel der IT-Security]] (2020)<br />
<br />
== References ==<br />
<br />
* https://github.com/tklab-tud/BSF<br />
* https://omnetpp.org<br />
* https://releases.ubuntu.com<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Botnet_Simulation_Framework_(BSF)&diff=4962Botnet Simulation Framework (BSF)2020-12-13T10:10:45Z<p>Stischler: Created page with "== Summary == The Botnet Simulation Framework tries to make the race between the botnet users and the botnet defenders more even. It offers the playing field for defenders t..."</p>
<hr />
<div>== Summary == <br />
<br />
The Botnet Simulation Framework tries to make the race between the botnet users and the botnet defenders more even. It offers the playing field for defenders to evaluate new botnet monitoringtechniques and countermeasures. You can create realisitic peer-to-peer network simulations and visualize them to analyse them further. The simulation part is based on OMNeT++ originally based on version 4.5.1 in this documentation the latest version was 5.6.2 which also worked. The visualization part is based on dash.<br />
In this documentation you will learn how to install all components of the BSF and get it running.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Ubuntu 18.04 bionic amd64 [https://releases.ubuntu.com/ Ubuntu Download]<br />
* OMNeT++: [https://https://omnetpp.org/download/ OMNeT++ Download]<br />
* Packages: pip<br />
<br />
== Installation Guide ==<br />
<br />
=== OMNet++ download ===<br />
<br />
First we need to download the generic archive of OMNeT++ from the link above and copy it to the directory you want to install it. <br />
<br />
Then navigate to the directory you choose and enter this command in the shell with the version number that you downloaded in my case:<br />
<br />
tar xvfz omnetpp-5.6.2-src.tgz<br />
<br />
This will create an omnetpp-5.6.2 subdirectory with the OMNeT++ files in it.<br />
<br />
Next we need to set the environment variables by editing the .bashrc file in your home dircetory for example with gedit or nano:<br />
<br />
gedit ~/.bashrc<br />
<br />
Add this line with the version number you downloaded at the end and save it:<br />
<br />
export PATH=$HOME/omnetpp-5.6.2/bin:$PATH<br />
<br />
After this we will need to restart the terminal to make the changes happen.<br />
<br />
=== OMNet++ required packages ===<br />
<br />
Now we come to the packages we need. If you do not want to use the terminal to install all the packages you can use Synaptic and install the via the graphical interface.<br />
<br />
For ther Terminal we first enter:<br />
<br />
sudo apt-get update<br />
<br />
then come these lines to install the required packages:<br />
<br />
sudo apt-get install build-essential gcc g++ bison flex perl<br />
sudo apt-get install python python3 qt5-default libqt5opengl5-dev tcl-dev tk-dev<br />
sudo apt-get install libxml2-dev zlib1g-dev default-jre doxygen graphviz libwebkitgtk-3.0-0 <br />
<br />
Next is the installation of the osgearth development package and OpenSceneGraph:<br />
<br />
sudo apt-get install openscenegraph-plugin-osgearth libosgearth-dev<br />
sudo apt-get install openmpi-bin libopenmpi-dev<br />
<br />
And the you can optional install PCAP:<br />
<br />
sudo apt-get install libpcap-dev<br />
<br />
=== dash install ===<br />
<br />
To install dash for the visualization of the botnets we need python-pip installed.<br />
<br />
sudo apt install python-pip<br />
<br />
When this is done we just have 5 pip commands to enter:<br />
<br />
pip install dash==1.2.0<br />
pip install dash-daq==0.1.0<br />
pip install networkx<br />
pip install natsort <br />
pip install numpy<br />
<br />
With this dash is installed and we are ready to get things running.<br />
<br />
== Get things running ==<br />
<br />
Since BSF only uses the command line we don't need to use the UI of OMNeT++.<br />
First we need to generate our makefile with<br />
<br />
opp_makemake -f --deep -O out -I<br />
<br />
Sometimes the include path doesn't always get set correctly so edit the generated makefile with gedit for example and add the for you corrected line:<br />
<br />
INCLUDE_PATH = I/home/username/path_to_omnet/omnetpp-5.6.2/include/<br />
<br />
<br />
== Courses ==<br />
<br />
* [[Ausgewählte Kapitel der IT-Security]] (2020)<br />
<br />
== References ==<br />
<br />
* https://github.com/tklab-tud/BSF<br />
* https://omnetpp.org<br />
* https://releases.ubuntu.com<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1541Install OpenHAB2019-07-16T18:26:27Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install and configure OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
After that, we enter the “Inbox” to search for new devices by taping the “SEARCH FOR THINGS” button.<br />
This will automatically show all active devices nearby.<br />
<br />
If the device you are looking for you can add it manually by hitting “ADD MANUALLY”.<br />
There you must add which device it is, to which bridge it is connected and the device ID.<br />
<br />
The next point to do is to navigate to the point “configuration” > “system” and activate the “Simple Mode” under the point “Item linking”.<br />
<br />
Now when you navigate to “configuration” > “things” you can see the “thing” related to your device which should show the status “online”.<br />
After you clicked on your thing you can see the so called “channels”. Those are the functions that you item provides.<br />
<br />
The last thing to do is linking the channels together with the item and snice we activated the simple mode, we simply click on the corresponding blue radio button left to the channel. <br />
<br />
At last we navigate to the “control” page where we can see our new Item and use its functions.<br />
<br />
[[File:Control.png]]<br />
<br />
If you want to change anything about your Item, you go to the “Configuration” > “thing” page and click the pen icon.<br />
<br />
There you can edit the name, chose a location (eg. living room etc.) and change binding related options like the IP address, the timeout, the refresh interval etc.<br />
<br />
== Compared to ioBroker ==<br />
<br />
[[File:VergleichOpenHAB_IoBroker.png]]<br />
<br />
== Used Hardware ==<br />
<br />
* [[Philips Hue Bridge 2.0, Gateway]]<br />
* [[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
* https://www.iobroker.net/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1540Install OpenHAB2019-07-16T18:24:49Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install and configure OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
After that, we enter the “Inbox” to search for new devices by taping the “SEARCH FOR THINGS” button.<br />
This will automatically show all active devices nearby.<br />
<br />
If the device you are looking for you can add it manually by hitting “ADD MANUALLY”.<br />
There you must add which device it is, to which bridge it is connected and the device ID.<br />
<br />
The next point to do is to navigate to the point “configuration” > “system” and activate the “Simple Mode” under the point “Item linking”.<br />
<br />
Now when you navigate to “configuration” > “things” you can see the “thing” related to your device which should show the status “online”.<br />
After you clicked on your thing you can see the so called “channels”. Those are the functions that you item provides.<br />
<br />
The last thing to do is linking the channels together with the item and snice we activated the simple mode, we simply click on the corresponding blue radio button left to the channel. <br />
<br />
At last we navigate to the “control” page where we can see our new Item and use its functions.<br />
<br />
[[File:Control.png]]<br />
<br />
If you want to change anything about your Item, you go to the “Configuration” > “thing” page and click the pen icon.<br />
<br />
There you can edit the name, chose a location (eg. living room etc.) and change binding related options like the IP address, the timeout, the refresh interval etc.<br />
<br />
== Compared to ioBroker ==<br />
<br />
[[File:Example.jpg]]<br />
<br />
== Used Hardware ==<br />
<br />
* [[Philips Hue Bridge 2.0, Gateway]]<br />
* [[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
* https://www.iobroker.net/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1536Install OpenHAB2019-07-16T18:22:09Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install and configure OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
After that, we enter the “Inbox” to search for new devices by taping the “SEARCH FOR THINGS” button.<br />
This will automatically show all active devices nearby.<br />
<br />
If the device you are looking for you can add it manually by hitting “ADD MANUALLY”.<br />
There you must add which device it is, to which bridge it is connected and the device ID.<br />
<br />
The next point to do is to navigate to the point “configuration” > “system” and activate the “Simple Mode” under the point “Item linking”.<br />
<br />
Now when you navigate to “configuration” > “things” you can see the “thing” related to your device which should show the status “online”.<br />
After you clicked on your thing you can see the so called “channels”. Those are the functions that you item provides.<br />
<br />
The last thing to do is linking the channels together with the item and snice we activated the simple mode, we simply click on the corresponding blue radio button left to the channel. <br />
<br />
At last we navigate to the “control” page where we can see our new Item and use its functions.<br />
<br />
[[File:Control.png]]<br />
<br />
If you want to change anything about your Item, you go to the “Configuration” > “thing” page and click the pen icon.<br />
<br />
There you can edit the name, chose a location (eg. living room etc.) and change binding related options like the IP address, the timeout, the refresh interval etc.<br />
<br />
== Compared to ioBroker ==<br />
<br />
[[File:Example.jpg]]<br />
<br />
== Used Hardware ==<br />
<br />
* [[Philips Hue Bridge 2.0, Gateway]]<br />
* [[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1535Install OpenHAB2019-07-16T18:21:49Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install and configure OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
After that, we enter the “Inbox” to search for new devices by taping the “SEARCH FOR THINGS” button.<br />
This will automatically show all active devices nearby.<br />
<br />
If the device you are looking for you can add it manually by hitting “ADD MANUALLY”.<br />
There you must add which device it is, to which bridge it is connected and the device ID.<br />
<br />
The next point to do is to navigate to the point “configuration” > “system” and activate the “Simple Mode” under the point “Item linking”.<br />
<br />
Now when you navigate to “configuration” > “things” you can see the “thing” related to your device which should show the status “online”.<br />
After you clicked on your thing you can see the so called “channels”. Those are the functions that you item provides.<br />
<br />
The last thing to do is linking the channels together with the item and snice we activated the simple mode, we simply click on the corresponding blue radio button left to the channel. <br />
<br />
At last we navigate to the “control” page where we can see our new Item and use its functions.<br />
<br />
[[File:Control.png]]<br />
<br />
If you want to change anything about your Item, you go to the “Configuration” > “thing” page and click the pen icon.<br />
<br />
There you can edit the name, chose a location (eg. living room etc.) and change binding related options like the IP address, the timeout, the refresh interval etc.<br />
<br />
== Compared to ioBroker ==<br />
<br />
<br />
== Used Hardware ==<br />
<br />
* [[Philips Hue Bridge 2.0, Gateway]]<br />
* [[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1529OpenHAB - Man in the middle attack2019-07-16T18:19:37Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Gateway]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
== Using Cain & Able ==<br />
<br />
The first thing to do when using Cain and Able is to use the sniffing function the determine which hosts in the network are available for sniffing and MitM attacks.<br />
<br />
To start the process, we click on the second button from the right in the top left corner.<br />
<br />
[[File:Cain-Able-Sniffer.png]]<br />
<br />
The output is a list of available hosts in the network, in our case including host 192.168.0.38 on which OpenHab is running and 192.168.0.150 which is our Philips Hue bridge.<br />
<br />
[[File:Cain-Able-Sniffer_Output.png]]<br />
<br />
The next step is to select with which participants we want to perform out attack, for that, we select the ARP menu at the bottom left part of our program and then tap on the big blue Plus symbol.<br />
<br />
[[File:Cain-Able-ARP.png]]<br />
<br />
In the newly opened window we can choose out to victims on which we will perform the arp spoofing so we chose out host computer and our bridge.<br />
<br />
[[File:Cain-Able-Victims.png]]<br />
<br />
The last step is to just press the Radioactive button to start the poisoning.<br />
<br />
If we take a look now at the arp table of our host computer, we can see that our bridge and the attacker computer have different IP addresses,<br />
but the same MAC address, namly the address of our attacking PC getting every message that is sent over our computer.<br />
<br />
[[File:Cain-Able-Radioactive.png]]<br />
<br />
Thus we can now also use Wireshark to capture the traffic between host computer and Hue Bridge.<br />
<br />
== Capturing traffic during the attack ==<br />
<br />
We can now capture the traffic send between host PC and Hue bridge on our MitM camputer and beside the fact that every package contains a timestamp which allows a precise reconstruction and collection of data when and how the lamp is used, we can as well see the status of the lamp such as brightness and saturation as well as changes displayed in plain text.<br />
<br />
[[File:Cain-Able-Wireshark-1.png]]<br />
[[File:Cain-Able-Wireshark-2.png]]<br />
<br />
== API Interface ==<br />
<br />
Another thing we can see during performing our MitM attack is the request api URI of our bridge. <br />
<br />
[[File:URI-Request-API.png]]<br />
<br />
We can use that URI with just a slight change, adding just lights instead of lights 1/state, to display a huge chunck of information about every light connected to our bridge. <br />
<br />
[[File:watch-changes-without-spoofing.png]]<br />
<br />
If this site is open, it is possible even without a running arp spoofing to watch the changes in the lamp's settings.<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1525OpenHAB - Man in the middle attack2019-07-16T18:17:25Z<p>Stischler: /* API Interface */</p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
== Using Cain & Able ==<br />
<br />
The first thing to do when using Cain and Able is to use the sniffing function the determine which hosts in the network are available for sniffing and MitM attacks.<br />
<br />
To start the process, we click on the second button from the right in the top left corner.<br />
<br />
[[File:Cain-Able-Sniffer.png]]<br />
<br />
The output is a list of available hosts in the network, in our case including host 192.168.0.38 on which OpenHab is running and 192.168.0.150 which is our Philips Hue bridge.<br />
<br />
[[File:Cain-Able-Sniffer_Output.png]]<br />
<br />
The next step is to select with which participants we want to perform out attack, for that, we select the ARP menu at the bottom left part of our program and then tap on the big blue Plus symbol.<br />
<br />
[[File:Cain-Able-ARP.png]]<br />
<br />
In the newly opened window we can choose out to victims on which we will perform the arp spoofing so we chose out host computer and our bridge.<br />
<br />
[[File:Cain-Able-Victims.png]]<br />
<br />
The last step is to just press the Radioactive button to start the poisoning.<br />
<br />
If we take a look now at the arp table of our host computer, we can see that our bridge and the attacker computer have different IP addresses,<br />
but the same MAC address, namly the address of our attacking PC getting every message that is sent over our computer.<br />
<br />
[[File:Cain-Able-Radioactive.png]]<br />
<br />
Thus we can now also use Wireshark to capture the traffic between host computer and Hue Bridge.<br />
<br />
== Capturing traffic during the attack ==<br />
<br />
We can now capture the traffic send between host PC and Hue bridge on our MitM camputer and beside the fact that every package contains a timestamp which allows a precise reconstruction and collection of data when and how the lamp is used, we can as well see the status of the lamp such as brightness and saturation as well as changes displayed in plain text.<br />
<br />
[[File:Cain-Able-Wireshark-1.png]]<br />
[[File:Cain-Able-Wireshark-2.png]]<br />
<br />
== API Interface ==<br />
<br />
Another thing we can see during performing our MitM attack is the request api URI of our bridge. <br />
<br />
[[File:URI-Request-API.png]]<br />
<br />
We can use that URI with just a slight change, adding just lights instead of lights 1/state, to display a huge chunck of information about every light connected to our bridge. <br />
<br />
[[File:watch-changes-without-spoofing.png]]<br />
<br />
If this site is open, it is possible even without a running arp spoofing to watch the changes in the lamp's settings.<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Watch-changes-without-spoofing.png&diff=1522File:Watch-changes-without-spoofing.png2019-07-16T18:16:41Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=File:URI-Request-API.png&diff=1521File:URI-Request-API.png2019-07-16T18:16:31Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1520OpenHAB - Man in the middle attack2019-07-16T18:16:17Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
== Using Cain & Able ==<br />
<br />
The first thing to do when using Cain and Able is to use the sniffing function the determine which hosts in the network are available for sniffing and MitM attacks.<br />
<br />
To start the process, we click on the second button from the right in the top left corner.<br />
<br />
[[File:Cain-Able-Sniffer.png]]<br />
<br />
The output is a list of available hosts in the network, in our case including host 192.168.0.38 on which OpenHab is running and 192.168.0.150 which is our Philips Hue bridge.<br />
<br />
[[File:Cain-Able-Sniffer_Output.png]]<br />
<br />
The next step is to select with which participants we want to perform out attack, for that, we select the ARP menu at the bottom left part of our program and then tap on the big blue Plus symbol.<br />
<br />
[[File:Cain-Able-ARP.png]]<br />
<br />
In the newly opened window we can choose out to victims on which we will perform the arp spoofing so we chose out host computer and our bridge.<br />
<br />
[[File:Cain-Able-Victims.png]]<br />
<br />
The last step is to just press the Radioactive button to start the poisoning.<br />
<br />
If we take a look now at the arp table of our host computer, we can see that our bridge and the attacker computer have different IP addresses,<br />
but the same MAC address, namly the address of our attacking PC getting every message that is sent over our computer.<br />
<br />
[[File:Cain-Able-Radioactive.png]]<br />
<br />
Thus we can now also use Wireshark to capture the traffic between host computer and Hue Bridge.<br />
<br />
== Capturing traffic during the attack ==<br />
<br />
We can now capture the traffic send between host PC and Hue bridge on our MitM camputer and beside the fact that every package contains a timestamp which allows a precise reconstruction and collection of data when and how the lamp is used, we can as well see the status of the lamp such as brightness and saturation as well as changes displayed in plain text.<br />
<br />
[[File:Cain-Able-Wireshark-1.png]]<br />
[[File:Cain-Able-Wireshark-2.png]]<br />
<br />
== API Interface ==<br />
<br />
Another thing we can see during performing our MitM attack is the request api URI of our bridge. <br />
<br />
[[File:URI-Request-API.png]]<br />
<br />
We can use that URI with just a slight change, adding just lights instead of lights 1/state, to display a huge chunck of information about every light connected to our bridge. <br />
<br />
[[File:watch-changes-without-spoofing.png]]<br />
<br />
If this site is open, it is possible even without a running arp spoofing to watch the changes in the lamps settings. <br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Cain-Able-Wireshark-2.png&diff=1512File:Cain-Able-Wireshark-2.png2019-07-16T18:11:39Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Cain-Able-Wireshark-1.png&diff=1511File:Cain-Able-Wireshark-1.png2019-07-16T18:11:29Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1510OpenHAB - Man in the middle attack2019-07-16T18:11:07Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
== Using Cain & Able ==<br />
<br />
The first thing to do when using Cain and Able is to use the sniffing function the determine which hosts in the network are available for sniffing and MitM attacks.<br />
<br />
To start the process, we click on the second button from the right in the top left corner.<br />
<br />
[[File:Cain-Able-Sniffer.png]]<br />
<br />
The output is a list of available hosts in the network, in our case including host 192.168.0.38 on which OpenHab is running and 192.168.0.150 which is our Philips Hue bridge.<br />
<br />
[[File:Cain-Able-Sniffer_Output.png]]<br />
<br />
The next step is to select with which participants we want to perform out attack, for that, we select the ARP menu at the bottom left part of our program and then tap on the big blue Plus symbol.<br />
<br />
[[File:Cain-Able-ARP.png]]<br />
<br />
In the newly opened window we can choose out to victims on which we will perform the arp spoofing so we chose out host computer and our bridge.<br />
<br />
[[File:Cain-Able-Victims.png]]<br />
<br />
The last step is to just press the Radioactive button to start the poisoning.<br />
<br />
If we take a look now at the arp table of our host computer, we can see that our bridge and the attacker computer have different IP addresses,<br />
but the same MAC address, namly the address of our attacking PC getting every message that is sent over our computer.<br />
<br />
[[File:Cain-Able-Radioactive.png]]<br />
<br />
Thus we can now also use Wireshark to capture the traffic between host computer and Hue Bridge.<br />
<br />
== Capturing traffic during the attack ==<br />
<br />
We can now capture the traffic send between host PC and Hue bridge on our MitM camputer and beside the fact that every package contains a timestamp which allows a precise reconstruction and collection of data when and how the lamp is used, we can as well see the status of the lamp such as brightness and saturation as well as changes displayed in plain text.<br />
<br />
[[File:Cain-Able-Wireshark-1.png]]<br />
[[File:Cain-Able-Wireshark-2.png]]<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Cain-Able-Radioactive.png&diff=1506File:Cain-Able-Radioactive.png2019-07-16T18:06:24Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1505OpenHAB - Man in the middle attack2019-07-16T18:06:14Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
== Using Cain & Able ==<br />
<br />
The first thing to do when using Cain and Able is to use the sniffing function the determine which hosts in the network are available for sniffing and MitM attacks.<br />
<br />
To start the process, we click on the second button from the right in the top left corner.<br />
<br />
[[File:Cain-Able-Sniffer.png]]<br />
<br />
The output is a list of available hosts in the network, in our case including host 192.168.0.38 on which OpenHab is running and 192.168.0.150 which is our Philips Hue bridge.<br />
<br />
[[File:Cain-Able-Sniffer_Output.png]]<br />
<br />
The next step is to select with which participants we want to perform out attack, for that, we select the ARP menu at the bottom left part of our program and then tap on the big blue Plus symbol.<br />
<br />
[[File:Cain-Able-ARP.png]]<br />
<br />
In the newly opened window we can choose out to victims on which we will perform the arp spoofing so we chose out host computer and our bridge.<br />
<br />
[[File:Cain-Able-Victims.png]]<br />
<br />
The last step is to just press the Radioactive button to start the poisoning.<br />
<br />
If we take a look now at the arp table of our host computer, we can see that our bridge and the attacker computer have different IP addresses,<br />
but the same MAC address, namly the address of our attacking PC getting every message that is sent over our computer.<br />
<br />
[[File:Cain-Able-Radioactive.png]]<br />
<br />
Thus we can now also use Wireshark to capture the traffic between host computer and Hue Bridge.<br />
<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Cain-Able-Victims.png&diff=1502File:Cain-Able-Victims.png2019-07-16T18:04:33Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Cain-Able-ARP.png&diff=1501File:Cain-Able-ARP.png2019-07-16T18:04:19Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1499OpenHAB - Man in the middle attack2019-07-16T18:03:39Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
== Using Cain & Able ==<br />
<br />
The first thing to do when using Cain and Able is to use the sniffing function the determine which hosts in the network are available for sniffing and MitM attacks.<br />
<br />
To start the process, we click on the second button from the right in the top left corner.<br />
<br />
[[File:Cain-Able-Sniffer.png]]<br />
<br />
The output is a list of available hosts in the network, in our case including host 192.168.0.38 on which OpenHab is running and 192.168.0.150 which is our Philips Hue bridge.<br />
<br />
[[File:Cain-Able-Sniffer_Output.png]]<br />
<br />
The next step is to select with which participants we want to perform out attack, for that, we select the ARP menu at the bottom left part of our program and then tap on the big blue Plus symbol.<br />
<br />
[[File:Cain-Able-ARP.png]]<br />
<br />
In the newly opened window we can choose out to victims on which we will perform the arp spoofing so we chose out host computer and our bridge.<br />
<br />
[[File:Cain-Able-Victims.png]]<br />
<br />
The last step is to just press the Radioactive button to start the poisoning.<br />
<br />
If we take a look now at the arp table of our host computer, we can see that our bridge and the attacker computer have different IP addresses,<br />
<br />
but the same MAC address, namly the address of our attacking PC getting every message that is sent over our computer.<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Cain-Able-Sniffer_Output.png&diff=1498File:Cain-Able-Sniffer Output.png2019-07-16T18:01:05Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1497OpenHAB - Man in the middle attack2019-07-16T18:00:55Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
== Using Cain & Able ==<br />
<br />
The first thing to do when using Cain and Able is to use the sniffing function the determine which hosts in the network are available for sniffing and MitM attacks.<br />
<br />
To start the process, we click on the second button from the right in the top left corner.<br />
<br />
[[File:Cain-Able-Sniffer.png]]<br />
<br />
The output is a list of available hosts in the network, in our case including host 192.168.0.38 on which OpenHab is running and 192.168.0.150 which is our Philips Hue bridge.<br />
<br />
[[File:Cain-Able-Sniffer_Output.png]]<br />
<br />
The next step is to select with which participants we want to perform out attack, for that, we select the ARP menu at the bottom left part of our program and then tap on the big blue Plus symbol.<br />
<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Cain-Able-Sniffer.png&diff=1496File:Cain-Able-Sniffer.png2019-07-16T17:58:43Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1495OpenHAB - Man in the middle attack2019-07-16T17:58:33Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
== Using Cain & Able ==<br />
<br />
The first thing to do when using Cain and Able is to use the sniffing function the determine which hosts in the network are available for sniffing and MitM attacks.<br />
<br />
To start the process, we click on the second button from the right in the top left corner.<br />
<br />
[[File:Cain-Able-Sniffer.png]]<br />
<br />
<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1494OpenHAB - Man in the middle attack2019-07-16T17:57:14Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
== Using Cain & Able ==<br />
<br />
The first thing to do when using Cain and Able is to use the sniffing function the determine which hosts in the network are available for sniffing and MitM attacks.<br />
<br />
To start the process, we click on the second button from the right in the top left corner.<br />
<br />
<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1493OpenHAB - Man in the middle attack2019-07-16T17:56:04Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Traffic_before_attack.png]]<br />
<br />
=== Step 2 ===<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Traffic_before_attack.png&diff=1492File:Traffic before attack.png2019-07-16T17:55:46Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1491OpenHAB - Man in the middle attack2019-07-16T17:55:29Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
[[File:Example.jpg]]<br />
<br />
=== Step 2 ===<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1490OpenHAB - Man in the middle attack2019-07-16T17:55:13Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
== Capturing traffic before the Attack ==<br />
<br />
Before we performed the Man in the Middle attack, we performed a wireshark capturing directly on the host camputer which was using OpenHab.<br />
<br />
As one can see, we can see in plain text the numbers for color, saturation and brightness. And we see every PUT message send whenever we change something.<br />
<br />
<br />
=== Step 2 ===<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
<br />
<br />
== References ==<br />
<br />
* https://www.openhab.org/<br />
* https://www.wireshark.org/<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1485OpenHAB - Man in the middle attack2019-07-16T17:50:31Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
You can find our documentation about installing OpenHAB here [[Install OpenHAB]].<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
<br />
In order to complete these steps, you must have followed [[Some Other Documentation]] before.<br />
<br />
== Description ==<br />
<br />
=== Step 1 ===<br />
<br />
Enter these commands in the shell<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2 ===<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://wikipedia.org<br />
* https://google.com<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=OpenHAB_-_Man_in_the_middle_attack&diff=1484OpenHAB - Man in the middle attack2019-07-16T17:47:50Z<p>Stischler: Created page with "== Summary == The results of our Man in the middle attack on OpenHAB. == Goal == To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer..."</p>
<hr />
<div>== Summary == <br />
<br />
The results of our Man in the middle attack on OpenHAB.<br />
<br />
== Goal ==<br />
<br />
To perform a Man in the Middle attack via arp spoofing between a Hue bridge and a computer and capture the traffic send between OpenHab and the bridge to control a wireless light. <br />
<br />
== Used Software ==<br />
<br />
* Cain & Able https://www.chip.de/downloads/Cain-Abel_17043501.html<br />
* OpenHAB https://www.openhab.org/<br />
* Wireshark https://www.wireshark.org/<br />
<br />
== Used Hardware ==<br />
<br />
[[Philips Hue White and Color Ambiance Single LED-Bulb E27 10W]]<br />
<br />
[[Philips Hue Bridge 2.0, Frequencies 2400-2483.5 MHz]]<br />
<br />
<br />
In order to complete these steps, you must have followed [[Some Other Documentation]] before.<br />
<br />
== Description ==<br />
<br />
=== Step 1 ===<br />
<br />
Enter these commands in the shell<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2 ===<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://wikipedia.org<br />
* https://google.com<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1483Install OpenHAB2019-07-16T17:36:17Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install and configure OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
After that, we enter the “Inbox” to search for new devices by taping the “SEARCH FOR THINGS” button.<br />
This will automatically show all active devices nearby.<br />
<br />
If the device you are looking for you can add it manually by hitting “ADD MANUALLY”.<br />
There you must add which device it is, to which bridge it is connected and the device ID.<br />
<br />
The next point to do is to navigate to the point “configuration” > “system” and activate the “Simple Mode” under the point “Item linking”.<br />
<br />
Now when you navigate to “configuration” > “things” you can see the “thing” related to your device which should show the status “online”.<br />
After you clicked on your thing you can see the so called “channels”. Those are the functions that you item provides.<br />
<br />
The last thing to do is linking the channels together with the item and snice we activated the simple mode, we simply click on the corresponding blue radio button left to the channel. <br />
<br />
At last we navigate to the “control” page where we can see our new Item and use its functions.<br />
<br />
[[File:Control.png]]<br />
<br />
If you want to change anything about your Item, you go to the “Configuration” > “thing” page and click the pen icon.<br />
<br />
There you can edit the name, chose a location (eg. living room etc.) and change binding related options like the IP address, the timeout, the refresh interval etc.<br />
<br />
<br />
== Used Hardware ==<br />
<br />
[[PHILIPS HUE white and color ambiance single bulb]]<br />
<br />
[[PHILIPS HUE motion sensor]]<br />
<br />
[[PHILIPS HUE Bridge]]<br />
<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1482Install OpenHAB2019-07-16T17:35:54Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
After that, we enter the “Inbox” to search for new devices by taping the “SEARCH FOR THINGS” button.<br />
This will automatically show all active devices nearby.<br />
<br />
If the device you are looking for you can add it manually by hitting “ADD MANUALLY”.<br />
There you must add which device it is, to which bridge it is connected and the device ID.<br />
<br />
The next point to do is to navigate to the point “configuration” > “system” and activate the “Simple Mode” under the point “Item linking”.<br />
<br />
Now when you navigate to “configuration” > “things” you can see the “thing” related to your device which should show the status “online”.<br />
After you clicked on your thing you can see the so called “channels”. Those are the functions that you item provides.<br />
<br />
The last thing to do is linking the channels together with the item and snice we activated the simple mode, we simply click on the corresponding blue radio button left to the channel. <br />
<br />
At last we navigate to the “control” page where we can see our new Item and use its functions.<br />
<br />
[[File:Control.png]]<br />
<br />
If you want to change anything about your Item, you go to the “Configuration” > “thing” page and click the pen icon.<br />
<br />
There you can edit the name, chose a location (eg. living room etc.) and change binding related options like the IP address, the timeout, the refresh interval etc.<br />
<br />
<br />
== Used Hardware ==<br />
<br />
[[PHILIPS HUE white and color ambiance single bulb]]<br />
<br />
[[PHILIPS HUE motion sensor]]<br />
<br />
[[PHILIPS HUE Bridge]]<br />
<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1475Install OpenHAB2019-07-16T17:10:13Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
After that, we enter the “Inbox” to search for new devices by taping the “SEARCH FOR THINGS” button.<br />
This will automatically show all active devices nearby.<br />
<br />
If the device you are looking for you can add it manually by hitting “ADD MANUALLY”.<br />
There you must add which device it is, to which bridge it is connected and the device ID.<br />
<br />
The next point to do is to navigate to the point “configuration” > “system” and activate the “Simple Mode” under the point “Item linking”.<br />
<br />
Now when you navigate to “configuration” > “things” you can see the “thing” related to your device which should show the status “online”.<br />
After you clicked on your thing you can see the so called “channels”. Those are the functions that you item provides.<br />
<br />
The last thing to do is linking the channels together with the item and snice we activated the simple mode, we simply click on the corresponding blue radio button left to the channel. <br />
<br />
At last we navigate to the “control” page where we can see our new Item and use its functions.<br />
<br />
[[File:Control.png]]<br />
<br />
If you want to change anything about your Item, you go to the “Configuration” > “thing” page and click the pen icon.<br />
<br />
There you can edit the name, chose a location (eg. living room etc.) and change binding related options like the IP address, the timeout, the refresh interval etc.<br />
<br />
<br />
== Used Hardware ==<br />
<br />
[[PHILIPS HUE white and color ambiance single bulb]]<br />
<br />
[[PHILIPS HUE motion sensor]]<br />
<br />
[[PHILIPS HUE Bridge]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1474Install OpenHAB2019-07-16T17:09:47Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
After that, we enter the “Inbox” to search for new devices by taping the “SEARCH FOR THINGS” button.<br />
This will automatically show all active devices nearby.<br />
<br />
If the device you are looking for you can add it manually by hitting “ADD MANUALLY”.<br />
There you must add which device it is, to which bridge it is connected and the device ID.<br />
<br />
The next point to do is to navigate to the point “configuration” > “system” and activate the “Simple Mode” under the point “Item linking”.<br />
<br />
Now when you navigate to “configuration” > “things” you can see the “thing” related to your device which should show the status “online”.<br />
After you clicked on your thing you can see the so called “channels”. Those are the functions that you item provides.<br />
<br />
The last thing to do is linking the channels together with the item and snice we activated the simple mode, we simply click on the corresponding blue radio button left to the channel. <br />
<br />
At last we navigate to the “control” page where we can see our new Item and use its functions.<br />
<br />
[[File:Control.png]]<br />
<br />
If you want to change anything about your Item, you go to the “Configuration” > “thing” page and click the pen icon.<br />
<br />
There you can edit the name, chose a location (eg. living room etc.) and change binding related options like the IP address, the timeout, the refresh interval etc.<br />
<br />
<br />
== Used Hardware ==<br />
<br />
[[PHILIPS HUE white and color ambiance single bulb]]<br />
<br />
[[PHILIPS HUE motion sensor]]<br />
<br />
[[PHILIPS HUE Bridge]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Control.png&diff=1473File:Control.png2019-07-16T17:07:56Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1472Install OpenHAB2019-07-16T17:07:42Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
After that, we enter the “Inbox” to search for new devices by taping the “SEARCH FOR THINGS” button.<br />
This will automatically show all active devices nearby.<br />
<br />
If the device you are looking for you can add it manually by hitting “ADD MANUALLY”.<br />
There you must add which device it is, to which bridge it is connected and the device ID.<br />
<br />
The next point to do is to navigate to the point “configuration” > “system” and activate the “Simple Mode” under the point “Item linking”.<br />
<br />
Now when you navigate to “configuration” > “things” you can see the “thing” related to your device which should show the status “online”.<br />
After you clicked on your thing you can see the so called “channels”. Those are the functions that you item provides.<br />
<br />
The last thing to do is linking the channels together with the item and snice we activated the simple mode, we simply click on the corresponding blue radio button left to the channel. <br />
<br />
At last we navigate to the “control” page where we can see our new Item and use its functions.<br />
<br />
[[File:Control.png]]<br />
<br />
If you want to change anything about your Item, you go to the “Configuration” -> “thing” page and click the pen icon.<br />
<br />
There you can edit the name, chose a location (eg. living room etc.) and change binding related options like the IP address, the timeout, the refresh interval etc.<br />
<br />
<br />
== Used Hardware ==<br />
<br />
[[PHILIPS HUE white and color ambiance single bulb]]<br />
<br />
[[PHILIPS HUE motion sensor]]<br />
<br />
[[PHILIPS HUE Bridge]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1471Install OpenHAB2019-07-16T17:04:17Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
<br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use an original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
<br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
<br />
== Used Hardware ==<br />
<br />
[[PHILIPS HUE white and color ambiance single bulb]]<br />
<br />
[[PHILIPS HUE motion sensor]]<br />
<br />
[[PHILIPS HUE Bridge]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1470Install OpenHAB2019-07-16T16:59:07Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. <br />
We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
No matter which product you use it is important to have a bridge to connect your devices with your network.<br />
We use a original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings:<br />
* https://www.openhab.org/docs/tutorial/configuration.html<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
<br />
== Used Hardware ==<br />
<br />
[[PHILIPS HUE white and color ambiance single bulb]]<br />
<br />
[[PHILIPS HUE motion sensor]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1469Install OpenHAB2019-07-16T16:56:03Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
No matter which product you use it is important to have a bridge to connect your devices with your network. We use a original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings https://www.openhab.org/docs/tutorial/configuration.html.<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Add-ons.png]]<br />
<br />
<br />
== Used Hardware ==<br />
<br />
[[Device to be used with this documentation]]<br />
[[Maybe another device to be used with this documentation]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1468Install OpenHAB2019-07-16T16:55:35Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
To get started with OpenHub, first visit the official site https://www.openhab.org/ and klick on the <br />
get started Button.<br />
<br />
It leads to the very first and important site of the programs documentation, the welcome site.<br />
On this site you learn everything that is essential to know for this program and it will lead you through a very detailed step by step manual on how to install and use the program.<br />
<br />
OpenHub runs on most popular platforms such as Linux, Windows and MacOS, we installed it on Windows.<br />
Under the section “Installation Overview” https://www.openhab.org/docs/installation/ <br />
that gives platform recommendations and asks you to choose help for the desired system.<br />
<br />
You can download the latest Windows Stable version of as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you the following Window:<br />
<br />
[[File:OpenHabStartWindow.png]]<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
[[File:OpenHabPackages.PNG]]<br />
<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program. You can also reach the tutorial with the following link:<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
=== Step 3: Binding ===<br />
<br />
A crucial step when using a Smarthome software is the binding of the devices we want to control. We decided to use a PHILIPS HUE white and color ambiance single bulb and a PHILIPS HUE motion sensor. <br />
No matter which product you use it is important to have a bridge to connect your devices with your network. We use a original PHILIPS HUE Bridge which we connected directly to our router via a Lan cable.<br />
After installing the program and choosing the setup, we enter the PAPER UI and start the configuration of our bindings https://www.openhab.org/docs/tutorial/configuration.html.<br />
The first thing to do is to install the corresponding binding for the device you like to control, in our case, the HUE binding. <br />
So, we navigate to the point Add-ons > bindings and search for HUE, then hit the install button.<br />
<br />
[[File:Example.jpg]]<br />
<br />
<br />
== Used Hardware ==<br />
<br />
[[Device to be used with this documentation]]<br />
[[Maybe another device to be used with this documentation]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=File:Add-ons.png&diff=1467File:Add-ons.png2019-07-16T16:53:49Z<p>Stischler: </p>
<hr />
<div></div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1457Install OpenHAB2019-07-10T18:05:38Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
<br />
You can download the latest Windows Stable version as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you an OpenHAB logo.<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
* Simple<br />
* Standard<br />
* Expert<br />
* Demo<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
<br />
After that, the installation is complete.<br />
<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program.<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
== Used Hardware ==<br />
<br />
[[Device to be used with this documentation]]<br />
[[Maybe another device to be used with this documentation]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1456Install OpenHAB2019-07-10T18:04:34Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
<br />
You can download the latest Windows Stable version as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you an OpenHAB logo.<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
Here you can decide between four different packages:<br />
<br />
* Simple<br />
* Standard<br />
* Expert<br />
* Demo<br />
<br />
We chose the Standard setup for it provides all necessary features for our tasks. <br />
After that, the installation is complete.<br />
The online documentation is very detailed and nearly every error that might have been made is covered.<br />
During our installation process no problems occurred.<br />
<br />
The section “While you are getting started” will lead you to a “new user tutorial” which will help with the use of the program.<br />
* https://www.openhab.org/docs/tutorial/<br />
<br />
== Used Hardware ==<br />
<br />
[[Device to be used with this documentation]]<br />
[[Maybe another device to be used with this documentation]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1455Install OpenHAB2019-07-10T17:56:28Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2: Install OpenHAB 2 ===<br />
<br />
You can download the latest Windows Stable version as a zip-file from the download page of openHAB:<br />
* https://www.openhab.org/download/<br />
<br />
We unzip the file in the chosen directory and start the server by executing the script start.bat<br />
which will open an runtime window showing you an OpenHAB logo.<br />
<br />
<br />
After that you navigate your browser to http://localhost:8080 which will automatically direct you to the OpenHub package selection page.<br />
<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
== Used Hardware ==<br />
<br />
[[Device to be used with this documentation]]<br />
[[Maybe another device to be used with this documentation]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischlerhttps://wiki.elvis.science/index.php?title=Install_OpenHAB&diff=1454Install OpenHAB2019-07-10T17:40:39Z<p>Stischler: </p>
<hr />
<div>== Summary == <br />
<br />
This documentation describes how to install OpenHAB 2 on a Windows computer.<br />
<br />
== Requirements ==<br />
<br />
* Operating system: Windows <br />
* Java JDK 8<br />
<br />
== Description ==<br />
<br />
=== Step 1: Set system variable Java 8 ===<br />
<br />
At first, we have to make sure that we are using Java 8 because OpenHub will not work with Java 9 or 10.<br />
<br />
Navigate to:<br />
Control Panel > System > Advanced System Settings > Environment Variables > System Variables<br />
<br />
Add here a System Environment Variable with the Name JAVA_HOME and fill in the path to your Java 8 JDK.<br />
<br />
You can find how to install Java on the website of oracle or you click the link below.<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
<br />
echo foo<br />
echo bar<br />
<br />
=== Step 2 ===<br />
<br />
Make sure to read<br />
<br />
* War and Peace<br />
* Lord of the Rings<br />
* The Baroque Cycle<br />
<br />
== Used Hardware ==<br />
<br />
[[Device to be used with this documentation]]<br />
[[Maybe another device to be used with this documentation]]<br />
<br />
== Courses ==<br />
<br />
* [[A course where this documentation was used]] (2017, 2018)<br />
* [[Another one]] (2018)<br />
<br />
== References ==<br />
<br />
* https://openhab.org<br />
* https://www.oracle.com/technetwork/java/javase/downloads/index.html<br />
* https://docs.oracle.com/javase/10/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-A7E27B90-A28D-4237-9383-A58B416071CA<br />
<br />
[[Category:Documentation]]</div>Stischler