2
0
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:
viegener 2018-01-06 23:32:41 +00:00
parent 6bb72bd4da
commit 1ef0af2331
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,6 @@
# 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.
- change: 10_SOMFY: minor changes remvoe debug and add parsestate reading
- bugfix: 74_XiaomiFlowerSens: fix error then use ssh and no connect
- change: 72_FB_CALLIST: mapping tables (icon-mapping, external-mapping,...)
will be evaluated after initialization is finished (Forum: #81892)

View File

@ -65,6 +65,9 @@
# - allow set command position
# 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,10 +543,11 @@ sub SOMFY_Parse($$) {
return "" if(IsIgnored($name));
# update the state and log it
Debug "SOMFY Parse: $name msg: $msg --> $cmd-$newstate";
Log3 $name, 4, "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 --> io is $ioType";
readingsSingleUpdate($lh, "received", $cmd, 1);
readingsSingleUpdate($lh, "parsestate", $newstate, 1);
SOMFY_DispatchRemoteCmd($lh, $cmd ) if ( SOMFY_isRemote( $lh ) );
push(@list, $name);