/cautious-waffle

Easy install of OpenHAB with MQTT, CoAP, Hue and client

Primary LanguageShellMIT LicenseMIT

Cautious-Waffle

Easy install of OpenHAB with MQTT, CoAP, Philips Hue

Install

git clone https://github.com/gzsierra/cautious-waffle.git

Usage

Default Use, for custom config please see Custom config

sudo ./OpenhabInstall.sh

After the installation, check if the service as started.

sudo service coapServer status
sudo service openhab status

If one of them (or both) hasn't start, start them.

sudo service coapServer start
sudo service openhab start

To start Philips Hue emulator (install script will automaticly launch it):

java -jar HueEmulator-v0.7.jar

Custom config

For more details on how to use MQTT or CoAP Server please follow the link below

The custom made configurations for default use can be found in the folder file. You can edit everything for your own special setup

In that folder you will found CoAP Service, default OpenHAB config file, default items and the default sitemaps.

For the usage of Hue emulator please follow here In the config file, there is a part that you have to edit for YOUR CASE. The lines that you have to edit are at line 120 and 126.

The default Openhab config file has been shorted for easy reading

Issue

There may have some issue with the first launch with CoAP, since there is any data, in the log of OpenHAB you will see a bunch of fail coming from CoAP service.

Solution : You simply send data to the CoAP service and on the next periode it will be refresh.

LICENCE

MIT