Skip to content

Docker images for the home autoomation software FHEM

Notifications You must be signed in to change notification settings

ChristianV1977/docker-fhem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-fhem

This repository contains the things needed to build docker images for the home autoomation software FHEM (http://fhem.de)

Status and rights

AFAIK stable. Totally free to use by everyone.

Tags

  • rpi-latest FHEM 5.8 for Raspberry Pi
  • rpi-updated FHEM 5.8 for Raspberry Pi updated to the (at build time) latest versions of all modules

Thanks

Initial content was copied from https://github.com/Raigen/docker-fhem. Many thanks for your effort!

Build

cd ~; rm -rf docker-fhem; git clone https://github.com/sejnub/docker-fhem.git
cd ~/docker-fhem; docker build -t sejnub/fhem:rpi-latest .

Update FHEM

Run

docker rm -f fhem; docker run -d -p 8083:8083 --name fhem sejnub/fhem:rpi-latest

Open browser and point it to the fhem webserver on port 8083.

Into the command field at the top of the fhem web page type

update

When it's finished type into the same command field

shutdown

Now commit the update to a new image

docker commit fhem sejnub/fhem:rpi-updated

Now you have an up to date image with fhem.

Push images to https://hub.docker.com

If you are not sejnub you have to retag the images to your username at dockerhub and use those new tags. The following commands use the authors tags.

Log into dockerhub and push the images with

docker login
docker push sejnub/fhem:rpi-latest
docker push sejnub/fhem:rpi-updated

Run

For running with CUL we need --privileged or --device . The following commands assume that you use a CUL in a typical setup.

Run an interactive bash

docker rm -f fhem; docker run -it --device /dev/ttyACM0 -p 8083:8083 -p 7072:7072 --name fhem sejnub/fhem:rpi-latest bash

Run the latest or the updated version

docker rm -f fhem; docker run -d  --device /dev/ttyACM0 -p 8083:8083 -p 7072:7072 --name fhem sejnub/fhem:rpi-latest

docker rm -f fhem; docker run -d  --device /dev/ttyACM0 -p 8083:8083 -p 7072:7072 --name fhem sejnub/fhem:rpi-updated

CUL

For flashing and adding CUL see https://haus-automatisierung.com/hardware/fhem/2016/05/08/fhem-tutorial-reihe-part-4-cul-flashen-und-erste-geraete-anlernen.html

About

Docker images for the home autoomation software FHEM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%