Page 4 of 7

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Tue May 26, 2015 4:06 pm
by teilmeier
Hi together,

I just wanted to inform you that the new openHAB version 1.7.0 has been released. Christoph, it would be great if you could create an updated qpkg based on it.

Thanks a lot
Philip

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Tue May 26, 2015 5:43 pm
by cwempe
I just looked for the new versions a few hours earlier and din not expect to it be released over night. :)
But thanks for the reminder.

Here is the qpkg for 1.7.

https://drive.google.com/file/d/0B88Qoo ... sp=sharing

I just build this package without any testing!
So be aware of any issues and make a backup of your running openhab configuration first!

btw: I am thinking of running openhab on a raspberry pi in the future.
But I will post a quick guide how to build your own qpkg for newer openhab releases.
It's really easy. :)

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Wed Jun 10, 2015 6:23 am
by amc_fr
Hi Christoph,
Thanks again for your work. I have 1.6.2 installed on my NAS212P and it works like a charm. Haven't tried your qpkg for 1.7 yet.

However, based on your last message, I am a bit afraid that the experience you have built up until now might soon get lost. :( I guess all QNAP/Openhab users (including myself :D ) would be very grateful if you could find a few minutes to write the quick guide that you just mentioned. Nothing urgent, just when you have some spare time...

By the way, any good reasons why you decided to install openHAB on a RaspPI, while you had just managed to get it up and running on your existing NAS?
I have to admit that I am personally a bit worried about the poor support from QNAP regarding drivers; I really had to fight hard to find a working driver (pl2303.ko) for my usb2serial interface, as required to connect openHAB to my NikoBus home automation system. I might also have to move to RaspPI later, when QNAP decides to upgrade to a newer Linux kernel, and my driver is no longer compatible :(
Alain

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Wed Jun 10, 2015 9:05 am
by BigBadWren
Christoph...thanks! Installed the 1.7 qpkg, and it is working great. I also dropped HABmin on top of it (it is a web interface for managing openHAB, in case you haven't heard of it...https://github.com/cdjackson/HABmin) and got that working too...I see a lot of potential in this system...

All...are any of you running an Aeon Labs ZStick as part of your config? I had a heck of a time getting the QNAP (TS-251) to recognize it, and now that I have that working, I cannot figure out how to get opanHAB to recognize it. I have done everything I can think of to do to the binding, to no avail. If any of you have had luck with that particular piece of hardware, I would love some advice...

Thanks,
Greg

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Fri Jun 19, 2015 3:37 am
by Ricotchet
Hi i have a qnap ts 451. If i install openhab which port is Used for openhab because the 8080 port is used for the qnap ?

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Fri Jun 19, 2015 5:57 am
by cwempe
I defined 8082 as the default HTTP port.
And 8443 as the default https port.

But you can change this by our own if you want.
There is a config file to define the ports:
/share/MD0_DATA/.qpkg/openHAB/configurations/openHAB.ports

Also if you are in the App Center of the QNAP web interface you can click on "Open" the openHAB app.
This will open a new browser window with this URL:
http://<qnap_hostname>:8082/openhab.app?sitemap=demo

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Thu Jun 25, 2015 4:43 am
by Ricotchet
thank you i installed the 1.7 Version.
After the Installation the Harddisk didn't goin to the sleep mode is this normal?
Is there any way to run openhab on qnap and use the sleeping mode for the Harddisk?

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Thu Jun 25, 2015 6:39 am
by cwempe
I don't think so.
Openhab does write logs frequently.
You could try to change the path of the logfiles to a usb drive or so.
But I don't know how that works exactly and what consequences this would bring.

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Sun Jul 12, 2015 4:58 pm
by parkerc
I have 1.7 installed and it seems to be running. (Thanks so much for making that available)

I've spent quite a bit of time reading the openhab wiki, trying to get my head around all the terminology, and as I have a number of devices that are supported, and my QNAP is on all day everyday I'm excited by the potential !!

I'm also going to looking out to see which of the main NAS players will start to incorporate OpenHab as a standard feature, and actually help to invest in it, as it could soon act as a valuable feature in my next choice of NAS. I have all my data/media there, why not make it the control centre.

Sadly as it stands today, being something you have to configure from the command line (or as I do, via winSCP) it doesnt make for most pleasant of set up experiences; and I'm disappointed (embarrassed) to say that I've still not got it to work due to all the components/interdependencies in play :(

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Sun Jul 12, 2015 8:29 pm
by cwempe
Well, an official QNAP-openHAB-package would not be that much different from the package I created.

And the only thing you have to do via shell is to create the symlink to access the openhab folder via samba/nfs.
see: http://forum.qnap.com/viewtopic.php?f=3 ... 15#p440612
Maybe this could be done during the qpkg-installation, too.

Then you can point the openhab-designer on your workstation to the openhab-share and configure everything you want.

Yes, you still need the shell to start openhab in debug mode .

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Thu Oct 01, 2015 3:24 pm
by Asparagus
Hi,
I'm owner of a TS-219P since years, but I'm a newbe in homeautomation.
Yesterday I've installed OpenHab 1.7 on my QNAP (Thx to the developer - well done!).

What kind of receivers do you guys use with your QNAP's?
I wanted to buy a "Z-Wave ZME_UZB1 Me USB Stick für Windows/Linux" to bind Danfoss Thermostates and some Fibaro Gadgets.
Do you have experience with this receiver?

Is it necessary to install additional drivers on the QNAP to get the receivers to work? Or is it just plug & play?

Best regards
Thomas

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Sat Oct 03, 2015 11:19 pm
by cwempe
Beside the fact that I switchen openHAB from QNAP to RaspberryPi, I did not use any receiver with my QNAP.
I wanted to use a USB-to-RS232-Adapter, but it did not work oput of the box.
I would have to compile a custom kernel module to use this.
But that is out of my skills. :)

I don't know if that is the same case for other USB devices.

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Tue Oct 06, 2015 2:34 pm
by sseige
Hi Christoph,
Hi all openhab Users,

I just saw that the new openHAB version 1.7.1 has been released.
I am very happy with my Openhab installtion on my Qnap, why did you go to Rasberry?

Who can do the grate Job from Christoph in the future.

Stefan

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Mon Oct 12, 2015 2:58 am
by cwempe
Actuall I did not migrate openHAB to my RaspberryPi, yet. :ashamed:
No time.

I explained the reason for switching to RaspberryPi in my previous post. ;)

And I just created a new package for v1.7.1. 8)
https://drive.google.com/folderview?id= ... aring#list
As allways: Do a backup first!!

In case anybody else wants to create these packages you need the following:
  • read this Cokbook: http://forum.qnap.com/viewtopic.php?f=131&t=36132
  • create a folder where you save this project
    like: /share/homes/admin/QDK/openHAB
    copy the content I provide here (https://drive.google.com/folderview?id= ... RDb3c#list) into that folder
  • make sure /shared/openhab.sh is executable (chmod +x)
  • extract distribution-x.x.x-runtime.zip into the "shared" folder
  • update "QPKG_VER" and "QPKG_AUTHOR" in qpkg.cfg accordingly
  • run "qbuild" inside the project-folder
  • "build/openHAB_x.x.x.qpkg" should get built
This is from the tip of my head.
Maybe I forgot something.
Just let me know if anybody tries this and experiances any issue.


But maybe this wont even be necessary in the future.
QNAP just announced QTS 4.2 with docker support.
I did not try this and don't have any experiance wich this containers, but there are already some openHAB-containers available.
Like this one: https://github.com/tdeckers/docker-openhab

We will see... :mrgreen:

Re: [QPKG] openHAB - The open Home Automation Bus

Posted: Mon Oct 12, 2015 4:48 pm
by Asparagus
cwempe wrote:Beside the fact that I switchen openHAB from QNAP to RaspberryPi, I did not use any receiver with my QNAP.
I wanted to use a USB-to-RS232-Adapter, but it did not work oput of the box.
I would have to compile a custom kernel module to use this.
But that is out of my skills. :)

I don't know if that is the same case for other USB devices.
Maybe I missunderstand something. Don't I need an external sender/receiver on my QNAP to interact with gadgets that are communicating using the Z-Wave, ZigBee,... protocol?
How do you use your OpebHAB if you don't use an external sender/receiver?