Blinken - Impulsgenerator mit variablem Tastgrad: Unterschied zwischen den Versionen

Aus FHEMWiki
(Die Seite wurde neu angelegt: „= Blinken - Impulsgenerator mit variablem Tastgrad = 704px * Schaltet ein beliebiges Device 5 mit einem Intervall von 0.5 Se…“)
 
Zeile 1: Zeile 1:
= Blinken - Impulsgenerator mit variablem Tastgrad =
= Blinken - Impulsgenerator mit variablem Tastgrad =
[[Datei:MSwitch MSwitchblink.png|704px]]
[[Datei:MSwitch MSwitchblink.png|704px]]
* Schaltet ein beliebiges Device 5 mit einem Intervall von 0.5 Sekunden (Blinkzeit somit 2,5 Sekunden)
defmod Pulse MSwitch    # MSwitch_Self pulsedevice
* Die MSwitchtoggle-Funktion muss per ATTR aktiviert werden.
attr Pulse MSwitch_Debug 0
*Die Repeatfunktion ist nur im Expertmode verfügbar, auch per ATTR einstellbar.
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

Version vom 7. November 2019, 17:52 Uhr

Blinken - Impulsgenerator mit variablem Tastgrad

MSwitch MSwitchblink.png 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