50 Commits

Author SHA1 Message Date
rapster
3bd4d98b92 93_DbLog.pm: rewrite of commit r9716.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9718 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-29 15:05:52 +00:00
rapster
4f522dc42f 93_DbLog.pm: Bugfix for last commit r9716.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9717 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-29 14:52:57 +00:00
rapster
9aec678f00 93_DbLog.pm: Added reduceLog Parameter INCLUDE, to filter database select statement. (FORUM #41089)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9716 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-29 14:33:33 +00:00
rapster
6bac8b8953 93_DbLog: Added support for longpoll SVG.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9688 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-26 11:57:48 +00:00
rapster
69ef420c01 93_DbLog: Also moved comment for last commit r9686
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9687 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-26 11:00:03 +00:00
rapster
2e327c71ba 93_DbLog: Forum #42727 - Evaluate RegExp and reduce other output for delta-calculation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9686 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-26 10:48:20 +00:00
rapster
aa1ed67ac3 93_DbLog: changed min/max val 999999 to system specific (~0 >> 1); FORUM #41626 & #41787
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9376 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-04 18:38:46 +00:00
rapster
55fe8b3c48 93_DbLog: Rollback to revision 9373, because wrong file commited
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9375 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-04 18:37:43 +00:00
rapster
fa1fbb25ce 93_DbLog: changed min/max val 999999 to system specific (~0 >> 1); FORUM #41626 & #41787
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9374 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-04 18:34:13 +00:00
rapster
415d5a2d99 93_DbLog: Bugfix for last commit #9352
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9353 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-03 12:45:07 +00:00
rapster
61b1e4c794 93_DbLog: removed use of perl's 'switch' feature.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9352 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-03 12:37:27 +00:00
rapster
9f1d0c1cab 93_DbLog: - removed string length limitation for SQLITE. - little reduceLog cosmetics.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9340 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-02 11:09:41 +00:00
rapster
bd8dbb6a65 93_DbLog: fixed ploteditor bug when DbLogType=History.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9339 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-01 15:46:02 +00:00
rapster
bad3f35f86 93_DbLog: added new setter 'reduceLog' to clean up database.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9338 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-01 15:45:04 +00:00
tobiasfaust
332e4c7472 93_DbLog.pm: Bugfix for DbLogInclude and MinInterval
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8779 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-06-19 16:43:37 +00:00
tobiasfaust
c0bffc0270 93_DbLog.pm: resolve some bugs
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8653 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-30 11:03:38 +00:00
tobiasfaust
49437767ed 93_DbLog.pm: some bugfixes to run SQLITE
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8631 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-25 05:03:35 +00:00
tobiasfaust
3dfd6642ed - feature: 98_Text2Speech.pm; language now selectable
- feature: 93_DBLog.pm
             - SuppressUndef (http://forum.fhem.de/index.php/topic,36615.msg289041.html)
             - Hinzufuegen von Anfang und Ende-Werten beim Ploten in engen Grenzen
               (http://forum.fhem.de/index.php?topic=34006)
             - add new Attribute: DbLogInclude: 93_DbLog_DbLogInclude.diff
             - recognizing of DbLogTyp using DbReadings: 93_DbLog_dbReadings_using_DbLogType.diff



git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8591 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-17 11:37:00 +00:00
tobiasfaust
a28b33fed1 93_DBLog.pm: added feature to using logproxy
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6573 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-09-19 17:08:11 +00:00
tobiasfaust
4a99cc7eb9 - feature: DbLog: (thanks to betateilchen)
* added new global modules function $hash->{DbLog_splitFn}
               to let split the generated events by the own module
               into readingsname, value and unit
             * added SVG_sampleDataFn
             * added FW_detailFn
  - added:   new module contrib/97_SprinkleControl.pm (tobiasfaust)
  - added:   new module contrib/98_Sprinkle.pm (tobiasfaust)
             both modules helps to control the sprinkles in your garden
             --> take a look to the Wiki-Article
             http://www.fhemwiki.de/wiki/Bew%C3%A4sserungssteuerung



git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5782 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-05-08 06:15:58 +00:00
tobiasfaust
aa268a2daf 93_DbLog.pm: added feature for waiting DB-connect until DB is ready
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5667 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-26 11:04:16 +00:00
tobiasfaust
1cea7fd6f5 Hotfix for configDB
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5646 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-25 18:03:29 +00:00
tobiasfaust
10fa1a539f 93_DbLog.pm: added support for configDB
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5612 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-23 18:12:07 +00:00
tobiasfaust
726a75a766 DbLog: fixedrange=hour works now correctly
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5348 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-28 09:38:23 +00:00
tobiasfaust
86ec7f1e7e DbLog: added ReadingsVal/ReadingsTimestamp
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5163 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-08 12:20:51 +00:00
tobiasfaust
f928970ebd 98_Text2Speech.pm: Added Attribute TTS_VolumeAdjust
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5161 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-08 06:33:23 +00:00
betateilchen
757b93ec66 codemirror: removed not really necessary files
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5135 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-05 18:50:42 +00:00
tobiasfaust
cc01530401 DbLog: added ShutdownFunction
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4969 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-02-17 18:53:40 +00:00
tobiasfaust
3070d82fcb 93_DbLog.pm: fixing problems by generating DbLog Plots
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4763 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-28 18:24:09 +00:00
tobiasfaust
8552d27636 feature: DbLog: jokers "%" in device/reading definition are now possible
feature: Text2Speech: Definition of mp3files with a custom templatedefinition.


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4747 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-26 13:09:51 +00:00
tobiasfaust
600ddf7d43 93_DbLog.pm: fix for Plotfork
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4679 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-18 05:03:10 +00:00
johannnes
800aad3f4b DbLog: Ordering the Results by TIMESTAMP for the Charting Frontend
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4625 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-11 18:47:21 +00:00
tobiasfaust
e45e3231b1 DBLog: Fix the following errors:
Use of uninitialized value $modifier in string eq at fhem.pl line 3343.
    Use of uninitialized value $perlCode in eval "string" at fhem.pl line 3321



git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3855 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-09-04 17:57:38 +00:00
tobiasfaust
195ea6531b DBLog: Schreibfehler in Doku beseitigt
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3825 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-30 17:28:59 +00:00
tobiasfaust
64dd98e34a DBLOG change: The DBLOG propagated Attribute DbLogExclude will work as
regexp to exclude defined readings to log. 
              If a MinInterval is set, the logentry is dropped if the
              defined interval is not reached and value vs. lastvalue is eqal



git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3824 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-30 17:12:10 +00:00
tobiasfaust
f113cc51aa DbLog: by using DbLog a new Attribute DbLogExclude will be propagated
to all Devices. DbLogExclue will work as regexp to exclude 
       defined readings to log



git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3754 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-19 18:47:13 +00:00
tobiasfaust
23df863a27 93_DbLog.pm: added support for MAX
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3484 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-23 13:28:25 +00:00
tobiasfaust
d10d3e7559 93_DbLog.pm
Add: - new function: delta-ts by using "WEBLINK DBPLOT"
     - better behaviour of readings and values of dummy and
       OWX devices


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3387 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-05 17:48:30 +00:00
johannnes
f237e0db83 added chart rename and update queries
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3362 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-06-29 14:32:13 +00:00
johannnes
b60ddf25bc extended tabledataquerys to realize more specific querys from frontend
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3345 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-06-27 19:32:29 +00:00
johannnes
93282d3cf5 added missing brackets leading to syntax errors
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3123 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-26 15:50:21 +00:00
tobiasfaust
41b4dce1e4 93_DbLog.pm: stable release in contrib copied to main folder
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3031 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-04 11:37:17 +00:00
johannnes
fcc9aafbe3 93_DbLog extended with more queries for statistics and raw data when used with parameter webchart. Documentation updated.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2973 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-23 16:15:12 +00:00
tobiasfaust
2088ff9dcf 93_DbLog.pm: Changes only for SQLite
- Moves the 'current' table to memory and modifies a few internal parameters 
  in SQLite to minimize flash wear.
- Makes easier to setup DbLog with SQLite. Database tables are created if not exists 
  automatically when the database is opened.



git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2855 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-05 19:14:41 +00:00
tobiasfaust
56ceb4a49f 93_DbLog.pm
added support for webcharts with json
(thanks to Johannes)


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2759 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-18 18:47:58 +00:00
tobiasfaust
5dfd335da5 93_DbLog.pm: MySQL: neue Definition eines Indices auf history zur schnelleren
Generierung von Plots, SQL darauf angepasst


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2614 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-31 04:03:12 +00:00
rudolfkoenig
8cfc6d5ab0 Document formatting fixed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2512 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-14 07:32:05 +00:00
rudolfkoenig
fc28f3c307 Converted from DOS fileformat to UNIX or last NL added.
-> Need this format for commandref_join.pl


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2497 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-12 21:09:08 +00:00
tobiasfaust
bce012b9a7 BugFix über uninitialisierte Werte im fhemLog bei Nutzung von Plots über das DbLog
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2371 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-28 07:10:28 +00:00
tobiasfaust
ba43c6d2e6 - feature: new Module 93_DbLog.pm for logging events into Databases.
Generating Plots with weblinks are supportet.
             (by B. Neubert / T. Faust)


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2313 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-10 18:24:47 +00:00