From 243f6f1155eb5285451f0fdbedfc967b1479efec Mon Sep 17 00:00:00 2001 From: Martin Bauer Date: Sun, 21 Jul 2019 17:57:30 +0200 Subject: [PATCH] New garden scene --- fhem_dockerfile | 26 ++++++++++++++++++++++++++ scenes.yaml | 22 ++++++++++++++++++++++ todo | 20 +++++++++++++++----- 3 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 fhem_dockerfile diff --git a/fhem_dockerfile b/fhem_dockerfile new file mode 100644 index 0000000..51bb21e --- /dev/null +++ b/fhem_dockerfile @@ -0,0 +1,26 @@ +FROM ubuntu:18.10 + +RUN apt-get update && apt-get install -y \ + perl \ + libdevice-serialport-perl \ + libwww-perl \ + libio-socket-ssl-perl \ + libcgi-pm-perl + + + +RUN wget http://fhem.de/fhem-5.7.deb && \ + dpkg -i fhem-5.7.deb && \ + rm fhem-5.7.deb + + +ADD fhem.cfg /opt/fhem/fhem.cfg + + +ENV TZ=Europe/Berlin +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +WORKDIR /opt/fhem + +CMD /opt/fhem/fhem.pl + diff --git a/scenes.yaml b/scenes.yaml index 9c2b884..03b7e5d 100644 --- a/scenes.yaml +++ b/scenes.yaml @@ -366,3 +366,25 @@ state: on brightness: 255 color_temp: 255 + + +# --------------------- Garten ------------------------------------------------- + +- name: Garten Savanna + entities: + light.garten_stehleuchte: + state: on + brightness: 205 + xy_color: [0.465, 0.448] + light.garten_spot_beet: + state: on + brightness: 205 + xy_color: [0.532, 0.384] + light.garten_spot_magnolie: + state: on + brightness: 205 + xy_color: [0.465, 0.448] + light.garten_spot_birke: + state: on + brightness: 205 + xy_color: [0.586, 0.35] diff --git a/todo b/todo index 199d156..1bb0c30 100644 --- a/todo +++ b/todo @@ -14,18 +14,28 @@ - add KNX motion sensors + LEDs [ok] - add temperature sensors of scene buttons [ok] - calibrate consumption sensors [ok] +- laufzeit poolpumpe pro tag / gestern / durchschnitt pro woche [ok] + + + +- schlafzimmer "all off": aussenlicht(er), eingangsbereich +- make scenes for garden +- shopping list +- make one sensor: last movement + which sensor [ok] + - bluetooth device polling + - switch: get messages + - alarm system +- node red: + - derive docker image where npm packages are installed / deinstalled + - adapt theme + -- laufzeit poolpumpe pro tag / gestern / durchschnitt pro woche -- make one sensor: last movement + which sensor - device tracker clean setup - history and logbook filter - fail2ban -- node red: - - derive docker image where npm packages are installed / deinstalled - - adapt theme - FHEM - switches: update state when switching