mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
98_PHC.pm: small changes
git-svn-id: https://svn.fhem.de/fhem/trunk@19980 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f0895e86d0
commit
721be5a24f
@ -23,6 +23,7 @@
|
||||
# 2017-02-11 started initial PoC version
|
||||
# 2017-08-08 optimized logging, silentReconnect, singleLastCommand
|
||||
# 2017-08-18 ping command, reset / config, sendRaw
|
||||
# 2019-06-02 don't do event / lastcommmand reading for CLK
|
||||
#
|
||||
#
|
||||
# Todo / Ideas:
|
||||
@ -78,7 +79,7 @@ sub PHC_ParseFrames($);
|
||||
sub PHC_HandleSendQueue($);
|
||||
sub PHC_TimeoutSend($);
|
||||
|
||||
my $PHC_Version = '0.42 - 31.8.2018';
|
||||
my $PHC_Version = '0.43 - 2.6.2019';
|
||||
|
||||
|
||||
my %PHC_AdrType = (
|
||||
@ -666,9 +667,11 @@ sub PHC_ParseCommands($$)
|
||||
PHC_LogCommand($hash, $command, "", ($command->{MTYPE} eq "CLK" ? 5:4));
|
||||
|
||||
readingsBeginUpdate($hash);
|
||||
readingsBulkUpdate($hash, 'LastCommand', PHC_CmdText($hash, $command));
|
||||
|
||||
if ($command->{MTYPE} ne "CLK") {
|
||||
readingsBulkUpdate($hash, 'LastCommand', PHC_CmdText($hash, $command));
|
||||
DoTrigger($name, PHC_ChannelText($hash, $command, $command->{CHANNEL}) . ": " . $command->{FNAME});
|
||||
}
|
||||
|
||||
# channel bits aus Feedback / Ack verarbeiten
|
||||
if ($command->{PARSEOPTS}{'cbm'} || $command->{PARSEOPTS}{'cba'}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user