Git Product home page Git Product logo

docker-fhem's Introduction

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

docker-fhem's People

Contributors

sejnub avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.