/fhem-docker

Just a template for a preconfigured fhem with mysql, mqtt and some other features in a docker environment

Primary LanguagePerl

FHEM Docker Base

This is a template for a docker based fhem installation. It contains a lot of services and is preconfigured / ready to start.

Change all the passwords for mySQL, FHEM, NodeRed, ...

Contains

  • FHEM + haus-automatisierung.com FHEM frontend style + Tablet UI + ABFALL Module
  • MQTT (configured)
  • mySQL-Logging (configured)
  • NodeRed
  • HA-Bridge

Requirements

  • Docker
  • Docker-Compose

Install

git clone https://github.com/athalonis/fhem-docker.git fhem-docker
cd fhem-docker
./init.sh
docker-compose up -d

Defaults / Ports

  • FHEM: http://[ip]:8083/fhem
  • Node-Red: http://[ip]:1880/

Add MQTT Users

docker-compose exec mqtt mosquitto_passwd /mosquitto/config/userdb username

Passwords

  • fhem-User: admin

  • fhem-Password: 1LOg2810AGBLmT2fn

  • telnet: ggOCu3IAKbN0x54zN

  • mySQL-User: fhemuser

  • mySQL-Password: 2jRHnEi3WuNSQAcX7 (see mysql/init.sql and fhem/core/contrib/configDB/configDB.conf)

Additional Information

  • FHEM
    • HTTPS is not configured right now

SQL Default configuration can be found here

cat fhem/core/contrib/dblog/db_create_mysql.sql