Newer
Older
openhab / README.md
@Pascal Gollor Pascal Gollor on 28 Aug 2018 872 bytes add link
# Docker ocmpose file and config for openhab

## Config
Use `openhab.conf` for configuration.
At the first start, please execute `./install.sh` to use the correct user ID in the config file.
After taht you can create the container with:
```
docker-compose up -d
```

And then you can use openhab at `http://localhost:8080`.


## Help

- http://docs.openhab.org/installation/docker.html
- https://hub.docker.com/r/openhab/openhab/
- https://github.com/openhab/openhab-docker

### weather binding
Copy these folders:
- `webapps/weather-data/layouts` -> `./data/userdata/webapps/weather-data/layouts`
- `webapps/weather-data` -> `./data/conf/html/weather-data`

And follow the instuctions to add `static` for all urls like this:
https://community.openhab.org/t/html-layouts-in-oh2/8762/28?u=benjy

Openhab doku: https://www.openhab.org/addons/bindings/weather1/#html-layouts