OpenHAB implementation at Level2 to control lights and other stuff.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Georges herber ca25d4ca1f add lights group to sitemap 2 years ago
.idea added people counter, door status, status lamp, soldering table 2 years ago
.vscode add server connection to vscode config 2 years ago
html Initial setup 3 years ago
icons/classic Initial setup 3 years ago
items add things, items and rules for Area42 table lamps 2 years ago
persistence peoplecounter, IR, spacestatus, proxy config, amplifier 2 years ago
rules add things, items and rules for Area42 table lamps 2 years ago
scripts Initial setup 3 years ago
services several changes 2 years ago
sitemaps add lights group to sitemap 2 years ago
sounds Initial setup 3 years ago
syn2cat peoplecounter, IR, spacestatus, proxy config, amplifier 2 years ago
things add things, items and rules for Area42 table lamps 2 years ago
transform added people counter, door status, status lamp, soldering table 2 years ago
README.txt peoplecounter, IR, spacestatus, proxy config, amplifier 2 years ago
openhab2.iml several changes 2 years ago

README.txt

An openHAB implementaiton for the level2 hackerspace

Dump this into /etc/openhab2





Installing proxy for paperUI

sudo bash
apt-get update
apt-get install nginx

rm /etc/nginx/sites-enabled/default
cat >/etc/nginx/sites-available/openhab <<"EOF"
server {
listen 80;
server_name lights.level2.lu;
# https://community.openhab.org/t/occasional-offline-in-basicui-when-proxying-via-nginx-connection-timed-out/63347
location / {
proxy_pass http://localhost:8080/;
proxy_buffering off;
proxy_request_buffering off;
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $