Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 04:16:24 16:16


Login with username, password and session length


Pages: [1]
Print
Author Topic: Openhab  (Read 3411 times)
0 Members and 1 Guest are viewing this topic.
iot
Newbie
*
Offline Offline

Posts: 16

Thank You
-Given: 32
-Receive: 13


« on: March 20, 2015, 07:01:15 19:01 »

Just to share a little about Openhab (openhab.org),

It is an open source home automation software for your house, it can control a lot of devices under a single interface, also you can download an app for your mobile phone and then control it.

It can run on Windows, Linux or MAC because it is based on Java.

In fact you can use a raspberry pi or a any other embedded linux board to host it.

I am on the way to build some devices to comunicate with openhab using ardunio and MQTT protocol.

I will share my progress here.

Any comments or questions, please post here!
Logged
iot
Newbie
*
Offline Offline

Posts: 16

Thank You
-Given: 32
-Receive: 13


« Reply #1 on: March 26, 2015, 03:58:36 03:58 »

First Steps:


0) Be sure to have the Java runtime installed and in your path.
You can verify by typing java in the command line.

Download from official site the following packages:

1) distribution runtime, and uncompress to /opt/openhab

Now you have the runtime installed. By default openhab doesn't have addons installed,

2) you will need to download the addons file and unzip to
/opt/openhab/addons

At your first test, you can extract all, but after some testing you can ommit unused files.

3) you will need to create the configuration file, use the configurations/openhab_default.cfe as a base to create openhab.cfg and place into configurations folder. Default port is 8080, in the configuration file you can change the binding port.

4) In your first steps, the demo package will be very useful. Download it and extract to /opt/openhab. This will install the sitemap called "demo".

5) Start the demo, by typing
chmod +x start.sh
./start.sh

6) Open the following address in your navigator and/or android application.   http://[server_ip]:8080/openhab.app?sitemap=demo

7) By following last steps you will have the openhab installed and running into your pc, but if you restart the PC, you will have to launch the server again. In the followings posts i will show how to setup for automatically start at bootup.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC