29 Commits

Author SHA1 Message Date
borisneubert
7360e8e9a3 66_ECMD, 67_ECMDDevice: minor fixes to account for undefined attributes, one fix for commandref
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12877 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-12-26 09:15:55 +00:00
borisneubert
360d324591 66_ECMD, 67_ECMDDevice:
- if split is used, the strings at which the messages are split 
                are still part of the messages
              - no default attributes for requestSeparator and responseSeparator
              - input of raw data as perl-encoded string (for setting 
                attributes)
              - be more verbose and explicit at loglevel 5
              - documentation corrected and amended

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12796 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-12-17 15:17:38 +00:00
borisneubert
4660b94f09 67_ECMDDevice: new attribute noState
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12530 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-11-08 16:09:12 +00:00
borisneubert
566b18d0ef 67_ECMDDevice: optimization; honor param in expect
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11649 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-06-11 19:22:44 +00:00
borisneubert
e9bcddb689 67_ECMDDevice.pm: silence some warnings for undefined variables
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7698 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-01-24 19:02:54 +00:00
borisneubert
42dded9cd0 ECMDDevice: speed up through caching of postproc and regex
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6541 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-09-12 08:24:37 +00:00
borisneubert
2c36879605 option to cope with partial messages in ECMD/ECMDDevice
always match complete messages

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6536 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-09-11 15:09:30 +00:00
borisneubert
1317dea18a suppress an "undefined" warning
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6497 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-09-01 19:04:19 +00:00
borisneubert
4ff766a594 state definition and split attribute added to 66_ECMD, 67_ECMDDevice
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6456 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-08-24 21:00:55 +00:00
borisneubert
db7d993b46 ECMDDevice: commands set and get set states no matter if there is a value for set or get given
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5645 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-25 17:26:56 +00:00
borisneubert
11508876f8 ECMD and ECMDDevice completely reworked, see http://forum.fhem.de/index.php/topic,21515.0.html
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5551 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-18 10:43:26 +00:00
rudolfkoenig
6e73bfdba0 Fixing $Id tag
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3412 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-13 11:21:18 +00:00
borisneubert
72f2cbd86c Format fix in documentation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3263 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-06-09 09:45:27 +00:00
borisneubert
77589407c4 Added example how to use blanks in command arguments.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3239 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-06-02 08:55:43 +00:00
borisneubert
d93977c6f1 set does not return a value any more
made state setting compliant with guidelines

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2572 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-26 21:46:29 +00:00
rudolfkoenig
2b4fdf866d readingsUpdate attribute-Namelist and documentation unified
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2406 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-03 12:51:51 +00:00
borisneubert
ba3b483d0e missing colon fixed in AttrList
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2353 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-22 19:58:52 +00:00
borisneubert
ed4960f30f attribute nonl (no newline) added for ECMD device
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2154 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-22 05:44:20 +00:00
borisneubert
573d5c7ee0 introduced readingsBulkUpdate, readingsSingleUpdate
introduced GPLv2

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2099 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-08 20:56:21 +00:00
rudolfkoenig
6a2e174e05 THE SPLIT
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2076 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-04 13:49:43 +00:00
borisneubert
4fdc25da1a Activate EvalSpecials in postproc (patch supplied by Tobias Faust)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1678 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-07-02 18:42:02 +00:00
borisneubert
0f1b30e862 colon removed from ECMDDevice state and migrated to readingsUpdate API
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1556 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-05-12 09:01:22 +00:00
borisneubert
de5c31f29c feature: added postproc ability to classdef in 66_ECMD.pm (Boris, Heinz)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1100 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2011-11-12 13:31:53 +00:00
rudolfkoenig
561cff81de Adding Id: to the modules
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1098 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2011-11-12 07:51:08 +00:00
borisneubert
9ade477738 *** empty log message ***
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1083 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2011-10-25 19:05:49 +00:00
borisneubert
81a327f64a ECMDDevice: fixed two errors (set command with params, return value as a reading for set command)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@848 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2011-03-06 10:38:56 +00:00
borisneubert
be74929cd9 - 67_ECMDDevice.pm: accounted for non-existing readings hash
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@809 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2011-01-25 19:45:08 +00:00
borisneubert
4aba3c6041 - 66_ECMD.pm: serial port protocols added
- 67_EMCDDevice.pm: readings added


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@808 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2011-01-25 19:24:48 +00:00
borisneubert
58dec1739a feature: new modules 66_ECMD.pm and 67_ECMDDevice.pm for ethersex-enabled devices and alike.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@806 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2011-01-22 21:53:18 +00:00