46 Commits

Author SHA1 Message Date
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
mgernoth
df237ff3b5 00_HMUARTLGW.pm: add support for HM-MOD-UART behind a tcp-serial bridge
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11934 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-09 20:02:16 +00:00
martinp876
6691697de4 HMUARTLGW: revert changes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11906 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-06 12:38:41 +00:00
martinp876
9c0a395518 CUL_HM:setzen von peerNeedsBurst
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11905 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-06 12:10:09 +00:00
mgernoth
0b926d5eda 00_HMUARTLGW.pm: use non-blocking connect()
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11846 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-24 15:01:02 +00:00
mgernoth
534e1156aa 00_HMUARTLGW.pm: gracefully handle an unset hmId (use id of io)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11844 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-24 14:45:34 +00:00
mgernoth
9bfa49421b 00_HMUARTLGW.pm: reorder dispatch and send
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11814 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-18 10:38:06 +00:00
mgernoth
b30f863216 00_HMUARTLGW.pm: new module for eQ-3 HomeMatic UART/LanGateway added
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11806 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-17 14:35:23 +00:00