98_MSwitch - Support

Begonnen von Byte09, 25 März 2018, 12:19:58

Vorheriges Thema - Nächstes Thema

Byte09

Zitat von: wm1962 am 10 April 2019, 18:02:02
Hallo,
ich hab das Device nun mit deinen RAW-Daten neu angelegt:
defmod flexat MSwitch flexat # MSwitch_Self Sonoff_TH10_DG
attr flexat MSwitch_Debug 0
attr flexat MSwitch_Delete_Delays 1
attr flexat MSwitch_Event_Id_Distributor delay:.*=>cmd1 ID 1\

attr flexat MSwitch_Expert 1
attr flexat MSwitch_Extensions 0
attr flexat MSwitch_Help 1
attr flexat MSwitch_Ignore_Types notify allowed at watchdog doif fhem2fhem telnet FileLog readingsGroup FHEMWEB autocreate eventtypes readingsproxy svg cul
attr flexat MSwitch_Include_Devicecmds 1
attr flexat MSwitch_Include_MSwitchcmds 0
attr flexat MSwitch_Include_Webcmds 0
attr flexat MSwitch_Inforoom MSwitch
attr flexat MSwitch_Lock_Quickedit 1
attr flexat MSwitch_Mode Notify
attr flexat icon weather_sunrise@yellow
attr flexat readingList delay
attr flexat room MSwitch,Rolladen
attr flexat setList delay:slider,-3600,60,8000
attr flexat webCmd delay
attr flexat webCmdLabel sunrise_offset

setstate flexat active
setstate flexat 2019-04-10 17:55:12 .Device_Affected MSwitch_Self-AbsCmd1,Sonoff_TH10_DG-AbsCmd1
setstate flexat 2019-04-10 17:55:02 .Device_Affected_Details MSwitch_Self-AbsCmd1#[NF]reload_timer#[NF]no_action#[NF]#[NF]#[NF]delay1#[NF]delay1#[NF]00#[dp]00#[dp]00#[NF]00#[dp]00#[dp]00#[NF]#[NF]#[NF]#[NF]#[NF]1#[NF]1#[NF]#[NF]0#[NF]0#[NF]1#[ND]Sonoff_TH10_DG-AbsCmd1#[NF]ON#[NF]no_action#[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
setstate flexat 2019-04-10 17:56:07 .Device_Events no_trigger
setstate flexat 2019-04-10 17:55:02 .First_init done
setstate flexat 2019-04-10 17:55:02 .Trigger_cmd_off no_trigger
setstate flexat 2019-04-10 17:55:02 .Trigger_cmd_on *
setstate flexat 2019-04-10 17:55:18 .Trigger_condition
setstate flexat 2019-04-10 17:55:02 .Trigger_off no_trigger
setstate flexat 2019-04-10 17:55:02 .Trigger_on no_trigger
setstate flexat 2019-04-10 17:55:18 .Trigger_time on~off~ononly[{sunrise("REAL",ReadingsVal("flexAtSunset","delay",0),"06#[dp]00","08#[dp]30")}]~offonly~onoffonly
setstate flexat 2019-04-10 17:55:02 .V_Check V2.00
setstate flexat 2019-04-10 17:56:04 EVENT state:active
setstate flexat 2019-04-10 17:56:04 EVTFULL flexat:state:active
setstate flexat 2019-04-10 17:56:04 EVTPART1 flexat
setstate flexat 2019-04-10 17:56:04 EVTPART2 state
setstate flexat 2019-04-10 17:56:04 EVTPART3 active
setstate flexat 2019-04-10 17:55:18 Trigger_device MSwitch_Self
setstate flexat 2019-04-10 17:55:02 Trigger_log off
setstate flexat 2019-04-10 17:55:29 delay 3120
setstate flexat 2019-04-10 17:56:07 last_activation_by event
setstate flexat 2019-04-10 17:56:07 last_cmd 1
setstate flexat 2019-04-10 17:56:04 last_event state:active
setstate flexat 2019-04-10 17:56:07 last_exec_cmd set Sonoff_TH10_DG ON
setstate flexat 2019-04-10 17:56:07 state active



und mit get get_config
#V 2.20
#VS V2.00
#S last_event -> state:active
#S EVTPART1 -> flexat
#S state -> active
#S last_cmd -> 1
#S .Device_Affected -> MSwitch_Self-AbsCmd1,Sonoff_TH10_DG-AbsCmd1
#S last_activation_by -> event
#S EVTPART2 -> state
#S .Trigger_condition ->
#S .Trigger_time -> on~off~ononly[{sunrise("REAL",ReadingsVal("flexAtSunset","delay",0),"06#[dp]00","08#[dp]30")}]~offonly~onoffonly
#S Trigger_device -> MSwitch_Self
#S .Trigger_off -> no_trigger
#S EVTPART3 -> active
#S .Device_Affected_Details -> MSwitch_Self-AbsCmd1#[NF]reload_timer#[NF]no_action#[NF]#[NF]#[NF]delay1#[NF]delay1#[NF]00:00:00#[NF]00:00:00#[NF]#[NF]#[NF]#[NF]#[NF]1#[NF]1#[NF]#[NF]0#[NF]0#[NF]1#[ND]Sonoff_TH10_DG-AbsCmd1#[NF]ON#[NF]no_action#[NF]#[NF]#[NF]delay1#[NF]delay1#[NF]00:00:00#[NF]00:00:00#[NF]#[NF]#[NF]0#[NF]0#[NF]1#[NF]0#[NF]#[NF]0#[NF]0#[NF]1
#S .Trigger_on -> no_trigger
#S Trigger_log -> off
#S .Device_Events -> no_trigger
#S .Trigger_cmd_off -> no_trigger
#S EVENT -> state:active
#S delay -> 3120
#S .First_init -> done
#S .Trigger_cmd_on -> *
#S EVTFULL -> flexat:state:active
#S .V_Check -> V2.00
#A MSwitch_Delete_Delays -> 1
#A MSwitch_Expert -> 1
#A MSwitch_Lock_Quickedit -> 1
#A MSwitch_Include_MSwitchcmds -> 0
#A webCmdLabel -> sunrise_offset
#A webCmd -> delay
#A MSwitch_Debug -> 0
#A MSwitch_Ignore_Types -> notify allowed at watchdog doif fhem2fhem telnet FileLog readingsGroup FHEMWEB autocreate eventtypes readingsproxy svg cul
#A MSwitch_Help -> 1
#A MSwitch_Inforoom -> MSwitch
#A setList -> delay:slider,-3600,60,8000
#A MSwitch_Event_Id_Distributor -> delay:.*=>cmd1 ID 1#[nl]
#A icon -> weather_sunrise@yellow
#A MSwitch_Extensions -> 0
#A room -> MSwitch,Rolladen
#A MSwitch_Include_Webcmds -> 0
#A MSwitch_Mode -> Notify
#A MSwitch_Include_Devicecmds -> 1
#A readingList -> delay


Sobald ich den Slider bewege oder auf nur auf das Device klicke wird Der Aktor geschalten.

gib mir bitte mal die daten aus get get_support_info

gruss Byte09

wm1962

Hallo Byte09,

Modulversion: 2.20
Datenstruktur: V2.00

----- Devicename -----
flexat

----- Attribute -----
Attribut MSwitch_Delete_Delays: 1
Attribut MSwitch_Expert: 1
Attribut MSwitch_Lock_Quickedit: 1
Attribut MSwitch_Include_MSwitchcmds: 0
Attribut webCmdLabel: sunrise_offset
Attribut webCmd: delay
Attribut MSwitch_Debug: 0
Attribut MSwitch_Ignore_Types: notify allowed at watchdog doif fhem2fhem telnet FileLog readingsGroup FHEMWEB autocreate eventtypes readingsproxy svg cul
Attribut MSwitch_Help: 1
Attribut MSwitch_Inforoom: MSwitch
Attribut setList: delay:slider,-3600,60,8000
Attribut MSwitch_Event_Id_Distributor: delay:.*=>cmd1 ID 1

Attribut icon: weather_sunrise@yellow
Attribut MSwitch_Extensions: 0
Attribut room: MSwitch,Rolladen
Attribut MSwitch_Include_Webcmds: 0
Attribut MSwitch_Mode: Notify
Attribut MSwitch_Include_Devicecmds: 1
Attribut readingList: delay

----- Trigger -----
Trigger device:  MSwitch_Self
Trigger time: on off ononly[{sunrise("REAL",ReadingsVal("flexAtSunset","delay",0),"06:00","08:30")}] offonly onoffonly
Trigger condition:
Trigger Device Global Whitelist: undef

----- Trigger Details -----
Trigger cmd1: no_trigger
Trigger cmd2: no_trigger
Trigger cmd3: *
Trigger cmd4: no_trigger

----- Device Actions -----

Device: MSwitch_Self-AbsCmd1
cmd1: reload_timer
cmd2: no_action
cmd1 condition:
cmd2 condition:
cmd1 delay: 00:00:00
cmd2 delay: 00:00:00
repeats:
repeats delay:
priority: 1
id: 1
comment:
cmd1 exit: 0
cmd2 exit: 0

Device: Sonoff_TH10_DG-AbsCmd1
cmd1: ON
cmd2: no_action
cmd1 condition:
cmd2 condition:
cmd1 delay: 00:00:00
cmd2 delay: 00:00:00
repeats: 0
repeats delay: 0
priority: 1
id: 0
comment:
cmd1 exit: 0
cmd2 exit: 0


Gruß Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

Byte09

#662
Zitat von: wm1962 am 10 April 2019, 19:00:19
Hallo Byte09,

Modulversion: 2.20
Datenstruktur: V2.00

----- Devicename -----
flexat

----- Attribute -----
Attribut MSwitch_Delete_Delays: 1
Attribut MSwitch_Expert: 1
Attribut MSwitch_Lock_Quickedit: 1
Attribut MSwitch_Include_MSwitchcmds: 0
Attribut webCmdLabel: sunrise_offset
Attribut webCmd: delay
Attribut MSwitch_Debug: 0
Attribut MSwitch_Ignore_Types: notify allowed at watchdog doif fhem2fhem telnet FileLog readingsGroup FHEMWEB autocreate eventtypes readingsproxy svg cul
Attribut MSwitch_Help: 1
Attribut MSwitch_Inforoom: MSwitch
Attribut setList: delay:slider,-3600,60,8000
Attribut MSwitch_Event_Id_Distributor: delay:.*=>cmd1 ID 1

Attribut icon: weather_sunrise@yellow
Attribut MSwitch_Extensions: 0
Attribut room: MSwitch,Rolladen
Attribut MSwitch_Include_Webcmds: 0
Attribut MSwitch_Mode: Notify
Attribut MSwitch_Include_Devicecmds: 1
Attribut readingList: delay

----- Trigger -----
Trigger device:  MSwitch_Self
Trigger time: on off ononly[{sunrise("REAL",ReadingsVal("flexAtSunset","delay",0),"06:00","08:30")}] offonly onoffonly
Trigger condition:
Trigger Device Global Whitelist: undef

----- Trigger Details -----
Trigger cmd1: no_trigger
Trigger cmd2: no_trigger
Trigger cmd3: *
Trigger cmd4: no_trigger

----- Device Actions -----

Device: MSwitch_Self-AbsCmd1
cmd1: reload_timer
cmd2: no_action
cmd1 condition:
cmd2 condition:
cmd1 delay: 00:00:00
cmd2 delay: 00:00:00
repeats:
repeats delay:
priority: 1
id: 1
comment:
cmd1 exit: 0
cmd2 exit: 0

Device: Sonoff_TH10_DG-AbsCmd1
cmd1: ON
cmd2: no_action
cmd1 condition:
cmd2 condition:
cmd1 delay: 00:00:00
cmd2 delay: 00:00:00
repeats: 0
repeats delay: 0
priority: 1
id: 0
comment:
cmd1 exit: 0
cmd2 exit: 0


Gruß Wilfried

asche auf mein haupt,sorry mein fehler.

setz bitte das attribut 'MSwitch_generate_Events' auf 0 und schau mal ob es dann geht.

gruss Byte09

wm1962

das Attribut war noch nicht angelegt, habs angelegt, aber der Aktor schaltet immer noch,
sogar wenn ich irgendein Attribut verändere

Modulversion: 2.20
Datenstruktur: V2.00

----- Devicename -----
flexat

----- Attribute -----
Attribut MSwitch_Inforoom: MSwitch
Attribut setList: delay:slider,-3600,60,8000
Attribut MSwitch_Event_Id_Distributor: delay:.*=>cmd1 ID 1

Attribut icon: weather_sunrise@yellow
Attribut MSwitch_Extensions: 0
Attribut MSwitch_Include_Webcmds: 0
Attribut room: MSwitch
Attribut MSwitch_Include_Devicecmds: 1
Attribut readingList: delay
Attribut MSwitch_Mode: Notify
Attribut MSwitch_Delete_Delays: 1
Attribut MSwitch_Include_MSwitchcmds: 0
Attribut webCmdLabel: sunrise_offset
Attribut MSwitch_Expert: 1
Attribut MSwitch_Lock_Quickedit: 1
Attribut webCmd: delay
Attribut MSwitch_generate_Events: 0
Attribut MSwitch_Ignore_Types: notify allowed at watchdog doif fhem2fhem telnet FileLog readingsGroup FHEMWEB autocreate eventtypes readingsproxy svg cul
Attribut MSwitch_Help: 1
Attribut MSwitch_Debug: 0

----- Trigger -----
Trigger device:  MSwitch_Self
Trigger time: on off ononly[{sunrise("REAL",ReadingsVal("flexAtSunset","delay",0),"06:00","08:30")}] offonly onoffonly
Trigger condition:
Trigger Device Global Whitelist: undef

----- Trigger Details -----
Trigger cmd1: no_trigger
Trigger cmd2: no_trigger
Trigger cmd3: *
Trigger cmd4: no_trigger

----- Device Actions -----

Device: MSwitch_Self-AbsCmd1
cmd1: reload_timer
cmd2: no_action
cmd1 condition:
cmd2 condition:
cmd1 delay: 00:00:00
cmd2 delay: 00:00:00
repeats:
repeats delay:
priority: 1
id: 1
comment:
cmd1 exit: 0
cmd2 exit: 0

Device: Sonoff_TH10_DG-AbsCmd1
cmd1: ON
cmd2: no_action
cmd1 condition:
cmd2 condition:
cmd1 delay: 00:00:00
cmd2 delay: 00:00:00
repeats: 0
repeats delay: 0
priority: 1
id: 0
comment:
cmd1 exit: 0
cmd2 exit: 0


Gruß Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

Byte09

dann gib bitte nochmal bei 'Add event manually : '    delay:* ein und drücke 'add event'.
dieses event dann bei 'execute 'cmd1'    Trigger MSwitch_Self :' auswählen und 'modify_trigger' drücken.

wenn es dann immer noch nicht geht musst du mir bitte bis morgen zeit geben.

gruss Byte09

wm1962

wenn ich auf 'modify_trigger' drücke, kommt:
trigger for 'switch Test on + execute on commands' and 'switch Test off + execute off commands' must not both be '*'

Gruß Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

Byte09

Zitat von: wm1962 am 10 April 2019, 20:13:39
wenn ich auf 'modify_trigger' drücke, kommt:
trigger for 'switch Test on + execute on commands' and 'switch Test off + execute off commands' must not both be '*'

Gruß Wilfried

du hast eine private nachricht.

gruss Byte09

pflock_y

Hallo Byte09,

ich hatte heute etwas zeit und konnte meinem log Meldungen mal auf den Grund gehen.
Häufig kam bei mir:

PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_MSwitch.pm line 3105.

Deshalb hab ich stacktrace auf 1 gesetzt

nun kommt das:
2019.04.12 15:58:24 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_MSwitch.pm line 3105.
2019.04.12 15:58:24 1: stacktrace:
2019.04.12 15:58:24 1:     main::__ANON__                      called by ./FHEM/98_MSwitch.pm (3105)
2019.04.12 15:58:24 1:     main::MSwitch_checkbridge           called by ./FHEM/98_MSwitch.pm (2858)
2019.04.12 15:58:24 1:     main::MSwitch_Notify                called by fhem.pl (3698)
2019.04.12 15:58:24 1:     main::CallFn                        called by fhem.pl (3618)
2019.04.12 15:58:24 1:     main::DoTrigger                     called by fhem.pl (3984)
2019.04.12 15:58:24 1:     main::Dispatch                      called by ./FHEM/36_JeeLink.pm (865)
2019.04.12 15:58:24 1:     main::JeeLink_Parse                 called by ./FHEM/36_JeeLink.pm (678)
2019.04.12 15:58:24 1:     main::JeeLink_Read                  called by fhem.pl (3698)
2019.04.12 15:58:24 1:     main::CallFn                        called by fhem.pl (745)
2019.04.12 15:58:24 3: Entfeuchter_MSwitch MSwitch_Restartcm: Befehlsausfuehrung -> set Entfeuchter_433 off  6416
2019.04.12 16:00:00 3: Umwaelzpumpe_DG_MSwitch MSwitch_Restartcm: Befehlsausfuehrung -> set Umwaelzpumpe_DG on-for-timer 300 6416
2019.04.12 16:00:00 3: Umwaelzpumpe_DG_MSwitch MSwitch_Restartcm: Befehlsausfuehrung -> set Umwaelzpumpe_DG on-for-timer 300 6416
2019.04.12 16:01:45 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_MSwitch.pm line 3105.
2019.04.12 16:01:45 1: stacktrace:
2019.04.12 16:01:45 1:     main::__ANON__                      called by ./FHEM/98_MSwitch.pm (3105)
2019.04.12 16:01:45 1:     main::MSwitch_checkbridge           called by ./FHEM/98_MSwitch.pm (2837)
2019.04.12 16:01:45 1:     main::MSwitch_Notify                called by fhem.pl (3698)
2019.04.12 16:01:45 1:     main::CallFn                        called by fhem.pl (3618)
2019.04.12 16:01:45 1:     main::DoTrigger                     called by fhem.pl (4686)
2019.04.12 16:01:45 1:     main::readingsEndUpdate             called by fhem.pl (4868)
2019.04.12 16:01:45 1:     main::readingsSingleUpdate          called by ./FHEM/93_FHEM2FHEM.pm (178)
2019.04.12 16:01:45 1:     main::FHEM2FHEM_Read                called by fhem.pl (3698)
2019.04.12 16:01:45 1:     main::CallFn                        called by fhem.pl (745)
2019.04.12 16:01:45 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_MSwitch.pm line 3105.
2019.04.12 16:01:45 1: stacktrace:
2019.04.12 16:01:45 1:     main::__ANON__                      called by ./FHEM/98_MSwitch.pm (3105)
2019.04.12 16:01:45 1:     main::MSwitch_checkbridge           called by ./FHEM/98_MSwitch.pm (2858)
2019.04.12 16:01:45 1:     main::MSwitch_Notify                called by fhem.pl (3698)
2019.04.12 16:01:45 1:     main::CallFn                        called by fhem.pl (3618)
2019.04.12 16:01:45 1:     main::DoTrigger                     called by fhem.pl (4686)
2019.04.12 16:01:45 1:     main::readingsEndUpdate             called by fhem.pl (4868)
2019.04.12 16:01:45 1:     main::readingsSingleUpdate          called by ./FHEM/93_FHEM2FHEM.pm (178)
2019.04.12 16:01:45 1:     main::FHEM2FHEM_Read                called by fhem.pl (3698)
2019.04.12 16:01:45 1:     main::CallFn                        called by fhem.pl (745)
2019.04.12 16:01:45 3: Heizung_Pumpe_MSwitch MSwitch_Restartcm: Befehlsausfuehrung -> set Heizung_Pumpe off  6416


das würde noch weiter gehen, denke aber es reicht als Auszug.

Hast du eine Idee.

VG
pflock_y

Byte09

Zitat von: pflock_y am 12 April 2019, 16:12:56
Hallo Byte09,

ich hatte heute etwas zeit und konnte meinem log Meldungen mal auf den Grund gehen.
Häufig kam bei mir:

PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_MSwitch.pm line 3105.

Deshalb hab ich stacktrace auf 1 gesetzt

nun kommt das:
2019.04.12 15:58:24 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_MSwitch.pm line 3105.
2019.04.12 15:58:24 1: stacktrace:
2019.04.12 15:58:24 1:     main::__ANON__                      called by ./FHEM/98_MSwitch.pm (3105)
2019.04.12 15:58:24 1:     main::MSwitch_checkbridge           called by ./FHEM/98_MSwitch.pm (2858)
2019.04.12 15:58:24 1:     main::MSwitch_Notify                called by fhem.pl (3698)
2019.04.12 15:58:24 1:     main::CallFn                        called by fhem.pl (3618)
2019.04.12 15:58:24 1:     main::DoTrigger                     called by fhem.pl (3984)
2019.04.12 15:58:24 1:     main::Dispatch                      called by ./FHEM/36_JeeLink.pm (865)
2019.04.12 15:58:24 1:     main::JeeLink_Parse                 called by ./FHEM/36_JeeLink.pm (678)
2019.04.12 15:58:24 1:     main::JeeLink_Read                  called by fhem.pl (3698)
2019.04.12 15:58:24 1:     main::CallFn                        called by fhem.pl (745)
2019.04.12 15:58:24 3: Entfeuchter_MSwitch MSwitch_Restartcm: Befehlsausfuehrung -> set Entfeuchter_433 off  6416
2019.04.12 16:00:00 3: Umwaelzpumpe_DG_MSwitch MSwitch_Restartcm: Befehlsausfuehrung -> set Umwaelzpumpe_DG on-for-timer 300 6416
2019.04.12 16:00:00 3: Umwaelzpumpe_DG_MSwitch MSwitch_Restartcm: Befehlsausfuehrung -> set Umwaelzpumpe_DG on-for-timer 300 6416
2019.04.12 16:01:45 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_MSwitch.pm line 3105.
2019.04.12 16:01:45 1: stacktrace:
2019.04.12 16:01:45 1:     main::__ANON__                      called by ./FHEM/98_MSwitch.pm (3105)
2019.04.12 16:01:45 1:     main::MSwitch_checkbridge           called by ./FHEM/98_MSwitch.pm (2837)
2019.04.12 16:01:45 1:     main::MSwitch_Notify                called by fhem.pl (3698)
2019.04.12 16:01:45 1:     main::CallFn                        called by fhem.pl (3618)
2019.04.12 16:01:45 1:     main::DoTrigger                     called by fhem.pl (4686)
2019.04.12 16:01:45 1:     main::readingsEndUpdate             called by fhem.pl (4868)
2019.04.12 16:01:45 1:     main::readingsSingleUpdate          called by ./FHEM/93_FHEM2FHEM.pm (178)
2019.04.12 16:01:45 1:     main::FHEM2FHEM_Read                called by fhem.pl (3698)
2019.04.12 16:01:45 1:     main::CallFn                        called by fhem.pl (745)
2019.04.12 16:01:45 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_MSwitch.pm line 3105.
2019.04.12 16:01:45 1: stacktrace:
2019.04.12 16:01:45 1:     main::__ANON__                      called by ./FHEM/98_MSwitch.pm (3105)
2019.04.12 16:01:45 1:     main::MSwitch_checkbridge           called by ./FHEM/98_MSwitch.pm (2858)
2019.04.12 16:01:45 1:     main::MSwitch_Notify                called by fhem.pl (3698)
2019.04.12 16:01:45 1:     main::CallFn                        called by fhem.pl (3618)
2019.04.12 16:01:45 1:     main::DoTrigger                     called by fhem.pl (4686)
2019.04.12 16:01:45 1:     main::readingsEndUpdate             called by fhem.pl (4868)
2019.04.12 16:01:45 1:     main::readingsSingleUpdate          called by ./FHEM/93_FHEM2FHEM.pm (178)
2019.04.12 16:01:45 1:     main::FHEM2FHEM_Read                called by fhem.pl (3698)
2019.04.12 16:01:45 1:     main::CallFn                        called by fhem.pl (745)
2019.04.12 16:01:45 3: Heizung_Pumpe_MSwitch MSwitch_Restartcm: Befehlsausfuehrung -> set Heizung_Pumpe off  6416


das würde noch weiter gehen, denke aber es reicht als Auszug.

Hast du eine Idee.

VG
pflock_y

Hi pflock_y

ich schaue mir das im Laufe des Tages noch an und melde mich dann.

gruss Byte09

Byte09

#669
@pflock_y

wenn du magst kannst du mal versuchen , ob es mit der Version aus dem GIT weg ist und mir Bescheid geben.

update all https://raw.githubusercontent.com/Byte009/FHEM-MSwitch/master/controls_mswitch.txt im Fhemweb

den reload nicht vergessen
reload 98_MSwitch.pm

gruss Byte09




pflock_y

Hallo Byte09,
läuft jetzt nach dem Update ne knappe halbe Stunde sauber. Kaum noch eintrage im log.

besten Danke und Grüße
pflock_y

wm1962

Hallo Thomas,
ich habe bei einem MSwitch das device "RolloTerrasse" eingefügt.
Bei der Auswahl der Kommandos stehen mir dort nicht alle Kommandos zur Verfügung, insbesondere fehlen dort "close" und "open".

1. Bild Auswahl beim Device
2. Bild Auswahl beim MSwitch

Gruß Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

Byte09

Zitat von: wm1962 am 12 April 2019, 18:41:02
Hallo Thomas,
ich habe bei einem MSwitch das device "RolloTerrasse" eingefügt.
Bei der Auswahl der Kommandos stehen mir dort nicht alle Kommandos zur Verfügung, insbesondere fehlen dort "close" und "open".

1. Bild Auswahl beim Device
2. Bild Auswahl beim MSwitch

Gruß Wilfried

gib mir bitte mal die Daten von :

list RolloTerrasse

und

set RolloTerrasse ?

und ein 'get get_support_info' des devices

gruss Byte09

wm1962

"list RolloTerrasse"
Internals:
   DEF        5B9C1C
   FUUID      5ca7519b-f33f-9ee4-f0a5-c7097d7329127f8f
   IODev      CUL_868_HM
   NAME       RolloTerrasse
   NOTIFYDEV  global
   NR         221
   NTFY_ORDER 50-RolloTerrasse
   STATE      20
   TYPE       CUL_HM
   chanNo     01
   READINGS:
     2019-04-11 06:56:00   CommandAccepted yes
     from archivexx        D-firmware      2.11
     from archivexx        D-serialNr      OEQ0563814
     2018-08-23 16:35:22   PairedTo        0xAABBCC
     2018-06-08 22:23:31   R-driveDown     90 s
     2018-06-05 10:11:52   R-driveTurn     0.5 s
     2018-06-08 22:23:31   R-driveUp       90 s
     2018-06-08 22:23:30   R-pairCentral   0xAABBCC
     2018-07-01 23:35:26   R-self01-lgActionType set_jmpToTarget
     2018-06-08 22:35:32   R-self01-lgOnLevel set_100 %
     2018-06-08 22:35:32   R-self01-shActionType set_jmpToTarget
     2018-06-08 22:35:32   R-self01-shOnLevel set_100 %
     2018-06-04 22:11:12   R-self02-lgActionType jmpToTarget
     2018-06-04 22:11:12   R-self02-lgOnLevel 100 %
     2018-06-04 22:11:12   R-self02-shActionType jmpToTarget
     2018-06-04 22:11:12   R-self02-shOnLevel 100 %
     2017-10-31 17:37:30   R-sign          off
     2018-08-23 16:35:22   RegL_00.        02:01 0A:AA 0B:BB 0C:CC 15:FF 18:00 00:00
     2018-08-23 16:35:23   RegL_01.        08:00 09:00 0A:00 0B:03 0C:84 0D:03 0E:84 0F:05 10:00  30:06 57:24 56:00 B3:00 B4:64 B5:14 00:00
     2017-10-31 17:29:07   command         open
     2017-10-31 17:29:07   desired_position 0
     2019-04-11 06:56:11   deviceMsg       20 (to VCCU)
     2017-10-31 17:29:07   drive-type      modul
     2017-10-31 17:29:07   last_drive      drive-up
     2019-04-11 06:56:11   level           20
     2019-02-16 22:08:23   levelMissed     desired:100
     2018-06-07 08:52:26   levelSlat       set_100
     2019-04-11 06:56:11   motor           stop:20
     2019-04-11 06:56:11   pct             20
     2019-04-11 06:56:11   pctSlat         100
     2017-10-31 17:29:10   position        0
     2018-08-23 16:35:21   powerOn         2018-08-23 16:35:21
     2019-04-11 06:56:11   recentStateType info
     2019-04-11 06:56:11   slatDir         stop
     2019-04-11 06:56:11   state           20
     2019-04-11 06:56:11   timedOn         off
   helper:
     HM_CMDNR   57
     mId        0107
     peerFriend peerSens,peerVirt
     peerOpt    3:blindActuator
     regLst     0,1,3p
     rxType     1
     tmplChg    0
     expert:
       def        1
       det        0
       raw        1
       tpl        0
     io:
       newChn     +5B9C1C,00,00,00
       rxt        0
       vccu       VCCU
       p:
         5B9C1C
         00
         00
         00
       prefIO:
         CUL_868_HM
     mRssi:
       mNo       
     prt:
       bErr       0
       sProc      0
     q:
       qReqConf   
       qReqStat   00
     role:
       chn        1
       dev        1
       prs        1
     tmpl:
Attributes:
   IODev      CUL_868_HM
   IOgrp      VCCU:CUL_868_HM
   autoReadReg 4_reqStatus
   devStateIcon open:fts_shutter_10 close:fts_shutter_100 half:fts_shutter_50 9.*:fts_shutter_10 8.*:fts_shutter_20 7.*:fts_shutter_30 6.*:fts_shutter_40 5.*:fts_shutter_50 4.*:fts_shutter_60 3.*:fts_shutter_70 2.*:fts_shutter_80 1.*:fts_shutter_90 0.*:fts_shutter_90
   eventMap   on:open off:close 60:half
   expert     2_raw
   firmware   2.11
   group      Rollos
   model      HM-LC-Ja1PBU-FM
   peerIDs    00000000,
   room       Rolladen
   serialNr   OEQ0563814
   subType    blindActuator
   webCmd     open:close:half:stop:pct


"set RolloTerrasse ?"
Unknown argument ?, choose one of assignHmKey clear deviceRename down fwUpdate getConfig getDevInfo getRegRaw getSerial getVersion inhibit off on pair pct pctLvlSlat pctSlat peerBulk peerIODev press raw regBulk regSet reset sign statusRequest stop toggle toggleDir unpair up peerSmart href='/fhem?detail=VCCU_Btn1'>VCCU_Btn1

'get get_support_info' gibt es nicht, habe dafür 'get cmdList' beigefügt
Gets ------
cmdList
deviceInfo [short|long]
param -param-
reg -addr- ... -list- -peer-
regList
regVal -addr- ... -list- -peer-
saveConfig -filename- ...

Sets ------
assignHmKey:
clear:[readings|trigger|register|oldRegs|rssi|msgEvents|msgErrors|attack|all]
deviceRename:newName
down [-changeValue-] [-ontime-] [-ramptime-] ...
eventL:-peer- -cond-
eventS:-peer- -cond-
fwUpdate:-filename- -bootTime- ...
getConfig:
getDevInfo:
getRegRaw:[List0|List1|List2|List3|List4|List5|List6] ... [-PeerChannel-]
getSerial
getVersion
inhibit [on|off]
off
on
pair
pct [-value-] ... [-ontime-]
pctLvlSlat -value-|old|noChng -slatValue-|old|noChng
pctSlat [0-100]|old|noChng
peerBulk -peer1,peer2,...- [set|unset]
peerIODev [IO] -btn- [set|unset]... not for future use
press:[long|short] -peer- [-repCount(long only)-] [-repDelay-] ...
raw:data ...
regBulk:-list-.-peer- -addr1:data1- -addr2:data2- ...
regSet:[prep|exec] -regName- -value- ... [-peerChannel-]
reset:
sign:[on|off]
statusRequest
stop
toggle
toggleDir
tplDel:tmplt
unpair:
up [-changeValue-] [-ontime-] [-ramptime-] ...


Bin  jetzt allerdings außer Haus, daher keine Eile ;)
Gruß Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

Byte09

#674
die befehle close und open sind keine standartbefehle des aktors, daher kann mswitch sie so nicht finden. aktiviere im MSwitch_device bitte mal das attribut :

'MSwitch_include_webcmds' =1
und
'MSwitch_Include_Devicecmds' = 0

dann sollte er die befehle eigentlich finden, allerdings nur noch diese Befehle . Solltest du in diesem Device noch andere Geräte schalten , wo du die 'normalen' vom device angebotenen Befehle benötigst wird es schwieriger, in diesem Fall gib mir nochmal bescheid, dann telefonieren wir kurz.

gib mir doch bitte kurz bescheid, ob er sie findet.

gruss Thomas

edit:

Auszug MSwitch-Wiki: https://wiki.fhem.de/wiki/MSwitch#MSwitch_Include_Webcmds_.280:1.29

ZitatMSwitch_Include_Webcmds (0:1)

Bewirkt die Aufnahme aller Devices in die Auswahlliste 'Affected Devices', die einen eigenen Befehlssatz in dem Attribut Webcmd hinterlegt haben. Die in Webcmd hinterlegten 'Befehle' werden in den Auswahlfeldern angeboten.

Bei gesetzter Option (0) werden diese Devices nicht mehr berücksichtigt und somit nicht mehr angeboten, wenn sie nicht zusätzlich einen eigenen Befehlssatz (set DEVICE ?) liefern.
Empfohlene Einstellung (0), Einsatz nach Bedarf.