-
Notifications
You must be signed in to change notification settings - Fork 8
Habarama
Habarama is a part of the Hogarama Project responsible for collecting data and controlling gadgets. It uses MQTT to interconnect the Raspberries and OpenHab to collect data from sensors.
docker build -t habarama Habarama/docker
NOTE: For Raspberry build please first modify Dockerfile.
The following command will run Habarama with default configuration on the host machine:
docker run -p 8080:8080 habarama
Visit localhost:8080 to see the result.
NOTE: This is not the preferred method to get Habarama up and running. To properly run the container, please specify the configuration.
docker run \
-p 8080:8080 \
-v configuration-dir:/OpenHab/configurations \
-d \
habarama
Raspberry Installation (Step by Step):
-
Update and Upgrade * apt-get update * apt-get upgrade
-
WIFI configuration: * change the content of /etc/wpa_supplicant/wpa_supplicant.conf
country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="{SSID}"
scan_ssid=1
psk="{PASSWORD}"
mode=0
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
auth_alg=OPEN
id_str="raspi"
priority=1
}
-
-Docker installation:
- curl -sSL https://get.docker.com | sh
- sudo usermod -aG docker pi
-
-Project installation:
- git clone https://github.com/Gepardec/Hogarama.git
- docker build Dockerfile
wget http://sourceforge.net/projects/sigar/files/sigar/1.6/hyperic-sigar-1.6.4-src.tar.gz
tar -zxf hyperic-sigar-1.6.4-src.tar.gz
cd hyperic-sigar-1.6.4-src/bindings/java
ant
Path to libsigar-arm-linux.so file: sigar-bin/lib/libsigar-arm-linux.so
. To test run: java -jar sigar-bin/lib/sigar.jar
.
- Home
- Setup Guide
- Using Hogarama
-
Cloud Components
- AMQ
- MongoDB
- Single Sign On
- Hogajama
- Kafka
- Habarama
- Troubleshooting Hogarama
- Optional Modules
- Developer Guideline