Hallo Thomas,
ich brauch mal etwas Unterstützung. Ich habe folgenden MSwitch gebaut:
Modulversion: 6.56
Datenstruktur: V6.2
----- Systemstart -----
-> Version 6.56... loading files and system variables
-> System: no update avaible
-> setting preconfpath... https://raw.githubusercontent.com/Byte009/MSwitch_Addons/master/MSwitch_Preconf.conf
-> setting undotime... 60sec
-> setting rename... off
-> setting wizard... on, resettime: 3600sec
-> setting startdelay... 30sec
-> setting startmode... Notify
!!! -> no widgetfile (www/MSwitch/MSwitch_widgets.txt) found - Widgets off
-> helpfile ger (www/MSwitch/MSwitch_Help.txt) loaded - Help on
-> helpfile eng (www/MSwitch/MSwitch_Help_eng.txt) loaded - Help on
-> autoupdate devices status: on
-> Support Mail: Byte009@web.de
-> Mswitch initializing ready
-> Es sind 3 Mswitchdefinitionen vorhanden, teste Definitionen...
-> initializing MSwitch-Devices ready
----- Devicename -----
bu1.mswitch
----- Attribute -----
Attribut MSwitch_Include_Webcmds: 0
Attribut MSwitch_Mode: Notify
Attribut MSwitch_Delete_Delays: 1
Attribut MSwitch_Eventhistory: 0
Attribut MSwitch_Ignore_Types: notify allowed at watchdog doif fhem2fhem telnet FileLog readingsGroup FHEMWEB autocreate eventtypes readingsproxy SVG cul
Attribut devStateIcon: active:ios-on-blue:inactive inactive:ios-off:active
Attribut room: MSwitch_Devices
Attribut MSwitch_Debug: 0
Attribut MSwitch_Extensions: 0
Attribut MSwitch_generate_Events: 0
Attribut MSwitch_Include_MSwitchcmds: 0
Attribut MSwitch_INIT: save
Attribut MSwitch_Include_Devicecmds: 1
Attribut MSwitch_Safemode: 1
Attribut MSwitch_Expert: 1
Attribut MSwitch_Help: 0
----- Trigger -----
Trigger device: bu_tradfri1_switch
Trigger time: undef
Trigger condition:
Trigger Device Global Whitelist: undef
----- Trigger Details -----
Trigger cmd1: no_trigger
Trigger cmd2: no_trigger
Trigger cmd3: state:.*
Trigger cmd4: state:.*
----- Bridge Details -----
bu_tradfri1_switch:state:1002=>cmd1 ID 1
bu_tradfri1_switch:state:2002=>cmd2 ID 1
bu_tradfri1_switch:state:1001=>cmd2 ID 2
bu_tradfri1_switch:state:2001=>cmd1 ID 2
----- Device Actions -----
Device: MSwitch_Self-AbsCmd1
cmd1: exec_cmd_1 ID2
cmd2: exec_cmd_2 ID2
cmd1 condition: [bu_tradfri1_switch:state] = 2001 AND [bu_spot_licht:pct] >= 0
cmd2 condition: [bu_tradfri1_switch:state] = 1001 AND [bu_spot_licht:pct] <= 100
cmd1 delay: 00:00:01
cmd2 delay: 00:00:01
repeats: 0
repeats delay: 0
priority: 3
id: 2
comment:
cmd1 exit: 0
cmd2 exit: 0
Device: bu_spot_licht-AbsCmd1
cmd1: dimDown
cmd2: dimUp
cmd1 condition: [bu_tradfri1_switch:state] = 2001 AND [bu_spot_licht:pct] >= 0
cmd2 condition: [bu_tradfri1_switch:state] = 1001 AND [bu_spot_licht:pct] <= 100
cmd1 delay: 00:00:00
cmd2 delay: 00:00:00
repeats: 0
repeats delay: 0
priority: 2
id: 2
comment:
cmd1 exit: 0
cmd2 exit: 0
Device: bu_spot_licht-AbsCmd2
cmd1: on
cmd2: off
cmd1 condition:
cmd2 condition:
cmd1 delay:
cmd2 delay:
repeats: 0
repeats delay: 0
priority: 1
id: 1
comment:
cmd1 exit: 0
cmd2 exit: 0
On/off klappt natürlich. Nur das Dimmen macht er nur 1 mal beim entsprechenden Event und dann nicht mehr.
Vielen Dank vorab,
Sebastian