2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 04:36:02 +00:00

98_Modbus.pm: snall Bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@28133 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
StefanStrobel 2023-11-07 18:38:22 +00:00
parent 08d9304658
commit 830b9aeb44

View File

@ -263,7 +263,7 @@ BEGIN { # functions / variables needed from package main
}; };
my $Module_Version = '4.5.5 - 9.5.2023'; my $Module_Version = '4.5.6 - 7.11.2023';
my $PhysAttrs = join (' ', my $PhysAttrs = join (' ',
'queueDelay', 'queueDelay',
@ -732,6 +732,7 @@ sub DefineLDFn {
delete $hash->{TCPServer}; delete $hash->{TCPServer};
delete $hash->{TCPChild}; delete $hash->{TCPChild};
} }
$hash->{devioNoSTATE} = 1;
GoToState($hash, 'disconnected'); # initial state after define - might modify to disabled / inactive GoToState($hash, 'disconnected'); # initial state after define - might modify to disabled / inactive
# connection will be opened later in NotifyFN (INITIALIZED, DEFINED, MODIFIED, ...) # connection will be opened later in NotifyFN (INITIALIZED, DEFINED, MODIFIED, ...)
# for serial connections we use a separate physical device. This is set in Notify # for serial connections we use a separate physical device. This is set in Notify
@ -5576,6 +5577,9 @@ sub TryCall {
this attribute controls at what loglevel reconnect messages from devIO will be logged. Without this attribute they will be logged at level 3. this attribute controls at what loglevel reconnect messages from devIO will be logged. Without this attribute they will be logged at level 3.
If this attribute is set to 1 then such messages will be logged at level 4. If this attribute is set to 1 then such messages will be logged at level 4.
</li> </li>
<li><a id="Modbus-attr-showError">showError</a><br>
if this attribute is set to 1 then a new reading LAST_ERROR will be created in case of errors or timeouts.
</li>
<li><a id="Modbus-attr-skipGarbage">skipGarbage</a><br> <li><a id="Modbus-attr-skipGarbage">skipGarbage</a><br>