CUL-Hat verursacht FHEM Crash

Begonnen von S7EN, 20 Januar 2019, 11:59:27

Vorheriges Thema - Nächstes Thema

S7EN

Hallo zusammen,

ich nutze seit einiger Zeit einen Neumann CUL Hat mit 4 Modulen. Seit einiger Zeit ist FHEM nicht mehr über die Weboberfläche erreichbar und ich haben den Hat in Verdacht und hoffe auf eure Hilfe.
Ich konnte beobachten das der Hat das Log bei attr global verbose 5 geradezu überflutet mit leeren "CUL/RAW (ReadAnswer): " Nachrichten und damit höchstwahrscheinlich das FHEM ganz außer Gefecht setzt. Ich nutze am Hat bisher lediglich einen 868er CUL mit Max! Heizungsthermostaten und Wandthermostaten und einen 433er Cul für meine Baumarkt-Steckdosen. Ich habe den Pi sowie Fhem geupdatet um das Problem zu lösen doch leider brachte das kein Erfolg. Eventuell könnt ihr aus dem Log und der cfg etwas herleiten was die Ursache dafür ist. Meine ganzes Smarthome hängt daran und ist derzeit nicht benutzbar dadurch. Sensible Daten sind mit Absicht mit "####" unkenntlich gemacht! Danke im Vorraus

cfg:

attr global userattr cmdIcon devStateIcon devStateIcon:textField-long devStateStyle icon sortby webCmd webCmdLabel:textField-long widgetOverride
attr global autoload_undefined_devices 1
attr global autosave 0
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd none
attr global statefile ./log/fhem.save
attr global verbose 5

define WEB FHEMWEB 8083 global
attr WEB Css @import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900,900i');;\
\
html, body, html * {\
  font-family: 'Roboto';;\
}\
\
@font-face {\
  font-style: normal;;\
  font-weight: 300;;\
}\
\
body, input, select, textarea {\
    font-weight: 400;;\
    font-size: 14px;;\
}\
\
input, textarea {\
    border-style: solid;;\
    border-width: 2px;;\
    border-color: #DDDDDD;;\
    border-radius: 0px;;\
}\
\
input.maininput {\
    border-width: 0px;;\
    height: 20px;;\
    color: #060606;;\
}\
\
input[type="text"] {\
    -webkit-appearance: none;;\
    padding: 2px;;\
}\
\
body.touch a {\
    font-size: 16px;;\
}\
\
#menuBtn {\
    position: absolute;;\
    top: 14px;;\
    left: 10px;;\
    width: 28px;;\
    height: 28px;;\
}\
\
*:focus {\
    outline: none;;\
}\
\
div.pinHeader {\
    color: white;;\
    height: 18px;;\
    border-radius: 0px;;\
    padding: 5px 8px 5px 8px;;\
}\
\
div.pinHeader a {\
    color: white !important;;\
}\
\
svg:not([fill]):not(.jssvg) {\
    fill: #CCCCCC;;\
    height: 25px;;\
    width: 25px;;\
    padding-right: 10px;;\
}\
svg:on([fill]):on(.jssvg) {\
    fill: #CCCCCC;;\
    height: 25px;;\
    width: 25px;;\
    padding-right: 10px;;\
}\
table.room, table.block.wide, table.fileList {\
    border-top: 0px;;\
    border-bottom: 2px solid #060606;;\
}\
\
table.block.wide {\
    font-weight: 300;;\
}\
\
table.block.wide td > div {\
    padding: 4px;;\
}\
\
td {\
    padding: 0px;;\
}\
\
div#content > table {\
    width: 100%;;\
}\
\
div#content::-webkit-scrollbar {\
    display: none;;\
}\
\
div#menu {\
    width: 200px;;\
}\
\
div#menu::-webkit-scrollbar {\
    display: none;;\
}\
\
div#menu > table, div#content > table {\
    border-collapse: collapse;;\
    width: 100%;;\
}\
\
div#menu > .col_header {\
    fill: #0179d8;;\
    font-size: 14px;;\
}\
\
div#menu > .col_header:before {\
    content: "Menü";;\
}\
\
div#menu tr {\
    border-width: 0px;;\
    background-color: #2a2a2a;;\
}\
\
div#menu tr tr:hover {\
    background-color: #a9a9a9;;\
}\
\
div#menu tr:last-child { \
    border-bottom: none !important;; \
}\
\
.room tr > td {\
    padding: 4px 8px 4px 8px;;\
}\
\
div#menu a {\
    color: #fff ! important;;    \
    padding-left: 5px;;\
}\
\
body.touch #menu table.room div {\
    padding: 4px;;\
}\
\
.slider {\
    background-color: #DDDDDD;;\
    border-radius: 5px;;\
    margin: 30px 0px 10px 0px;;\
    height: 4px;;\
}\
\
.colorpicker_bri .slider {\
    background-image: -webkit-linear-gradient(left, rgb( 150, 150 ,150), rgb(255,255,255) ) !important;;\
    background-image: -moz-linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;;\
    background-image: -ms-linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;;\
    background-image: -o-linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;;\
    background-image: linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;;\
}\
\
.handle {\
    font-size: 13px;;\
    color: white !important;;\
    position: relative;;\
    width: 45px;;\
    height: 20px;;\
    padding: 0px;;\
    background: #CCCCCC;;\
    border-radius: 8px;;\
    border-width: 0px;;\
    bottom: 32px;;\
}\
\
.handle:before {\
    content: '';;\
    position: absolute;;\
    border-style: solid;;\
    border-width: 5px 5px 0;;\
    border-color: #CCCCCC transparent;;\
    display: block;;\
    width: 0;;\
    bottom: -4px;;\
    left: 17px;;\
}\
\
.handle:after {\
    content: '';;\
    position: absolute;;\
    border-style: solid;;\
    border-width: 8px;;\
    border-radius: 8px;;\
    border-color: #CCCCCC;;\
    box-shadow: 0px 0px 0px 2px white;;\
    display: block;;\
    width: 0;;\
    bottom: -23px;;\
    left: 14px;;\
}\
\
.sysmon table tr td {\
    padding: 2px;;\
}\
\
.makeSelect form {\
    padding: 5px;;\
    display: flex;;\
    align-items: center;;\
}\
\
.makeSelect {\
    display: flex;;\
    float: left;;\
    /* clear: left;; */\
    height: 35px;;\
    background: #2a2a2a;;\
    width: 100%;;\
}\
\
.get, .set, .attr {\
    margin-bottom: 0px;;\
}\
\
.downText {\
    margin-top: 0px;;\
}\
\
input[type="text"] {\
    color: #060606;;\
}\
\
.textField_widget input {\
    border: 0px;;\
}\
\
input.multiple_widget {\
   border: 0px;;\
}\
\
div#devSpecHelp {\
    background: #2a2a2a;;\
    width: 100%;;\
    padding-top: 5px;;\
    margin-bottom: 0px;;\
}\
\
.SVGplot * {\
    padding-top: 5px;;\
}\
\
.border {\
    stroke: #fff !important;;\
    fill: #2a2a2a !important;;\
}\

attr WEB defaultRoom Favoriten
attr WEB hiddenroom 1
attr WEB roomIcons Favoriten:Icon_Fisch Unsorted:control_x Events:audio_play System:it_router Geräte:it_television Lampen:light_pendant_light Heizung:sani_heating
attr WEB smallscreenCommands 0
attr WEB styleData {\
"f18": {\
  "Pinned.menu": false,\
  "hidePin": "true",\
  "cols.bg": "444444",\
  "cols.fg": "CCCCCC",\
  "cols.link": "cccccc",\
  "cols.evenrow": "333333",\
  "cols.oddrow": "111111",\
  "cols.header": "222222",\
  "cols.menu": "111111",\
  "cols.sel": "333333",\
  "cols.inpBack": "444444",\
  "savePinChanges": true,\
  "hideLogo": true\
}\
}
attr WEB stylesheetPrefix f18
attr WEB title Heimzentrale

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
attr Logfile verbose 5

define autocreate autocreate
attr autocreate autosave 0
attr autocreate disable 1
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
attr initialUsbCheck disable 1
define cm CUL_MAX 123456
attr cm IODev CULHat1
define allowed allowed
attr allowed basicAuth ######
attr allowed basicAuthExpiry 30
attr allowed validFor WEB,WEBphone
define Lampe_Wohnzimmer_Sofa IT 0FF0FF0FFF FF F0
attr Lampe_Wohnzimmer_Sofa IODev CULHat2
attr Lampe_Wohnzimmer_Sofa alias Lampe Wohnzimmer Sofa
attr Lampe_Wohnzimmer_Sofa devStateIcon on:radio_checked off:radio_unchecked
attr Lampe_Wohnzimmer_Sofa group Lampen
attr Lampe_Wohnzimmer_Sofa icon light_light_dim_100
attr Lampe_Wohnzimmer_Sofa room Favoriten,Lampen
define TV_Wohnzimmer IT 0FF0F0FFFF FF F0
attr TV_Wohnzimmer IODev CULHat2
attr TV_Wohnzimmer alias TV Wohnzimmer
attr TV_Wohnzimmer devStateIcon on:radio_checked off:radio_unchecked
attr TV_Wohnzimmer group TV
attr TV_Wohnzimmer icon it_television
attr TV_Wohnzimmer room Favoriten,Geräte
define WEBphone FHEMWEB 8084 global
attr WEBphone iconPath openautomation:default
attr WEBphone styleData {\
"f18": {\
  "Pinned.menu": false,\
  "hidePin": "true",\
  "cols.bg": "444444",\
  "cols.fg": "CCCCCC",\
  "cols.link": "FF9900",\
  "cols.evenrow": "333333",\
  "cols.oddrow": "111111",\
  "cols.header": "222222",\
  "cols.menu": "111111",\
  "cols.sel": "333333",\
  "cols.inpBack": "444444",\
  "savePinChanges": true\
}\
}
define PC dummy
attr PC devStateIcon on:radio_checked off:radio_unchecked
attr PC group Computer
attr PC icon it_pc
attr PC room Favoriten,Geräte
attr PC setList on off
attr PC webCmd state
define pcan notify PC:on {WakeOnLan('30:9C:23:D7:3B:72')}
define pcaus notify PC:off "curl –silent –output http://#####.myfritz.net:7760/forcepoweroff"
define HM_Taster_01.ntfy notify HM_Taster_01.* {WakeOnLan('00:17:31:fa:9b:51')}
define pc_presence PRESENCE lan-ping 192.168.178.20
attr pc_presence alias PC
attr pc_presence devStateIcon present:radio_checked absent:radio_unchecked
attr pc_presence group Anwesenheit
attr pc_presence icon it_pc
attr pc_presence room System
define handy_presence PRESENCE local-bluetooth 94:65:2d:7b:97:12
attr handy_presence userattr presence presence_map structexclude
attr handy_presence alias Handy Bluetooth
attr handy_presence group Anwesenheit
attr handy_presence presence Handy
attr handy_presence room Unsorted
attr handy_presence timestamp-on-change-reading 1
define espBridge ESPEasy bridge 8383
attr espBridge authentication 1
attr espBridge combineDevices 0
attr espBridge group ESPEasy Bridge
attr espBridge room Unsorted
attr espBridge verbose 1
define handy_presence_ip PRESENCE lan-ping 192.168.178.20
attr handy_presence_ip userattr presence presence_map structexclude
attr handy_presence_ip alias Handy LAN
attr handy_presence_ip group Anwesenheit
attr handy_presence_ip presence Handy
attr handy_presence_ip room Unsorted
attr handy_presence_ip timestamp-on-change-reading 1
define Handy structure presence handy_presence handy_presence_ip
attr Handy clientstate_behavior relative
attr Handy clientstate_priority present absent
attr Handy devStateIcon present:radio_checked absent:radio_unchecked
attr Handy group Anwesenheit
attr Handy icon it_smartphone
attr Handy room System
attr Handy timestamp-on-change-reading 1
define chromecast PRESENCE lan-ping 192.168.178.28
attr chromecast alias Chromecast
attr chromecast devStateIcon present:radio_checked absent:radio_unchecked
attr chromecast group Anwesenheit
attr chromecast icon it_television
attr chromecast room System
define firetv_wohnzimmer PRESENCE lan-ping 192.168.178.30
attr firetv_wohnzimmer alias FireTV Stick Wohnzimmer
attr firetv_wohnzimmer devStateIcon present:radio_checked absent:radio_unchecked
attr firetv_wohnzimmer group Anwesenheit
attr firetv_wohnzimmer icon it_television
attr firetv_wohnzimmer room System
define DOIF DOIFtools associated DOIF: Airwick_Freshmatic_do airwick_freshmatic_do_manu alles_aus alles_aus_fb alles_aus_flur alles_aus_schlafzimmer auto_lux_on auto_lux_on_pc hideroom_doif raspi_restart tv_mode_fb
define ESPEasy_Airwick_Airwick ESPEasy 192.168.178.21 80 espBridge Airwick_Airwick
attr ESPEasy_Airwick_Airwick IODev espBridge
attr ESPEasy_Airwick_Airwick Interval 300
attr ESPEasy_Airwick_Airwick alias Airwick Freshmatic
attr ESPEasy_Airwick_Airwick group ESPEasy
attr ESPEasy_Airwick_Airwick presenceCheck 1
attr ESPEasy_Airwick_Airwick readingSwitchText 1
attr ESPEasy_Airwick_Airwick room Unsorted
attr ESPEasy_Airwick_Airwick setState 3
define Airwick_Freshmatic_do DOIF ([Handy:state] eq "present" and ([chromecast:state] eq "present" or [pc_presence:state] eq "present")and ([+00:30]))(set ESPEasy_Airwick_Airwick Pulse 16 1 1000,set ESPEasy_Airwick_Airwick gpio 16 0)
define ESPEasy_Airwick_BH1750 ESPEasy 192.168.178.21 80 espBridge Airwick_BH1750
attr ESPEasy_Airwick_BH1750 IODev espBridge
attr ESPEasy_Airwick_BH1750 Interval 300
attr ESPEasy_Airwick_BH1750 alias Helligkeitssensor
attr ESPEasy_Airwick_BH1750 group Sensoren
attr ESPEasy_Airwick_BH1750 icon people_sensor
attr ESPEasy_Airwick_BH1750 presenceCheck 1
attr ESPEasy_Airwick_BH1750 readingSwitchText 1
attr ESPEasy_Airwick_BH1750 room Favoriten,System
attr ESPEasy_Airwick_BH1750 setState 3
define auto_lux_on DOIF ([ESPEasy_Airwick_BH1750:Lux] < 8 and ([chromecast:state] eq "present" or [pc_presence:state] eq "present") )\
\
(set Lampe_Wohnzimmer_Sofa on)\
(set Weihnachtsbeleuchtung on)
attr auto_lux_on disable 0
define alles_aus DOIF ([alles_aus_button:state] eq "on")(\
set PC off,\
set Deckenlampe_Wohnzimmer off,  \
set Deckenlampe_Flur off,  \
set Deckenlampe_Schlafzimmer off,  \
set Deckenlampe_Bad off,\
set TV_Wohnzimmer off,\
set IT_0F00F0FFFF off,\
set IT_0F00FF0FFF off,\
set MAX_16617b desiredTemperature off, \
set MAX_1661a2 desiredTemperature off, \
set MAX_12f06e desiredTemperature off, \
set MAX_165f56 desiredTemperature off, \
set Lampe_Wohnzimmer_Sofa off, \
set Weihnachtsbeleuchtung off,\
set Lampe_PC off,\
set alles_aus_button off)
attr alles_aus do always
define alles_aus_button dummy
attr alles_aus_button alias Alles Aus
attr alles_aus_button devStateIcon on:radio_checked off:radio_unchecked
attr alles_aus_button group Makros
attr alles_aus_button icon control_standby
attr alles_aus_button room Events,Favoriten
attr alles_aus_button setList on off
attr alles_aus_button webCmd state
define geofancy GEOFANCY geo
define MAX_12f06e MAX HeatingThermostat 12f06e
attr MAX_12f06e IODev cm
attr MAX_12f06e alias Wohnzimmer Links
attr MAX_12f06e group Heizungsthermostate
attr MAX_12f06e icon sani_heating
attr MAX_12f06e room Favoriten,Heizung
define FileLog_MAX_12f06e FileLog ./log/MAX_12f06e-%Y.log MAX_12f06e
attr FileLog_MAX_12f06e logtype text
attr FileLog_MAX_12f06e room Unsorted
define MAX_165f56 MAX HeatingThermostat 165f56
attr MAX_165f56 IODev cm
attr MAX_165f56 alias Wohnzimmer Rechts
attr MAX_165f56 group Heizungsthermostate
attr MAX_165f56 icon sani_heating
attr MAX_165f56 room Favoriten,Heizung
define FileLog_MAX_165f56 FileLog ./log/MAX_165f56-%Y.log MAX_165f56
attr FileLog_MAX_165f56 logtype text
attr FileLog_MAX_165f56 room Unsorted
define MAX_1930c2 MAX WallMountedThermostat 1930c2
attr MAX_1930c2 IODev cm
attr MAX_1930c2 alias Wohnzimmer
attr MAX_1930c2 group Wandthermostate
attr MAX_1930c2 icon max_wandthermostat
attr MAX_1930c2 room Favoriten,Heizung
define FileLog_MAX_1930c2 FileLog ./log/MAX_1930c2-%Y.log MAX_1930c2
attr FileLog_MAX_1930c2 logtype text
attr FileLog_MAX_1930c2 room Unsorted
define pushmsg Pushover ######
define airwick_freshmatic dummy
attr airwick_freshmatic alias Airwick Freshmatic
attr airwick_freshmatic devStateIcon on:radio_checked off:radio_unchecked
attr airwick_freshmatic group Sonstiges
attr airwick_freshmatic icon hue_room_garden
attr airwick_freshmatic room Favoriten,Geräte
attr airwick_freshmatic setList on off
attr airwick_freshmatic webCmd state
define airwick_freshmatic_do_manu DOIF ([airwick_freshmatic:state] eq "on") (set ESPEasy_Airwick_Airwick Pulse 16 1 1000) \
(set ESPEasy_Airwick_Airwick gpio 16 0)\
(set airwick_freshmatic off)
attr airwick_freshmatic_do_manu do always
define IT_1527xe1cde IT 1527xe1cde 1000 0000
attr IT_1527xe1cde IODev CULHat2
attr IT_1527xe1cde alias Alles Aus Button Flur
attr IT_1527xe1cde room Unsorted
define alles_aus_flur DOIF ([IT_1527xe1cde:state] eq "on")\
(set alles_aus_button on)\
(set IT_1527xe1cde off)
attr alles_aus_flur do always
define IT_1527xdda2b IT 1527xdda2b 1000 0000
attr IT_1527xdda2b IODev CULHat2
attr IT_1527xdda2b alias Alles Aus Button Schlafzimmer
attr IT_1527xdda2b room Unsorted
define alles_aus_schlafzimmer DOIF ([IT_1527xdda2b:state] eq "on")(\
set alles_aus_button on,\
set IT_0F00FFF0FF on, \
set IT_1527xdda2b off\
)
attr alles_aus_schlafzimmer do always
define c_dellog cmdalias dellog AS {qx(truncate $currlogfile --size 0);;Log 1, "Logfile gelöscht";;}
define raspi_restart DOIF ([raspi_restart_btn:state] eq "on")\
(set raspi_restart_btn off)\
({ system("sudo reboot &") })
define raspi_restart_btn dummy
attr raspi_restart_btn alias Raspi Restart
attr raspi_restart_btn devStateIcon on:radio_checked off:radio_unchecked
attr raspi_restart_btn group Aktionen
attr raspi_restart_btn icon system_fhem_reboot
attr raspi_restart_btn room Favoriten,System
attr raspi_restart_btn setList on off
attr raspi_restart_btn webCmd state
define CULHat1 CUL /dev/ttyAMA0@38400 4444
attr CULHat1 rfmode MAX
attr CULHat1 verbose 3
define CULHat2 STACKABLE_CC CULHat1
attr CULHat2 rfmode SlowRF
attr CULHat2 verbose 3
define CULHat3 STACKABLE_CC CULHat2
define CULHat4 STACKABLE_CC CULHat3
define MAX_16617b MAX HeatingThermostat 16617b
attr MAX_16617b IODev cm
attr MAX_16617b alias Bad
attr MAX_16617b group Heizungsthermostate
attr MAX_16617b icon sani_heating
attr MAX_16617b room Favoriten,Heizung
define FileLog_MAX_16617b FileLog ./log/MAX_16617b-%Y.log MAX_16617b
attr FileLog_MAX_16617b logtype text
attr FileLog_MAX_16617b room Unsorted
define MAX_1661a2 MAX HeatingThermostat 1661a2
attr MAX_1661a2 IODev cm
attr MAX_1661a2 alias Schlafzimmer
attr MAX_1661a2 group Heizungsthermostate
attr MAX_1661a2 icon sani_heating
attr MAX_1661a2 room Favoriten,Heizung
define FileLog_MAX_1661a2 FileLog ./log/MAX_1661a2-%Y.log MAX_1661a2
attr FileLog_MAX_1661a2 logtype text
attr FileLog_MAX_1661a2 room Unsorted
define IT_0F00F0FFFF IT 0F00F0FFFF 0F F0
attr IT_0F00F0FFFF IODev CULHat2
attr IT_0F00F0FFFF alias TV Schlafzimmer
attr IT_0F00F0FFFF devStateIcon on:radio_checked off:radio_unchecked
attr IT_0F00F0FFFF group TV
attr IT_0F00F0FFFF icon it_television
attr IT_0F00F0FFFF room Favoriten,Geräte
define IT_0F00FF0FFF IT 0F00FF0FFF 0F F0
attr IT_0F00FF0FFF IODev CULHat2
attr IT_0F00FF0FFF alias Ladegerät Wohnzimmer
attr IT_0F00FF0FFF devStateIcon on:radio_checked off:radio_unchecked
attr IT_0F00FF0FFF group Zwischenstecker
attr IT_0F00FF0FFF icon message_socket
attr IT_0F00FF0FFF room Favoriten,Geräte
define IT_0F0FF0FFFF IT 0F0FF0FFFF 0F F0
attr IT_0F0FF0FFFF IODev CULHat2
attr IT_0F0FF0FFFF alias TV Mode FB
attr IT_0F0FF0FFFF room Unsorted
define IT_0F0FFFFF0F IT 0F0FFFFF0F 0F F0
attr IT_0F0FFFFF0F IODev CULHat2
attr IT_0F0FFFFF0F alias Alles Aus FB
attr IT_0F0FFFFF0F room Unsorted
define alles_aus_fb DOIF ([IT_0F0FFFFF0F:state] eq "on")(\
set IT_0F0FFFFF0F off,\
set alles_aus_button on\
)
attr alles_aus_fb do always
define tv_mode_fb DOIF ([IT_0F0FF0FFFF:state] eq "on")(\
set IT_0F0FF0FFFF off,\
set PC off,\
set Deckenlampe_Wohnzimmer off,  \
set Deckenlampe_Flur off,  \
set Deckenlampe_Schlafzimmer off,  \
set Deckenlampe_Bad off,\
set Lampe_Wohnzimmer_Sofa on, \
set TV_Wohnzimmer on,\
set IT_0F00F0FFFF off,\
set nachttischlampe_schlafzimmer off,\
set IT_0F00FF0FFF off,\
set alles_aus_button off\
)
attr tv_mode_fb do always
define Deckenlampe_Wohnzimmer IT 1527165739 1111 0111
attr Deckenlampe_Wohnzimmer IODev CULHat2
attr Deckenlampe_Wohnzimmer alias Deckenlampe Wohnzimmer
attr Deckenlampe_Wohnzimmer devStateIcon on:radio_checked off:radio_unchecked
attr Deckenlampe_Wohnzimmer group Deckenlampen
attr Deckenlampe_Wohnzimmer icon light_pendant_light
attr Deckenlampe_Wohnzimmer room Favoriten,Lampen
define Deckenlampe_Schlafzimmer IT 1527265739 1110 0110
attr Deckenlampe_Schlafzimmer IODev CULHat2
attr Deckenlampe_Schlafzimmer alias Deckenlampe Schlafzimmer
attr Deckenlampe_Schlafzimmer devStateIcon on:radio_checked off:radio_unchecked
attr Deckenlampe_Schlafzimmer group Deckenlampen
attr Deckenlampe_Schlafzimmer icon light_pendant_light
attr Deckenlampe_Schlafzimmer room Favoriten,Lampen
define Deckenlampe_Flur IT 1527365739 1011 0011
attr Deckenlampe_Flur IODev CULHat2
attr Deckenlampe_Flur alias Deckenlampe Flur
attr Deckenlampe_Flur devStateIcon on:radio_checked off:radio_unchecked
attr Deckenlampe_Flur group Deckenlampen
attr Deckenlampe_Flur icon light_pendant_light
attr Deckenlampe_Flur room Favoriten,Lampen
define Deckenlampe_Bad IT 1527465739 1101 0101
attr Deckenlampe_Bad IODev CULHat2
attr Deckenlampe_Bad alias Deckenlampe Bad
attr Deckenlampe_Bad devStateIcon on:radio_checked off:radio_unchecked
attr Deckenlampe_Bad group Deckenlampen
attr Deckenlampe_Bad icon light_pendant_light
attr Deckenlampe_Bad room Favoriten,Lampen
define auto_backup at *23:59:00 backup
define hideroom dummy
attr hideroom alias Verstecke Räume
attr hideroom devStateIcon on:radio_checked off:radio_unchecked
attr hideroom group Aktionen
attr hideroom icon edit_settings
attr hideroom room Events
attr hideroom setList on off
attr hideroom webCmd state
define hideroom_doif DOIF ([hideroom:state] eq "on")\
((attr WEB hiddenroom Everything,Logfile,Commandref,Remote doc,Edit files,Select style,Event monitor))\
DOELSE\
(attr WEB hiddenroom 1)
define Kalender Calendar ical url https://calendar.google.com/calendar/ical/g1c4d7maakuvdcv804i3mva66k%40group.calendar.google.com/private-08f9dae1148623298ec451be740df294/basic.ics
define Lampe_PC IT 0F00FFFF0F 0F F0
attr Lampe_PC IODev CULHat2
attr Lampe_PC alias Lampe PC
attr Lampe_PC devStateIcon on:radio_checked off:radio_unchecked
attr Lampe_PC group Lampen
attr Lampe_PC icon light_light_dim_100
attr Lampe_PC room Favoriten,Lampen
define auto_lux_on_pc DOIF ([ESPEasy_Airwick_BH1750:Lux] < 8 and [pc_presence:state] eq "present") \
\
(set Lampe_PC on)\

attr auto_lux_on_pc disable 0


Log Auszug (verbose 5)

2019.01.20 11:17:12 1: Including fhem.cfg
2019.01.20 11:17:14 1: cm: did not find suitable IODev (CUL etc. in rfmode MAX)! You may want to execute 'attr cm IODev SomeCUL'
2019.01.20 11:36:58 5: Initializing Type Library:
2019.01.20 11:36:58 1: Including fhem.cfg
2019.01.20 11:36:58 5: Cmd: >attr global userattr cmdIcon devStateIcon devStateIcon:textField-long devStateStyle icon sortby webCmd webCmdLabel:textField-long widgetOverride<
2019.01.20 11:36:58 5: Cmd: >attr global autoload_undefined_devices 1<
2019.01.20 11:36:58 5: Cmd: >attr global autosave 0<
2019.01.20 11:36:58 5: Cmd: >attr global logfile ./log/fhem-%Y-%m.log<
2019.01.20 11:36:58 5: Cmd: >attr global modpath .<
2019.01.20 11:36:58 5: Cmd: >attr global motd none<
2019.01.20 11:36:58 5: Cmd: >attr global statefile ./log/fhem.save<
2019.01.20 11:36:58 5: Cmd: >attr global verbose 5<
2019.01.20 11:36:58 5: Cmd: >define WEB FHEMWEB 8083 global<
2019.01.20 11:36:58 5: Loading ./FHEM/01_FHEMWEB.pm
2019.01.20 11:36:59 3: WEB: port 8083 opened
2019.01.20 11:36:59 5: Cmd: >attr WEB Css @import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900,900i');

html, body, html * {
  font-family: 'Roboto';
}

@font-face {
  font-style: normal;
  font-weight: 300;
}

body, input, select, textarea {
    font-weight: 400;
    font-size: 14px;
}

input, textarea {
    border-style: solid;
    border-width: 2px;
    border-color: #DDDDDD;
    border-radius: 0px;
}

input.maininput {
    border-width: 0px;
    height: 20px;
    color: #060606;
}

input[type="text"] {
    -webkit-appearance: none;
    padding: 2px;
}

body.touch a {
    font-size: 16px;
}

#menuBtn {
    position: absolute;
    top: 14px;
    left: 10px;
    width: 28px;
    height: 28px;
}

*:focus {
    outline: none;
}

div.pinHeader {
    color: white;
    height: 18px;
    border-radius: 0px;
    padding: 5px 8px 5px 8px;
}

div.pinHeader a {
    color: white !important;
}

svg:not([fill]):not(.jssvg) {
    fill: #CCCCCC;
    height: 25px;
    width: 25px;
    padding-right: 10px;
}
svg:on([fill]):on(.jssvg) {
    fill: #CCCCCC;
    height: 25px;
    width: 25px;
    padding-right: 10px;
}
table.room, table.block.wide, table.fileList {
    border-top: 0px;
    border-bottom: 2px solid #060606;
}

table.block.wide {
    font-weight: 300;
}

table.block.wide td > div {
    padding: 4px;
}

td {
    padding: 0px;
}

div#content > table {
    width: 100%;
}

div#content::-webkit-scrollbar {
    display: none;
}

div#menu {
    width: 200px;
}

div#menu::-webkit-scrollbar {
    display: none;
}

div#menu > table, div#content > table {
    border-collapse: collapse;
    width: 100%;
}

div#menu > .col_header {
    fill: #0179d8;
    font-size: 14px;
}

div#menu > .col_header:before {
    content: "Menü";
}

div#menu tr {
    border-width: 0px;
    background-color: #2a2a2a;
}

div#menu tr tr:hover {
    background-color: #a9a9a9;
}

div#menu tr:last-child {
    border-bottom: none !important;
}

.room tr > td {
    padding: 4px 8px 4px 8px;
}

div#menu a {
    color: #fff ! important;   
    padding-left: 5px;
}

body.touch #menu table.room div {
    padding: 4px;
}

.slider {
    background-color: #DDDDDD;
    border-radius: 5px;
    margin: 30px 0px 10px 0px;
    height: 4px;
}

.colorpicker_bri .slider {
    background-image: -webkit-linear-gradient(left, rgb( 150, 150 ,150), rgb(255,255,255) ) !important;
    background-image: -moz-linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;
    background-image: -ms-linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;
    background-image: -o-linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;
    background-image: linear-gradient(left, rgb( 0, 0 ,0), rgb(255,255,255) ) !important;
}

.handle {
    font-size: 13px;
    color: white !important;
    position: relative;
    width: 45px;
    height: 20px;
    padding: 0px;
    background: #CCCCCC;
    border-radius: 8px;
    border-width: 0px;
    bottom: 32px;
}

.handle:before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 5px 5px 0;
    border-color: #CCCCCC transparent;
    display: block;
    width: 0;
    bottom: -4px;
    left: 17px;
}

.handle:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 8px;
    border-radius: 8px;
    border-color: #CCCCCC;
    box-shadow: 0px 0px 0px 2px white;
    display: block;
    width: 0;
    bottom: -23px;
    left: 14px;
}

.sysmon table tr td {
    padding: 2px;
}

.makeSelect form {
    padding: 5px;
    display: flex;
    align-items: center;
}

.makeSelect {
    display: flex;
    float: left;
    /* clear: left; */
    height: 35px;
    background: #2a2a2a;
    width: 100%;
}

.get, .set, .attr {
    margin-bottom: 0px;
}

.downText {
    margin-top: 0px;
}

input[type="text"] {
    color: #060606;
}

.textField_widget input {
    border: 0px;
}

input.multiple_widget {
   border: 0px;
}

div#devSpecHelp {
    background: #2a2a2a;
    width: 100%;
    padding-top: 5px;
    margin-bottom: 0px;
}

.SVGplot * {
    padding-top: 5px;
}

.border {
    stroke: #fff !important;
    fill: #2a2a2a !important;
}
<
2019.01.20 11:36:59 5: Cmd: >attr WEB defaultRoom Favoriten<
2019.01.20 11:36:59 5: Cmd: >attr WEB hiddenroom 1<
2019.01.20 11:36:59 5: Cmd: >attr WEB roomIcons Favoriten:Icon_Fisch Unsorted:control_x Events:audio_play System:it_router Geräte:it_television Lampen:light_pendant_light Heizung:sani_heating<
2019.01.20 11:36:59 5: Cmd: >attr WEB smallscreenCommands 0<
2019.01.20 11:36:59 5: Cmd: >attr WEB styleData {
"f18": {
  "Pinned.menu": false,
  "hidePin": "true",
  "cols.bg": "444444",
  "cols.fg": "CCCCCC",
  "cols.link": "cccccc",
  "cols.evenrow": "333333",
  "cols.oddrow": "111111",
  "cols.header": "222222",
  "cols.menu": "111111",
  "cols.sel": "333333",
  "cols.inpBack": "444444",
  "savePinChanges": true,
  "hideLogo": true
}
}<
2019.01.20 11:36:59 5: Cmd: >attr WEB stylesheetPrefix f18<
2019.01.20 11:36:59 5: Cmd: >attr WEB title Heimzentrale<
2019.01.20 11:36:59 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<
2019.01.20 11:36:59 5: Loading ./FHEM/92_FileLog.pm
2019.01.20 11:36:59 5: Cmd: >attr Logfile verbose 5<
2019.01.20 11:36:59 5: Cmd: >define autocreate autocreate<
2019.01.20 11:36:59 5: Loading ./FHEM/98_autocreate.pm
2019.01.20 11:36:59 5: Cmd: >attr autocreate autosave 0<
2019.01.20 11:36:59 5: Cmd: >attr autocreate disable 1<
2019.01.20 11:36:59 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y.log<
2019.01.20 11:36:59 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2019.01.20 11:36:59 5: Loading ./FHEM/91_eventTypes.pm
2019.01.20 11:36:59 2: eventTypes: loaded 265 events from ./log/eventTypes.txt
2019.01.20 11:36:59 5: Cmd: >define initialUsbCheck notify global:INITIALIZED usb create<
2019.01.20 11:36:59 5: Loading ./FHEM/91_notify.pm
2019.01.20 11:36:59 5: Cmd: >attr initialUsbCheck disable 1<
2019.01.20 11:36:59 5: Cmd: >define cm CUL_MAX 123456<
2019.01.20 11:36:59 5: Loading ./FHEM/14_CUL_MAX.pm
2019.01.20 11:36:59 1: cm: did not find suitable IODev (CUL etc. in rfmode MAX)! You may want to execute 'attr cm IODev SomeCUL'
2019.01.20 11:36:59 5: Cmd: >attr cm IODev CULHat1<
2019.01.20 11:36:59 5: Cmd: >define allowed allowed<
2019.01.20 11:36:59 5: Loading ./FHEM/96_allowed.pm
2019.01.20 11:36:59 5: Cmd: >attr allowed basicAuth #######<
2019.01.20 11:36:59 5: Cmd: >attr allowed basicAuthExpiry 30<
2019.01.20 11:36:59 5: Cmd: >attr allowed validFor WEB,WEBphone<
2019.01.20 11:36:59 5: Cmd: >define Lampe_Wohnzimmer_Sofa IT 0FF0FF0FFF FF F0<
2019.01.20 11:36:59 5: Loading ./FHEM/10_IT.pm
2019.01.20 11:37:00 5: Cmd: >attr Lampe_Wohnzimmer_Sofa IODev CULHat2<
2019.01.20 11:37:00 5: Cmd: >attr Lampe_Wohnzimmer_Sofa alias Lampe Wohnzimmer Sofa<
2019.01.20 11:37:00 5: Cmd: >attr Lampe_Wohnzimmer_Sofa devStateIcon on:radio_checked off:radio_unchecked<
2019.01.20 11:37:00 5: Cmd: >attr Lampe_Wohnzimmer_Sofa group Lampen<
2019.01.20 11:37:00 5: Cmd: >attr Lampe_Wohnzimmer_Sofa icon light_light_dim_100<
2019.01.20 11:37:00 5: Cmd: >attr Lampe_Wohnzimmer_Sofa room Favoriten,Lampen<
2019.01.20 11:37:00 5: Cmd: >define TV_Wohnzimmer IT 0FF0F0FFFF FF F0<
2019.01.20 11:37:00 5: Cmd: >attr TV_Wohnzimmer IODev CULHat2<
2019.01.20 11:37:00 5: Cmd: >attr TV_Wohnzimmer alias TV Wohnzimmer<
2019.01.20 11:37:00 5: Cmd: >attr TV_Wohnzimmer devStateIcon on:radio_checked off:radio_unchecked<
2019.01.20 11:37:00 5: Cmd: >attr TV_Wohnzimmer group TV<
2019.01.20 11:37:00 5: Cmd: >attr TV_Wohnzimmer icon it_television<
2019.01.20 11:37:00 5: Cmd: >attr TV_Wohnzimmer room Favoriten,Geräte<
2019.01.20 11:37:00 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2019.01.20 11:37:00 3: WEBphone: port 8084 opened
2019.01.20 11:37:00 5: Cmd: >attr WEBphone iconPath openautomation:default<
2019.01.20 11:37:00 5: Cmd: >attr WEBphone styleData {
"f18": {
  "Pinned.menu": false,
  "hidePin": "true",
  "cols.bg": "444444",
  "cols.fg": "CCCCCC",
  "cols.link": "FF9900",
  "cols.evenrow": "333333",
  "cols.oddrow": "111111",
  "cols.header": "222222",
  "cols.menu": "111111",
  "cols.sel": "333333",
  "cols.inpBack": "444444",
  "savePinChanges": true
}
}<
2019.01.20 11:37:00 5: Cmd: >define PC dummy<
2019.01.20 11:37:00 5: Loading ./FHEM/98_dummy.pm
2019.01.20 11:37:00 5: Cmd: >attr PC devStateIcon on:radio_checked off:radio_unchecked<
2019.01.20 11:37:00 5: Cmd: >attr PC group Computer<
2019.01.20 11:37:00 5: Cmd: >attr PC icon it_pc<
2019.01.20 11:37:00 5: Cmd: >attr PC room Favoriten,Geräte<
2019.01.20 11:37:00 5: Cmd: >attr PC setList on off<
2019.01.20 11:37:00 5: Cmd: >attr PC webCmd state<
2019.01.20 11:37:00 5: Cmd: >define pcan notify PC:on {WakeOnLan('30:9C:23:D7:3B:72')}<
2019.01.20 11:37:00 5: Cmd: >define pcaus notify PC:off "curl –silent –output http://192.168.178.20:7760/forcepoweroff"<
2019.01.20 11:37:00 5: Cmd: >define HM_Taster_01.ntfy notify HM_Taster_01.* {WakeOnLan('00:17:31:fa:9b:51')}<
2019.01.20 11:37:00 5: Cmd: >define pc_presence PRESENCE lan-ping 192.168.178.20<
2019.01.20 11:37:00 5: Loading ./FHEM/73_PRESENCE.pm
2019.01.20 11:37:00 5: Cmd: >attr pc_presence alias PC<
2019.01.20 11:37:00 5: Cmd: >attr pc_presence devStateIcon present:radio_checked absent:radio_unchecked<
2019.01.20 11:37:00 5: Cmd: >attr pc_presence group Anwesenheit<
2019.01.20 11:37:00 5: Cmd: >attr pc_presence icon it_pc<
2019.01.20 11:37:00 5: Cmd: >attr pc_presence room System<
2019.01.20 11:37:00 5: Cmd: >define handy_presence PRESENCE local-bluetooth 94:65:2d:7b:97:12<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence userattr presence presence_map structexclude<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence alias Handy Bluetooth<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence group Anwesenheit<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence presence Handy<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence room Unsorted<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence timestamp-on-change-reading 1<
2019.01.20 11:37:00 5: Cmd: >define espBridge ESPEasy bridge 8383<
2019.01.20 11:37:00 5: Loading ./FHEM/34_ESPEasy.pm
2019.01.20 11:37:00 4: ESPEasy espBridge: Available set cmds/maps (re)initialized.
2019.01.20 11:37:00 5: Cmd: >attr espBridge authentication 1<
2019.01.20 11:37:00 5: Cmd: >attr espBridge combineDevices 0<
2019.01.20 11:37:00 5: Cmd: >attr espBridge group ESPEasy Bridge<
2019.01.20 11:37:00 5: Cmd: >attr espBridge room Unsorted<
2019.01.20 11:37:00 5: Cmd: >attr espBridge verbose 1<
2019.01.20 11:37:00 5: Cmd: >define handy_presence_ip PRESENCE lan-ping 192.168.178.20<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence_ip userattr presence presence_map structexclude<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence_ip alias Handy LAN<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence_ip group Anwesenheit<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence_ip presence Handy<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence_ip room Unsorted<
2019.01.20 11:37:00 5: Cmd: >attr handy_presence_ip timestamp-on-change-reading 1<
2019.01.20 11:37:00 5: Cmd: >define Handy structure presence handy_presence handy_presence_ip<
2019.01.20 11:37:00 5: Loading ./FHEM/98_structure.pm
2019.01.20 11:37:00 5: Cmd: >attr Handy clientstate_behavior relative<
2019.01.20 11:37:00 5: Cmd: >attr Handy clientstate_priority present absent<
2019.01.20 11:37:00 5: Cmd: >attr Handy devStateIcon present:radio_checked absent:radio_unchecked<
2019.01.20 11:37:00 5: Cmd: >attr Handy group Anwesenheit<
2019.01.20 11:37:00 5: Cmd: >attr Handy icon it_smartphone<
2019.01.20 11:37:00 5: Cmd: >attr Handy room System<
2019.01.20 11:37:00 5: Cmd: >attr Handy timestamp-on-change-reading 1<
2019.01.20 11:37:00 5: Cmd: >define chromecast PRESENCE lan-ping 192.168.178.28<
2019.01.20 11:37:00 5: Cmd: >attr chromecast alias Chromecast<
2019.01.20 11:37:00 5: Cmd: >attr chromecast devStateIcon present:radio_checked absent:radio_unchecked<
2019.01.20 11:37:00 5: Cmd: >attr chromecast group Anwesenheit<
2019.01.20 11:37:00 5: Cmd: >attr chromecast icon it_television<
2019.01.20 11:37:00 5: Cmd: >attr chromecast room System<
2019.01.20 11:37:00 5: Cmd: >define firetv_wohnzimmer PRESENCE lan-ping 192.168.178.30<
2019.01.20 11:37:00 5: Cmd: >attr firetv_wohnzimmer alias FireTV Stick Wohnzimmer<
2019.01.20 11:37:00 5: Cmd: >attr firetv_wohnzimmer devStateIcon present:radio_checked absent:radio_unchecked<
2019.01.20 11:37:00 5: Cmd: >attr firetv_wohnzimmer group Anwesenheit<
2019.01.20 11:37:00 5: Cmd: >attr firetv_wohnzimmer icon it_television<
2019.01.20 11:37:00 5: Cmd: >attr firetv_wohnzimmer room System<
2019.01.20 11:37:00 5: Cmd: >define DOIF DOIFtools associated DOIF: Airwick_Freshmatic_do airwick_freshmatic_do_manu alles_aus alles_aus_fb alles_aus_flur alles_aus_schlafzimmer auto_lux_on auto_lux_on_pc hideroom_doif raspi_restart tv_mode_fb<
2019.01.20 11:37:00 5: Loading ./FHEM/98_DOIFtools.pm
2019.01.20 11:37:01 5: Cmd: >define ESPEasy_Airwick_Airwick ESPEasy 192.168.178.21 80 espBridge Airwick_Airwick<
2019.01.20 11:37:01 4: ESPEasy ESPEasy_Airwick_Airwick: Opened for Airwick_Airwick 192.168.178.21:80 using bridge espBridge
2019.01.20 11:37:01 4: ESPEasy ESPEasy_Airwick_Airwick: Available set cmds/maps (re)initialized.
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_Airwick IODev espBridge<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_Airwick Interval 300<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_Airwick alias Airwick Freshmatic<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_Airwick group ESPEasy<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_Airwick presenceCheck 1<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_Airwick readingSwitchText 1<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_Airwick room Unsorted<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_Airwick setState 3<
2019.01.20 11:37:01 5: Cmd: >define Airwick_Freshmatic_do DOIF ([Handy:state] eq "present" and ([chromecast:state] eq "present" or [pc_presence:state] eq "present")and ([+00:30]))(set ESPEasy_Airwick_Airwick Pulse 16 1 1000,set ESPEasy_Airwick_Airwick gpio 16 0)<
2019.01.20 11:37:01 5: Loading ./FHEM/98_DOIF.pm
2019.01.20 11:37:01 5: Cmd: >define ESPEasy_Airwick_BH1750 ESPEasy 192.168.178.21 80 espBridge Airwick_BH1750<
2019.01.20 11:37:01 4: ESPEasy ESPEasy_Airwick_BH1750: Opened for Airwick_BH1750 192.168.178.21:80 using bridge espBridge
2019.01.20 11:37:01 4: ESPEasy ESPEasy_Airwick_BH1750: Available set cmds/maps (re)initialized.
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_BH1750 IODev espBridge<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_BH1750 Interval 300<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_BH1750 alias Helligkeitssensor<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_BH1750 group Sensoren<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_BH1750 icon people_sensor<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_BH1750 presenceCheck 1<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_BH1750 readingSwitchText 1<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_BH1750 room Favoriten,System<
2019.01.20 11:37:01 5: Cmd: >attr ESPEasy_Airwick_BH1750 setState 3<
2019.01.20 11:37:01 5: Cmd: >define auto_lux_on DOIF ([ESPEasy_Airwick_BH1750:Lux] < 8 and ([chromecast:state] eq "present" or [pc_presence:state] eq "present") )

(set Lampe_Wohnzimmer_Sofa on)
(set Weihnachtsbeleuchtung on)<
2019.01.20 11:37:01 5: Cmd: >attr auto_lux_on disable 0<
2019.01.20 11:37:01 5: Cmd: >define alles_aus DOIF ([alles_aus_button:state] eq "on")(
set PC off,
set Deckenlampe_Wohnzimmer off, 
set Deckenlampe_Flur off, 
set Deckenlampe_Schlafzimmer off, 
set Deckenlampe_Bad off,
set TV_Wohnzimmer off,
set IT_0F00F0FFFF off,
set IT_0F00FF0FFF off,
set MAX_16617b desiredTemperature off,
set MAX_1661a2 desiredTemperature off,
set MAX_12f06e desiredTemperature off,
set MAX_165f56 desiredTemperature off,
set Lampe_Wohnzimmer_Sofa off,
set Weihnachtsbeleuchtung off,
set Lampe_PC off,
set alles_aus_button off)<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus do always<
2019.01.20 11:37:01 5: Cmd: >define alles_aus_button dummy<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus_button alias Alles Aus<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus_button devStateIcon on:radio_checked off:radio_unchecked<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus_button group Makros<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus_button icon control_standby<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus_button room Events,Favoriten<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus_button setList on off<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus_button webCmd state<
2019.01.20 11:37:01 5: Cmd: >define geofancy GEOFANCY geo<
2019.01.20 11:37:01 5: Loading ./FHEM/98_GEOFANCY.pm
2019.01.20 11:37:01 2: Registering GEOFANCY geofancy for URL /geo...
2019.01.20 11:37:01 5: Cmd: >define MAX_12f06e MAX HeatingThermostat 12f06e<
2019.01.20 11:37:01 5: Loading ./FHEM/10_MAX.pm
2019.01.20 11:37:01 5: Calling MAX_Initialize
2019.01.20 11:37:01 5: Max_define HeatingThermostat with addr 12f06e
2019.01.20 11:37:01 5: Cmd: >attr MAX_12f06e IODev cm<
2019.01.20 11:37:01 5: Cmd: >attr MAX_12f06e alias Wohnzimmer Links<
2019.01.20 11:37:01 5: Cmd: >attr MAX_12f06e group Heizungsthermostate<
2019.01.20 11:37:01 5: Cmd: >attr MAX_12f06e icon sani_heating<
2019.01.20 11:37:01 5: Cmd: >attr MAX_12f06e room Favoriten,Heizung<
2019.01.20 11:37:01 5: Cmd: >define FileLog_MAX_12f06e FileLog ./log/MAX_12f06e-%Y.log MAX_12f06e<
2019.01.20 11:37:01 5: Cmd: >attr FileLog_MAX_12f06e logtype text<
2019.01.20 11:37:01 5: Cmd: >attr FileLog_MAX_12f06e room Unsorted<
2019.01.20 11:37:01 5: Cmd: >define MAX_165f56 MAX HeatingThermostat 165f56<
2019.01.20 11:37:01 5: Max_define HeatingThermostat with addr 165f56
2019.01.20 11:37:01 5: Cmd: >attr MAX_165f56 IODev cm<
2019.01.20 11:37:01 5: Cmd: >attr MAX_165f56 alias Wohnzimmer Rechts<
2019.01.20 11:37:01 5: Cmd: >attr MAX_165f56 group Heizungsthermostate<
2019.01.20 11:37:01 5: Cmd: >attr MAX_165f56 icon sani_heating<
2019.01.20 11:37:01 5: Cmd: >attr MAX_165f56 room Favoriten,Heizung<
2019.01.20 11:37:01 5: Cmd: >define FileLog_MAX_165f56 FileLog ./log/MAX_165f56-%Y.log MAX_165f56<
2019.01.20 11:37:01 5: Cmd: >attr FileLog_MAX_165f56 logtype text<
2019.01.20 11:37:01 5: Cmd: >attr FileLog_MAX_165f56 room Unsorted<
2019.01.20 11:37:01 5: Cmd: >define MAX_1930c2 MAX WallMountedThermostat 1930c2<
2019.01.20 11:37:01 5: Max_define WallMountedThermostat with addr 1930c2
2019.01.20 11:37:01 5: Cmd: >attr MAX_1930c2 IODev cm<
2019.01.20 11:37:01 5: Cmd: >attr MAX_1930c2 alias Wohnzimmer<
2019.01.20 11:37:01 5: Cmd: >attr MAX_1930c2 group Wandthermostate<
2019.01.20 11:37:01 5: Cmd: >attr MAX_1930c2 icon max_wandthermostat<
2019.01.20 11:37:01 5: Cmd: >attr MAX_1930c2 room Favoriten,Heizung<
2019.01.20 11:37:01 5: Cmd: >define FileLog_MAX_1930c2 FileLog ./log/MAX_1930c2-%Y.log MAX_1930c2<
2019.01.20 11:37:01 5: Cmd: >attr FileLog_MAX_1930c2 logtype text<
2019.01.20 11:37:01 5: Cmd: >attr FileLog_MAX_1930c2 room Unsorted<
2019.01.20 11:37:01 5: Cmd: >define pushmsg Pushover #####
2019.01.20 11:37:01 5: Loading ./FHEM/70_Pushover.pm
2019.01.20 11:37:01 5: Cmd: >define airwick_freshmatic dummy<
2019.01.20 11:37:01 5: Cmd: >attr airwick_freshmatic alias Airwick Freshmatic<
2019.01.20 11:37:01 5: Cmd: >attr airwick_freshmatic devStateIcon on:radio_checked off:radio_unchecked<
2019.01.20 11:37:01 5: Cmd: >attr airwick_freshmatic group Sonstiges<
2019.01.20 11:37:01 5: Cmd: >attr airwick_freshmatic icon hue_room_garden<
2019.01.20 11:37:01 5: Cmd: >attr airwick_freshmatic room Favoriten,Geräte<
2019.01.20 11:37:01 5: Cmd: >attr airwick_freshmatic setList on off<
2019.01.20 11:37:01 5: Cmd: >attr airwick_freshmatic webCmd state<
2019.01.20 11:37:01 5: Cmd: >define airwick_freshmatic_do_manu DOIF ([airwick_freshmatic:state] eq "on") (set ESPEasy_Airwick_Airwick Pulse 16 1 1000)
(set ESPEasy_Airwick_Airwick gpio 16 0)
(set airwick_freshmatic off)<
2019.01.20 11:37:01 5: Cmd: >attr airwick_freshmatic_do_manu do always<
2019.01.20 11:37:01 5: Cmd: >define IT_1527xe1cde IT 1527xe1cde 1000 0000<
2019.01.20 11:37:01 5: Cmd: >attr IT_1527xe1cde IODev CULHat2<
2019.01.20 11:37:01 5: Cmd: >attr IT_1527xe1cde alias Alles Aus Button Flur<
2019.01.20 11:37:01 5: Cmd: >attr IT_1527xe1cde room Unsorted<
2019.01.20 11:37:01 5: Cmd: >define alles_aus_flur DOIF ([IT_1527xe1cde:state] eq "on")
(set alles_aus_button on)
(set IT_1527xe1cde off)<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus_flur do always<
2019.01.20 11:37:01 5: Cmd: >define IT_1527xdda2b IT 1527xdda2b 1000 0000<
2019.01.20 11:37:01 5: Cmd: >attr IT_1527xdda2b IODev CULHat2<
2019.01.20 11:37:01 5: Cmd: >attr IT_1527xdda2b alias Alles Aus Button Schlafzimmer<
2019.01.20 11:37:01 5: Cmd: >attr IT_1527xdda2b room Unsorted<
2019.01.20 11:37:01 5: Cmd: >define alles_aus_schlafzimmer DOIF ([IT_1527xdda2b:state] eq "on")(
set alles_aus_button on,
set IT_0F00FFF0FF on,
set IT_1527xdda2b off
)<
2019.01.20 11:37:01 5: Cmd: >attr alles_aus_schlafzimmer do always<
2019.01.20 11:37:01 5: Cmd: >define c_dellog cmdalias dellog AS {qx(truncate $currlogfile --size 0);Log 1, "Logfile gelöscht";}<
2019.01.20 11:37:01 5: Loading ./FHEM/98_cmdalias.pm
2019.01.20 11:37:01 5: Cmd: >define raspi_restart DOIF ([raspi_restart_btn:state] eq "on")
(set raspi_restart_btn off)
({ system("sudo reboot &") })<
2019.01.20 11:37:01 5: Cmd: >define raspi_restart_btn dummy<
2019.01.20 11:37:01 5: Cmd: >attr raspi_restart_btn alias Raspi Restart<
2019.01.20 11:37:01 5: Cmd: >attr raspi_restart_btn devStateIcon on:radio_checked off:radio_unchecked<
2019.01.20 11:37:01 5: Cmd: >attr raspi_restart_btn group Aktionen<
2019.01.20 11:37:01 5: Cmd: >attr raspi_restart_btn icon system_fhem_reboot<
2019.01.20 11:37:01 5: Cmd: >attr raspi_restart_btn room Favoriten,System<
2019.01.20 11:37:01 5: Cmd: >attr raspi_restart_btn setList on off<
2019.01.20 11:37:01 5: Cmd: >attr raspi_restart_btn webCmd state<
2019.01.20 11:37:01 5: Cmd: >define CULHat1 CUL /dev/ttyAMA0@38400 1234<
2019.01.20 11:37:01 5: Loading ./FHEM/00_CUL.pm
2019.01.20 11:37:02 3: Opening CULHat1 device /dev/ttyAMA0
2019.01.20 11:37:02 3: Setting CULHat1 serial parameters to 38400,8,N,1
2019.01.20 11:37:02 5: SW: V
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): V 1.26.0
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 2 a-culf
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): w Build:
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):  3 (14.0
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 2.2018)
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): Neumann
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): CUL Pi H
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): at_0F (F
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): -Band: 8
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 68MHz)

2019.01.20 11:37:02 5: SW: ?
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): ? (? is
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): unknown)
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):  Use one
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):  of B b
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): C F i A
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): Z N E k
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): G M K L
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): U Y R T
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): V W X e
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): f l p t
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): x z *

2019.01.20 11:37:02 3: CULHat1: Possible commands: BbCFiAZNEkGMKLUYRTVWXeflptxz*
2019.01.20 11:37:02 5: SW: X21
2019.01.20 11:37:02 5: SW: T01
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 1234

2019.01.20 11:37:02 5: GOT CUL fhtid: 1234
2019.01.20 11:37:02 3: CULHat1 device opened
2019.01.20 11:37:02 5: Cmd: >attr CULHat1 rfmode MAX<
2019.01.20 11:37:02 5: SW: Ax
2019.01.20 11:37:02 5: SW: X21
2019.01.20 11:37:02 5: SW: Zr
2019.01.20 11:37:02 2: Switched CULHat1 rfmode to MAX
2019.01.20 11:37:02 5: Cmd: >define CULHat2 STACKABLE_CC CULHat1<
2019.01.20 11:37:02 5: Loading ./FHEM/16_STACKABLE_CC.pm
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): Z0F0F0F0
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): F0F0F0F0
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): F0F0F0F0
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): F0F0F0F0
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): F0F
Z0F
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 0F0F0F0F
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 0F0F0F0F
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 0F0F0F0F
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 0F0F0F0F
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):
Z0F002
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 7F4ECEC6
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): AD73372D
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 754C6A4F
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 4A4ED
Z
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 1D5DF641
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): BEC8DA67
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 2EEF2A8E
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 41A8640C
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 48269721
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 6E0D46FA
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 28FA0139
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 80DB10

2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): Z1D41BFC
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): B36DA5CC
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): ECC1928B
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): F0227F4E
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): CEC6AD73
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 372D754C
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 6A4F4A4E
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): D0E1DB5
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):
Z0F0F0F
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 0F0F0F0F
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 0F0F

Z
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer): 0F0F0F0
2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):







2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):







2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):







2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):







2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):




2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):




2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):







2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):




2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):







2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):







2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):





2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):






2019.01.20 11:37:02 5: CUL/RAW (ReadAnswer):




&l