mgernoth
6d4228bcc7
00_HMUARTLGW.pm: add NotifyOrderPrefix, forum #123948
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25203 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2021-11-08 09:18:29 +00:00
mgernoth
7d49ab9944
00_HMUARTLGW.pm: improve timing compatibility with CUL (noansi)
...
Patch from noansi, forum #122160
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25153 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2021-10-30 08:08:08 +00:00
mgernoth
6ffe0b4717
00_HMUARTLGW.pm: use DevIo
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25152 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2021-10-30 08:07:38 +00:00
mgernoth
f299785867
00_HMUARTLGW.pm: fix dummy, delay init and improve re-connect behaviour
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18838 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-03-09 20:40:14 +00:00
mgernoth
bec1ce745e
00_HMUARTLGW.pm: explicitly call Digest::MD5::md5 when setting hmKey
...
Probably fixes forum #84339
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16166 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-13 19:52:08 +00:00
mgernoth
5a49b5ff69
00_HMUARTLGW.pm: minimize keepAlive sub-device
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15596 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-12-12 14:05:48 +00:00
mgernoth
03a77c0f49
00_HMUARTLGW.pm: move Clients and MatchList from module to device-hash
...
The keepAlive-device should never be assigned as an IO, so put the
related attributes only in the device-hash of real IOs and not the
global hash of this module.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15595 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-12-12 13:43:01 +00:00
mgernoth
80aa098bac
00_HMUARTLGW.pm: increase default log-level of removal-failed messages
...
This is needed because r15366 seems to unconditionally remove peers from
IOs.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15383 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-11-03 08:11:29 +00:00
mgernoth
e7549c0695
00_HMUARTLGW.pm: add loadEvents attr and fix usage of InternalTimer
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15268 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-10-16 16:08:20 +00:00
mgernoth
efd162d90a
00_HMUARTLGW.pm: check if LastSendLen is defined before using it
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14899 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-08-14 16:49:04 +00:00
mgernoth
379b2575aa
00_HMUARTLGW.pm: fix errors on rename, add model
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14875 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-08-11 09:53:02 +00:00
mgernoth
db63699d82
00_HMUARTLGW.pm: check if FD is defined before using it
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14240 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-05-10 09:27:09 +00:00
mgernoth
5e09ec1fc6
00_HMUARTLGW.pm: close device even if it is only in the readylist
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14239 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-05-10 07:04:49 +00:00
mgernoth
0e6c5bd002
00_HMUARTLGW.pm: change qLen default, update documentation
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13655 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-09 09:24:29 +00:00
mgernoth
4c8428d585
00_HMUARTLGW.pm: change log-level for message caused by firmware quirk
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13654 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-09 09:13:15 +00:00
mgernoth
e7d22e399c
00_HMUARTLGW.pm: check for outdated firmware
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13641 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-08 16:10:09 +00:00
mgernoth
41e1a38d92
00_HMUARTLGW.pm: send IO to bootloader on shutdown
...
This prevents the IO from answering requests from devices (AES/ACK)
if Fhem is shutdown.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13573 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-02 09:18:47 +00:00
mgernoth
ce0c559315
00_HMUARTLGW.pm: add minimal support for DualCoPro-firmware
...
This only allows flashing back from the unsupported DualCoPro-firmware
to the supported HM-only firmware. The DualCoPro-firmware needs a
patched serial-driver in the kernel to meet HM timing requirements
so support for this version is unlikely.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13367 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-02-08 23:13:31 +00:00
mgernoth
a0291c3727
00_HMUARTLGW.pm: use "state"-reading instead of $hash->{STATE}
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13312 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-02-02 21:37:19 +00:00
mgernoth
38f0b65462
00_HMUARTLGW.pm: deactivate firmware on close/dummy
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13148 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-01-19 23:07:43 +00:00
mgernoth
2f822fd253
00_HMUARTLGW.pm: add german documentation
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13130 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-01-17 22:54:54 +00:00
mgernoth
15e890a5b5
00_HMUARTLGW.pm: hide crypto state from list (to keep it in binary)
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13129 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-01-17 21:55:44 +00:00
mgernoth
6a3d631699
00_HMUARTLGW.pm: don't hide key-id in log
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12868 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-12-23 11:51:19 +00:00
mgernoth
0ba0e5231c
00_HMUARTLGW.pm: fix wrong format in log message
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-12-23 10:16:30 +00:00
mgernoth
4dec433d60
00_HMUARTLGW.pm: cleanup assigned peer handling, fix XmitOpen on reopen
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12832 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-12-19 17:51:23 +00:00
mgernoth
6e12042d99
00_HMUARTLGW.pm: don't try to send when device is not initialized
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12664 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-11-26 19:48:44 +00:00
mgernoth
6094c1018d
00_HMUARTLGW.pm: remove dutyCycle-warning for now
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12638 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-11-23 17:29:07 +00:00
mgernoth
1d50f85958
00_HMUARTLGW.pm: correctly add peer on send, add dutyCycle-warning
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12636 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-11-23 12:50:57 +00:00
mgernoth
9de2fccb5b
00_HMUARTLGW.pm: more log improvements
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12606 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-11-20 10:41:00 +00:00
mgernoth
d49565c9a6
00_HMUARTLGW.pm: improve logging a bit
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12605 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-11-20 10:30:41 +00:00
mgernoth
98def7f9e6
00_HMUARTLGW.pm: improve support for old perl versions
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12433 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-26 08:36:40 +00:00
mgernoth
a9832ce370
00_HMUARTLGW.pm: add dummy attribute
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12359 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-17 08:46:50 +00:00
mgernoth
877f6ec22d
00_HMUARTLGW: resend cleanup
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12271 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-04 10:07:03 +00:00
mgernoth
39cf5c5d5e
00_HMUARTLGW.pm: fix resend
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12270 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-04 07:01:20 +00:00
mgernoth
53843539b3
00_HMUARTLGW.pm: try resending some commands if device does not ack
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12269 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-03 21:00:16 +00:00
mgernoth
4b8e5b19a2
00_HMUARTLGW: fix peer handling
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12253 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-03 10:53:35 +00:00
mgernoth
23eda04ab8
00_HMUARTLGW: reboot module on connect, simplify peer handling
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12252 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-03 10:39:06 +00:00
mgernoth
213395576e
00_HMUARTLGW.pm: do not log secret key when logging raw messages
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12227 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-01 13:46:40 +00:00
mgernoth
f994f59074
00_HMUARTLGW.pm: clarify error-messages
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12186 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-20 14:12:20 +00:00
mgernoth
2f3fd07f2d
00_HMUARTLGW.pm: fix string comparison
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12185 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-20 13:57:00 +00:00
mgernoth
094cdb5a65
00_HMUARTLGW.pm: propagate verbose attribute to keepAlive-device
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12177 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-19 18:53:04 +00:00
mgernoth
d9046b2cb3
00_HMUARTLGW.pm: warn when LGW KeepAlive is delayed, add "set" hints for web
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12175 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-19 08:19:57 +00:00
mgernoth
6e48049ff9
00_HMUARTLGW.pm: resolve names in logIDs
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12119 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-05 08:04:05 +00:00
mgernoth
8b7748ce26
00_HMUARTLGW.pm: cleanup retry-handling, reduce delay when IO is busy
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12116 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-04 12:40:25 +00:00
mgernoth
42251729bf
00_HMUARTLGW.pm: disable CSMA/CA by default
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12112 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-03 20:13:20 +00:00
mgernoth
5981c7c0c5
00_HMUARTLGW.pm: only trigger VCCU when condition changed
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12109 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-02 07:39:47 +00:00
mgernoth
fe4266c41c
00_HMUARTLGW.pm: Implement updating the coprocessor-firmware
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12100 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-31 18:17:22 +00:00
mgernoth
95981e4a48
00_HMUARTLGW.pm: fix non-blocking connect, thanks Ralf9 (forum: msg483514)
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12031 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-21 12:25:40 +00:00
mgernoth
3cd693bed5
00_HMUARTLGW.pm: add description, improve timing
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12005 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-20 09:14:47 +00:00
mgernoth
c92cee34b2
00_HMUARTLGW.pm: delay reconnect when remote disconnects immediately
...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11981 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-17 21:05:13 +00:00