mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-26 10:34:52 +00:00
10_SOMFY: minor changes remvoe debug and add parsestate reading
git-svn-id: https://svn.fhem.de/fhem/trunk@15807 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6bb72bd4da
commit
1ef0af2331
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- change: 10_SOMFY: minor changes remvoe debug and add parsestate reading
|
||||||
- bugfix: 74_XiaomiFlowerSens: fix error then use ssh and no connect
|
- bugfix: 74_XiaomiFlowerSens: fix error then use ssh and no connect
|
||||||
- change: 72_FB_CALLIST: mapping tables (icon-mapping, external-mapping,...)
|
- change: 72_FB_CALLIST: mapping tables (icon-mapping, external-mapping,...)
|
||||||
will be evaluated after initialization is finished (Forum: #81892)
|
will be evaluated after initialization is finished (Forum: #81892)
|
||||||
|
@ -65,6 +65,9 @@
|
|||||||
# - allow set command position
|
# - allow set command position
|
||||||
# 2.0 Update for official version to allow further rework and Alexa handling
|
# 2.0 Update for official version to allow further rework and Alexa handling
|
||||||
|
|
||||||
|
# - change log entries and remove debug in _Parse
|
||||||
|
# - added back parsestate temporarily - #msg743423
|
||||||
|
#
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
@ -540,9 +543,10 @@ sub SOMFY_Parse($$) {
|
|||||||
return "" if(IsIgnored($name));
|
return "" if(IsIgnored($name));
|
||||||
|
|
||||||
# update the state and log it
|
# update the state and log it
|
||||||
Debug "SOMFY Parse: $name msg: $msg --> $cmd-$newstate";
|
# Debug "SOMFY Parse: $name msg: $msg --> $cmd-$newstate";
|
||||||
Log3 $name, 4, "SOMFY Parse: $name msg: $msg --> $cmd-$newstate";
|
Log3 $name, 4, "SOMFY Parse: $name msg: $msg --> $cmd-$newstate --> io is $ioType";
|
||||||
readingsSingleUpdate($lh, "received", $cmd, 1);
|
readingsSingleUpdate($lh, "received", $cmd, 1);
|
||||||
|
readingsSingleUpdate($lh, "parsestate", $newstate, 1);
|
||||||
|
|
||||||
SOMFY_DispatchRemoteCmd($lh, $cmd ) if ( SOMFY_isRemote( $lh ) );
|
SOMFY_DispatchRemoteCmd($lh, $cmd ) if ( SOMFY_isRemote( $lh ) );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user