109 Commits

Author SHA1 Message Date
nasseeder1
7bdb29587c 93_DbRep: Commandref revised
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16810 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-06-03 07:06:38 +00:00
nasseeder1
cbe86997f2 93_DbRep: V7.18.0, possible use of y:(\d) in timeDiffToNow, timeOlderThan, delEntries considers executeBeforeDump, executeAfterDump, minor fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16808 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-06-02 17:54:56 +00:00
nasseeder1
7e3533069b 93_DbRep: V7.17.3, writeToDB - readingname can be replaced by the value of attribute "readingNameMap"
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16684 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-05-01 18:20:01 +00:00
nasseeder1
6c9f14cca8 93_DbRep: 7.17.2, doesn't writeToDB if device name contain "."
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16647 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-04-22 18:45:29 +00:00
nasseeder1
ba01bbb707 93_DbRep: V7.17.1, sqlCmd can't use §timestamp_begin§
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16636 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-04-20 12:01:31 +00:00
nasseeder1
b25d0c8a9b 93_DbRep: new function dbValue, DbReadingsVal (blocking)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16627 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-04-16 22:15:35 +00:00
nasseeder1
657a9239f7 93_DbRep: 7.15.2, Internal MODEL is set, minor fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16595 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-04-12 19:22:50 +00:00
nasseeder1
11c89178c4 93_DbRep: 7.15.1, sqlCmd accept widget textField-long, Internal MODEL is set
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16592 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-04-11 21:38:20 +00:00
nasseeder1
4afd7e65a1 93_DbRep: V7.15.0, new command sqlSpecial
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16475 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-03-24 15:09:48 +00:00
nasseeder1
03de675ac3 93_DbRep: V7.14.8, exportToFile,importFromFile can use file as an argument, fix no save to database if value=0 (writeToDB)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16465 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-03-21 22:26:02 +00:00
nasseeder1
403f641051 93_DbRep: 7.14.6, attr expimpfile can use some kinds of wildcards
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16449 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-03-19 21:50:14 +00:00
nasseeder1
f07e8745e6 93_DbRep: some perl warnings fixed, commandref revised
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16431 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-03-17 21:11:29 +00:00
nasseeder1
5369e2fa44 93_DbRep: some perl warnings fixed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16429 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-03-17 19:09:20 +00:00
nasseeder1
66ac37a6f8 93_DbRep: V7.14.4, increased timeout of special function
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16385 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-03-11 17:45:36 +00:00
nasseeder1
6af4a2401e 93_DbRep: V7.14.3, minTimestamp - get lowest timestamp in database
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16347 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-03-07 20:29:44 +00:00
nasseeder1
2197caae15 93_DbRep: fix perl warning
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16326 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-03-04 16:47:51 +00:00
nasseeder1
02835e1ed9 93_DbRep: V7.14.1, bugfix for PostgreSQL
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16318 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-03-03 18:43:12 +00:00
nasseeder1
b55063e43e 93_DbRep: V7.14.0, new command syncStandby
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16292 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-28 21:23:28 +00:00
nasseeder1
d126d52efa 93_DbRep: commandref revised (forum:#84953)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16272 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-25 19:28:04 +00:00
nasseeder1
9363664865 93_DbRep: V7.13.2, fix of aggregation month
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16257 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-24 21:37:17 +00:00
nasseeder1
b0bc08a774 93_DbRep: commandref revised
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16232 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-20 16:21:12 +00:00
nasseeder1
55920022de 93_DbRep: V7.13.0, changeValue may use perlcode {} as "new string"
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16215 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-18 15:22:06 +00:00
nasseeder1
c0bff6daa3 93_DbRep: V7.12.0, compression of dumpfile, restore of compressed files possible
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16202 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-17 15:41:24 +00:00
nasseeder1
bcb0e5169f 93_DbRep: V7.11.0, "repairSQLite" to repair a corrupted SQLite DB
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16191 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-16 07:47:42 +00:00
nasseeder1
09bdd74c47 93_DbRep: V7.10.0, new "changeValue" command, minor fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16163 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-12 22:27:06 +00:00
nasseeder1
da038611ae 93_DbRep: V7.9.0, new attribute "avgTimeWeightMean" (averageValue)
some code review and corrections

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16136 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-09 17:04:00 +00:00
nasseeder1
b715443e6b 93_DbRep:V7.8.1, new command "eraseReadings", some fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16110 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-07 21:41:40 +00:00
nasseeder1
b1e2bbf3ad 93_DbRep: V7.7.1, minor fix if disabled
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16073 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-03 19:43:59 +00:00
nasseeder1
a9069c4374 93_DbRep: V7.7.0, attribute "averageCalcForm" - select variant of
averageValue reporting, calc of daily medium temperature 
          according german weather service

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16069 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-03 08:22:38 +00:00
nasseeder1
70c9eb2669 93_DbRep: V7.6.1, data with "|" in value are possible to process,
attr "sqlCmdHistoryLength" to use sqlCmdHistory list,
          attr "fetchMarkDuplicates" to highlight multiple data

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16040 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-29 16:30:04 +00:00
nasseeder1
34c48f457d 93_DbRep: V7.5.5, minor corrections in delSeqDoublets
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15987 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-25 14:28:09 +00:00
nasseeder1
e1ca6a9e7c 93_DbRep: V7.5.4, dumpFilesKeep can be set to "0", new attribute
"ftpDumpFilesKeep" for version management on FTP, 
          delSeqDoublets optimized for consumption of resources

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15983 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-24 22:40:01 +00:00
nasseeder1
9e06a94561 93_DbRep: V7.5.1, new set-options display/writeToDB for
(max|min|sum|average|diff)Value,
          create background_processing_time before execute
          commands in attribute "executeAfterProc" (db-dumps)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15947 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-21 12:49:57 +00:00
nasseeder1
457df7e2f7 93_DbRep: old dumpfiles not deleted by dumpMySQL clientSide
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15888 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-14 17:18:34 +00:00
nasseeder1
bab8e4dbf2 93_DbRep: V7.4.0, new commands dumpSQLite/restoreSQLite,
execute commands before/after set optimizeTables, 
          vacuum, restoreMySQL, restoreSQLite available,
          CAUTION !! attributes executeBeforeDump/executeAfterDump
          are renamed to executeBeforeProc/executeAfterProc

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15865 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-13 08:45:05 +00:00
nasseeder1
dfde0f8025 93_DbRep: syntax error if perl version < 5.20
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15834 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-08 20:50:13 +00:00
nasseeder1
7bb257ca0e 93_DbRep: V7.3.0, charfilter avoid control characters in datasets to export, function exportToFile importFromFile improved
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15814 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-07 15:12:53 +00:00
nasseeder1
99da9d2294 93_DbRep: fix "month out of range" that causes fhem crash
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15780 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-04 19:50:07 +00:00
nasseeder1
e5f4550c98 93_DbRep: V7.2.0, new attributes "seqDoubletsVariance", "timeYearPeriod", minor fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15747 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-01 19:30:59 +00:00
nasseeder1
57b17cc155 93_DbRep: V7.0.0, changelog:
- faster exec if no time attribut/aggregation is set
                  - bugfix in fetchrows if data contain chars like "'
                  - new command get blockinginfo
                  - identify if reopen is running on assigned dblog-device
                  - bugfix in delSeqDoublets
                  - internal code changes/reviews

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15661 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-12-21 11:57:00 +00:00
nasseeder1
cc4b35e2ff 93_DbRep: V6.4.2, changelist:
- prepare for usage of datetime picker widget
          - new attr "sqlResultFieldSep" (field separator)
          - change "delSeqDoublets" to respect attribute "limit"
	  - bug fix in "delSeqDoublets delete" function

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15614 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-12-15 19:54:30 +00:00
nasseeder1
3c88a70de9 93_DbRep: V6.3.2 ,changelist to last version:
- new command delSeqDoublets
          - add last command option to internal LASTCMD
          - add format d:xx h:xx m:xx s:xx for attributes
            timeDiffToNow, timeOlderThan
          - new attribute fetchRoute to switch asc,desc datafetch  

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15565 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-12-07 16:44:17 +00:00
nasseeder1
31a3ed2461 93_DbRep: V6.0.0, FTP transfer dumpfile after dump (MySQL), delete old dumpfiles within Blockingcall, minor fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15446 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-11-18 19:18:56 +00:00
nasseeder1
40ed850198 93_DbRep: V5.8.6, don't limit length of attr reading/device if attr contains a list
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15352 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-10-30 11:59:28 +00:00
nasseeder1
b6e958c38f 93_DbRep: V5.8.5, attr device can be a devspec, attr reading can be a list (pls. see commandref), minor fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15312 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-10-23 21:26:46 +00:00
nasseeder1
fc5ed5bf44 93_DbRep: V5.8.0, can set table as flexible argument for command countEntries and fetchrows
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15265 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-10-15 16:43:29 +00:00
nasseeder1
954d8ed2a7 93_DbLog: V2.22.11, Attribute DbLogType expanded by SampleFill
93_DbRep: V5.7.1, commands tableCurrentPurge, tableCurrentFillup

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15257 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-10-14 18:41:41 +00:00
nasseeder1
dfe4f176af 93_DbRep: V5.6.4, use new Blocking.pm abortArg
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15209 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-10-07 06:58:05 +00:00
nasseeder1
ff00f7d53f 93_DbRep: V5.6.3, crash due to wrong timestamp calc (Forum: #77328)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15177 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-10-02 16:04:07 +00:00
nasseeder1
394f8e7f79 93_DbRep: V5.6.2, commandref revised
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14973 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-08-28 16:46:51 +00:00