Blinken - Impulsgenerator mit variablem Tastgrad: Unterschied zwischen den Versionen

Aus FHEMWiki
Zeile 22: Zeile 22:
attr Pulse webCmdLabel ::ontime:offtime<br>
attr Pulse webCmdLabel ::ontime:offtime<br>


defmod pulsedevice MSwitch  # no_device
defmod pulsedevice MSwitch  # no_device<br>
attr pulsedevice MSwitch_Debug 0
attr pulsedevice MSwitch_Debug 0<br>
attr pulsedevice MSwitch_Eventhistory 0
attr pulsedevice MSwitch_Eventhistory 0<br>
attr pulsedevice MSwitch_Help 0
attr pulsedevice MSwitch_Help 0<br>
attr pulsedevice MSwitch_Ignore_Types notify allowed at watchdog doif fhem2fhem telnet FileLog readingsGroup FHEMWEB autocreate eventtypes readingsproxy svg cul
attr pulsedevice MSwitch_Ignore_Types notify allowed at watchdog doif fhem2fhem telnet FileLog readingsGroup FHEMWEB autocreate eventtypes readingsproxy svg cul<br>
attr pulsedevice MSwitch_Inforoom MSwitch
attr pulsedevice MSwitch_Inforoom MSwitch<br>
attr pulsedevice MSwitch_Mode Dummy
attr pulsedevice MSwitch_Mode Dummy<br>
attr pulsedevice room 07_Pulse
attr pulsedevice room 07_Pulse<br>
attr pulsedevice setList on off
attr pulsedevice setList on off<br>


setstate Pulse off
setstate Pulse off<br>
setstate Pulse 2019-11-03 14:17:18 .Device_Affected MSwitch_Self-AbsCmd1,MSwitch_Self-AbsCmd2,pulsedevice-AbsCmd1,pulsedevice-AbsCmd2
setstate Pulse 2019-11-03 14:17:18 .Device_Affected MSwitch_Self-AbsCmd1,MSwitch_Self-AbsCmd2,pulsedevice-AbsCmd1,pulsedevice-AbsCmd2<br>
setstate Pulse 2019-11-03 14:21:52 .Device_Affected_Details MSwitch_Self-AbsCmd1#[NF]exec_cmd_1#[NF]no_action#[NF]ID#[sp]1#[NF]#[NF]delay1#[NF]delay1#[NF][Pulse#[dp]onpulse]#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]3#[ND]MSwitch_Self-AbsCmd2#[NF]exec_cmd_1#[NF]no_action#[NF]#[NF]#[NF]delay1#[NF]delay1#[NF][Pulse#[dp]offpulse]#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]1#[NF]#[NF]0#[NF]0#[NF]4#[ND]pulsedevice-AbsCmd1#[NF]on#[NF]off#[NF]#[NF]#[NF]delay1#[NF]delay1#[NF]00#[dp]00#[dp]00#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]1#[ND]pulsedevice-AbsCmd2#[NF]off#[NF]no_action#[NF]#[NF]#[NF]delay2#[NF]delay1#[NF][Pulse#[dp]onpulse]#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]2
setstate Pulse 2019-11-03 14:21:52 .Device_Affected_Details MSwitch_Self-AbsCmd1#[NF]exec_cmd_1#[NF]no_action#[NF]ID#[sp]1#[NF]#[NF]delay1#[NF]delay1#[NF][Pulse#[dp]onpulse]#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]3#[ND]MSwitch_Self-AbsCmd2#[NF]exec_cmd_1#[NF]no_action#[NF]#[NF]#[NF]delay1#[NF]delay1#[NF][Pulse#[dp]offpulse]#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]1#[NF]#[NF]0#[NF]0#[NF]4#[ND]pulsedevice-AbsCmd1#[NF]on#[NF]off#[NF]#[NF]#[NF]delay1#[NF]delay1#[NF]00#[dp]00#[dp]00#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]1#[ND]pulsedevice-AbsCmd2#[NF]off#[NF]no_action#[NF]#[NF]#[NF]delay2#[NF]delay1#[NF][Pulse#[dp]onpulse]#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]2<br>
setstate Pulse 2019-11-03 12:31:25 .Device_Events no_trigger
setstate Pulse 2019-11-03 12:31:25 .Device_Events no_trigger<br>
setstate Pulse 2019-11-03 12:31:25 .First_init done
setstate Pulse 2019-11-03 12:31:25 .First_init done<br>
setstate Pulse 2019-11-03 12:31:25 .Trigger_cmd_off no_trigger
setstate Pulse 2019-11-03 12:31:25 .Trigger_cmd_off no_trigger<br>
setstate Pulse 2019-11-03 12:31:25 .Trigger_cmd_on no_trigger
setstate Pulse 2019-11-03 12:31:25 .Trigger_cmd_on no_trigger<br>
setstate Pulse 2019-11-03 12:31:25 .Trigger_off no_trigger
setstate Pulse 2019-11-03 12:31:25 .Trigger_off no_trigger<br>
setstate Pulse 2019-11-03 12:31:25 .Trigger_on no_trigger
setstate Pulse 2019-11-03 12:31:25 .Trigger_on no_trigger<br>
setstate Pulse 2019-11-03 12:31:25 .V_Check V2.00
setstate Pulse 2019-11-03 12:31:25 .V_Check V2.00<br>
setstate Pulse 2019-11-03 14:18:43 .sortby show
setstate Pulse 2019-11-03 14:18:43 .sortby show<br>
setstate Pulse 2019-11-03 12:31:25 Trigger_log off
setstate Pulse 2019-11-03 12:31:25 Trigger_log off<br>
setstate Pulse 2019-11-03 14:21:24 last_activation_by manual
setstate Pulse 2019-11-03 14:21:24 last_activation_by manual<br>
setstate Pulse 2019-11-03 14:21:23 last_cmd 1
setstate Pulse 2019-11-03 14:21:23 last_cmd 1<br>
setstate Pulse 2019-11-03 14:21:23 last_exec_cmd set Pulse exec_cmd_1  
setstate Pulse 2019-11-03 14:21:23 last_exec_cmd set Pulse exec_cmd_1 <br>
setstate Pulse 2019-11-03 14:21:05 offpulse 00:00:05
setstate Pulse 2019-11-03 14:21:05 offpulse 00:00:05<br>
setstate Pulse 2019-11-03 14:19:18 onpulse 00:00:02
setstate Pulse 2019-11-03 14:19:18 onpulse 00:00:02<br>
setstate Pulse 2019-11-03 14:21:24 state off
setstate Pulse 2019-11-03 14:21:24 state off<br>


setstate pulsedevice on
setstate pulsedevice on<br>
setstate pulsedevice 2019-11-03 12:32:30 .Device_Affected no_device
setstate pulsedevice 2019-11-03 12:32:30 .Device_Affected no_device<br>
setstate pulsedevice 2019-11-03 12:32:30 .Device_Events no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .Device_Events no_trigger<br>
setstate pulsedevice 2019-11-03 12:32:30 .First_init done
setstate pulsedevice 2019-11-03 12:32:30 .First_init done<br>
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_cmd_off no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_cmd_off no_trigger<br>
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_cmd_on no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_cmd_on no_trigger<br>
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_off no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_off no_trigger<br>
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_on no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_on no_trigger<br>
setstate pulsedevice 2019-11-03 12:32:30 .V_Check V2.00
setstate pulsedevice 2019-11-03 12:32:30 .V_Check V2.00<br>
setstate pulsedevice 2019-11-03 12:32:30 Trigger_log off
setstate pulsedevice 2019-11-03 12:32:30 Trigger_log off<br>
setstate pulsedevice 2019-11-03 14:21:23 state on
setstate pulsedevice 2019-11-03 14:21:23 state on<br>
[[Datei:MSwitch MSwitchblink.png|704px]]
[[Datei:MSwitch MSwitchblink.png|704px]]

Version vom 7. November 2019, 18:04 Uhr

Blinken - Impulsgenerator mit variablem Tastgrad

defmod Pulse MSwitch # MSwitch_Self pulsedevice
attr Pulse MSwitch_Debug 0
attr Pulse MSwitch_Delete_Delays 1
attr Pulse MSwitch_Eventhistory 0
attr Pulse MSwitch_Expert 1
attr Pulse MSwitch_Extensions 1
attr Pulse MSwitch_Help 1
attr Pulse MSwitch_Ignore_Types "TYPE=MSwitch"
attr Pulse MSwitch_Include_Devicecmds 1
attr Pulse MSwitch_Include_MSwitchcmds 0
attr Pulse MSwitch_Include_Webcmds 0
attr Pulse MSwitch_Inforoom MSwitch
attr Pulse MSwitch_Lock_Quickedit 1
attr Pulse MSwitch_Mode Full
attr Pulse MSwitch_Safemode 1
attr Pulse readingList onpulse offpulse
attr Pulse room 07_Pulse
attr Pulse setList onpulse:00:00:01,00:00:02,00:00:03,00:00:04,00:00:05 offpulse:00:00:01,00:00:02,00:00:03,00:00:04,00:00:05
attr Pulse webCmd on:off:onpulse:offpulse
attr Pulse webCmdLabel ::ontime:offtime

defmod pulsedevice MSwitch # no_device
attr pulsedevice MSwitch_Debug 0
attr pulsedevice MSwitch_Eventhistory 0
attr pulsedevice MSwitch_Help 0
attr pulsedevice MSwitch_Ignore_Types notify allowed at watchdog doif fhem2fhem telnet FileLog readingsGroup FHEMWEB autocreate eventtypes readingsproxy svg cul
attr pulsedevice MSwitch_Inforoom MSwitch
attr pulsedevice MSwitch_Mode Dummy
attr pulsedevice room 07_Pulse
attr pulsedevice setList on off

setstate Pulse off
setstate Pulse 2019-11-03 14:17:18 .Device_Affected MSwitch_Self-AbsCmd1,MSwitch_Self-AbsCmd2,pulsedevice-AbsCmd1,pulsedevice-AbsCmd2
setstate Pulse 2019-11-03 14:21:52 .Device_Affected_Details MSwitch_Self-AbsCmd1#[NF]exec_cmd_1#[NF]no_action#[NF]ID#[sp]1#[NF]#[NF]delay1#[NF]delay1#[NF][Pulse#[dp]onpulse]#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]3#[ND]MSwitch_Self-AbsCmd2#[NF]exec_cmd_1#[NF]no_action#[NF]#[NF]#[NF]delay1#[NF]delay1#[NF][Pulse#[dp]offpulse]#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]1#[NF]#[NF]0#[NF]0#[NF]4#[ND]pulsedevice-AbsCmd1#[NF]on#[NF]off#[NF]#[NF]#[NF]delay1#[NF]delay1#[NF]00#[dp]00#[dp]00#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]1#[ND]pulsedevice-AbsCmd2#[NF]off#[NF]no_action#[NF]#[NF]#[NF]delay2#[NF]delay1#[NF][Pulse#[dp]onpulse]#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]2
setstate Pulse 2019-11-03 12:31:25 .Device_Events no_trigger
setstate Pulse 2019-11-03 12:31:25 .First_init done
setstate Pulse 2019-11-03 12:31:25 .Trigger_cmd_off no_trigger
setstate Pulse 2019-11-03 12:31:25 .Trigger_cmd_on no_trigger
setstate Pulse 2019-11-03 12:31:25 .Trigger_off no_trigger
setstate Pulse 2019-11-03 12:31:25 .Trigger_on no_trigger
setstate Pulse 2019-11-03 12:31:25 .V_Check V2.00
setstate Pulse 2019-11-03 14:18:43 .sortby show
setstate Pulse 2019-11-03 12:31:25 Trigger_log off
setstate Pulse 2019-11-03 14:21:24 last_activation_by manual
setstate Pulse 2019-11-03 14:21:23 last_cmd 1
setstate Pulse 2019-11-03 14:21:23 last_exec_cmd set Pulse exec_cmd_1
setstate Pulse 2019-11-03 14:21:05 offpulse 00:00:05
setstate Pulse 2019-11-03 14:19:18 onpulse 00:00:02
setstate Pulse 2019-11-03 14:21:24 state off

setstate pulsedevice on
setstate pulsedevice 2019-11-03 12:32:30 .Device_Affected no_device
setstate pulsedevice 2019-11-03 12:32:30 .Device_Events no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .First_init done
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_cmd_off no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_cmd_on no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_off no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .Trigger_on no_trigger
setstate pulsedevice 2019-11-03 12:32:30 .V_Check V2.00
setstate pulsedevice 2019-11-03 12:32:30 Trigger_log off
setstate pulsedevice 2019-11-03 14:21:23 state on
MSwitch MSwitchblink.png