1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-07 22:29:19 +00:00

159 Commits

Author SHA1 Message Date
nasseeder1
32e0ea6e64 93_DbRep: release unnecessary allocated memory, fix warnings
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20172 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-09-16 17:16:58 +00:00
nasseeder1
dc09d933dc 93_DbRep: SQL Wildcard (%) usage possible as placeholder in a reading- or device-list. Forum: #101756, internal code changes of SQL statement generation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20138 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-09-09 17:29:19 +00:00
nasseeder1
17f5424078 93_DbRep: devices contained in the selection definition are marked as "Probably associated with" if possible
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20074 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-08-27 21:39:26 +00:00
nasseeder1
c3619e24d5 93_DbRep: fix add newline at the end of DbReadingsVal result, Forum: #103295
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20066 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-08-26 19:16:13 +00:00
nasseeder1
6c3b77954e 93_DbRep: new attribute fetchValueFn to change displayed values of database field VALUE got by fetchrows command
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20048 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-08-23 20:08:48 +00:00
nasseeder1
2100cba37c 93_DbRep: commandRef revised
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19507 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-05-31 09:03:18 +00:00
nasseeder1
b425acf1cc 93_DbRep: FHEM command "dbReadingsVal" implemented
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19282 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-28 17:59:57 +00:00
nasseeder1
835eb05af8 93_DbRep: FHEM command "dbReadingsVal" implemented
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19281 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-28 17:43:26 +00:00
nasseeder1
9336a0686f 93_DbRep: check index "Report_Idx" during first DB connect
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19277 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-28 11:51:47 +00:00
nasseeder1
209caa294c 93_DbRep: check index "Report_Idx" during first DB connect
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19276 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-28 11:32:27 +00:00
nasseeder1
cc88758e43 93_DbRep: check index "Report_Idx" during first DB connect
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19274 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-28 08:22:45 +00:00
nasseeder1
4e565e8cfd 93_DbRep: new set "index" command to manage needed indexe for DbLog and DbRep, minor code changes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19270 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-27 21:46:10 +00:00
nasseeder1
9507b9b9cd 93_DbRep: minor internal code change
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19155 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-10 22:19:42 +00:00
nasseeder1
e912ff5f9d 93_DbRep: the "explain" SQL-command is possible now in sqlCmd
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19121 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-05 20:09:22 +00:00
nasseeder1
c53087513f 93_DbRep: new aggregation type year
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19106 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-03 19:56:48 +00:00
nasseeder1
0a39513e2d 93_DbRep: new aggregation type year
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19105 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-04-03 18:59:27 +00:00
nasseeder1
a0e40c0b9e 93_DbRep: consideration of leap year/daylight saving time changed, activate support of Meta.pm
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19065 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-03-29 21:25:15 +00:00
nasseeder1
e60023ef6a 93_DbRep: attribute "sqlCmdVars" to set SQL variables or PRAGMA before executing SQL statement with sqlCmd
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18980 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-03-20 20:55:44 +00:00
nasseeder1
af182ab919 93_DbRep: attribute "sqlCmdVars" to set SQL variables or PRAGMA before executing SQL statement with sqlCmd
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18979 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-03-20 20:23:25 +00:00
nasseeder1
af68360e91 93_DbRep: allow PRAGMA leading an SQLIte SQL-Statement in sqlCmd
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18966 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-03-18 23:58:59 +00:00
nasseeder1
a1ce668a9e 93_DbRep: allow PRAGMA leading an SQLIte SQL-Statement in sqlCmd
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18964 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-03-18 21:57:38 +00:00
nasseeder1
2f8322538c 93_DbRep: V8.15.0, readingsRename can be restricted to readings of a optional given device, fix deldoublets in SQLite
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18837 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-03-09 20:13:59 +00:00
nasseeder1
3da2af5b82 93_DbRep: executeBeforeProc / executeAfterProc is now available for sqlCmd,sumValue, maxValue, minValue, diffValue, averageValue
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18563 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-02-11 21:10:32 +00:00
nasseeder1
59a5d747cd 93_DbRep: running though tableCurrentFillup if database is closed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18488 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-02-03 07:38:03 +00:00
nasseeder1
96f7dd479d 93_DbRep: fix version numbering
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18409 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-01-25 13:04:35 +00:00
nasseeder1
14428f0b2d 93_DbRep: command exportToFile or attribute "expimpfile" accept option "MAXLINES="
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18394 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-01-23 22:37:15 +00:00
nasseeder1
cf772d29e7 93_DbRep: change DbRep_charfilter
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18385 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-01-23 00:19:16 +00:00
nasseeder1
546b999f90 93_DbRep: sqlCmd can handle SQL session variables, Forum:#96082
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18345 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-01-20 07:34:28 +00:00
nasseeder1
51116b1757 93_DbRep: V8.9.10, fix warnings Malformed UTF-8 character during importFromFile, Forum:#96056
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18327 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-01-18 22:21:21 +00:00
nasseeder1
3d23c4573a 93_DbRep: sort problem in diffValue Forum:#msg882082
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18163 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-01-06 17:13:00 +00:00
nasseeder1
e4eb72bbf7 93_DbRep: minor fix in deviceRename, commandref revised
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17862 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-11-27 22:10:21 +00:00
nasseeder1
b6879f2206 93_DbRep: attribute timeout set for minTimestamp
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17810 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-11-21 21:58:18 +00:00
nasseeder1
6e99ad2b68 93_DbRep: fix warnings and minor changes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17773 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-11-18 07:48:35 +00:00
nasseeder1
4fdfe15936 93_DbRep: new command delDoublets, minor fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17738 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-11-12 20:38:45 +00:00
nasseeder1
7702c514bb 93_DbRep: V8.8.0, attribute valueFilter applied to more functions, new attribute 'fastStart'
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17703 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-11-07 21:32:53 +00:00
nasseeder1
639389d71a 93_DbRep: commandref revised
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17658 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-11-01 21:25:36 +00:00
nasseeder1
7d09201f06 93_DbRep: commadref of reduceLog revised
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17647 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-30 21:30:36 +00:00
nasseeder1
73466d2460 93_DbRep: V8.6.0, devices and readings can be excluded by EXCLUDE-option in attributes "reading/device", reduceLog changes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17642 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-29 23:04:16 +00:00
nasseeder1
b1f9238259 93_DbRep: V8.4.0 see get versionNotes for changes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17609 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-23 20:27:51 +00:00
nasseeder1
ca02061a56 93_DbRep: V8.2.3, check availability of DbLog-device at definition time of DbRep-device
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17518 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-12 16:00:37 +00:00
nasseeder1
d552b58f75 93_DbRep: fix don't get the real min timestamp in special cases
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17501 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-10 16:06:51 +00:00
nasseeder1
823c4e1419 93_DbLog, 93_DbRep: minor fix time until DB is closed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17491 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-08 16:30:49 +00:00
nasseeder1
de0a6b3bac 93_DbRep: direct help for attributes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17474 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-07 11:16:14 +00:00
nasseeder1
ab737549a2 93_DbRep: 8.1.0, new get versionNotes command
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17451 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-02 14:26:58 +00:00
nasseeder1
3f4f3cd60b 93_DbRep: an invalid timestamp will put into state if found on startup
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17377 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-09-20 19:25:56 +00:00
nasseeder1
f9d5295144 93_DbRep: V8.0.0, restoreMySQL for clientSide dumps implemented
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17332 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-09-12 16:57:07 +00:00
nasseeder1
92fe4a82ca 93_DbRep: deviceRename cam operate old device names with blank in name
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17280 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-09-05 17:14:56 +00:00
nasseeder1
b0e9ad5614 93_DbRep: deviceRename cam operate old device names with blank in name
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17279 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-09-05 17:10:09 +00:00
nasseeder1
8836f30431 93_DbRep: V7.19.0, attribute "valueFilter" to filter datasets in fetchrows
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17202 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-08-25 10:55:42 +00:00
nasseeder1
c8fecdaf16 93_DbRep: fix in fetchrow function (forum:#89886),fix highlighting
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17080 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-08-02 19:26:57 +00:00