32 Commits

Author SHA1 Message Date
nasseeder1
d7de72b826 db_create_postgresql.sql: typo fixed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20063 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-08-26 16:16:53 +00:00
nasseeder1
46c7514420 DbLog: contrib db_create_mysql.sql
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18451 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-01-29 22:07:13 +00:00
nasseeder1
4c9a567106 database create scripts changed in contrib/dblog (forum:#84419)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16242 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-22 08:43:10 +00:00
nasseeder1
4db9ba1be7 93_DBLog: V.2.21.3, commandref revised
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14779 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-07-24 20:08:53 +00:00
nasseeder1
2a8ef80860 93_DbLog: V2.21.2, some improvements like get reading 'state' of state-events, timeout increased, change configCheck for DbRep Report_Idx
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14749 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-07-19 20:50:46 +00:00
nasseeder1
dbe1c04fa3 93_DbLog: V2.17.1, optional UTF-8 support for MySQL database (additional parameter in db.conf neccesary for activation)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14548 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-06-20 20:46:20 +00:00
tobiasfaust
965130bdf1 contrib/dblog/db_create_mysql.sql: changing datatypes to keep in sync
contrib/dblog/db_create_sqlite.sql: changing datatypes to keep in sync


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12118 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-05 07:02:35 +00:00
tobiasfaust
169daeefbd added svn property ID to 93_DbLog.pm and 98_Heating_Control.pm
deleted temporary file: contrib/dblog/93_DbLog.pm


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3481 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-23 09:50:22 +00:00
markusbloch
265d916b3b grant update to fhemuser in mysql dblog creation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3195 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-18 17:08:13 +00:00
tobiasfaust
fdac1c191c DbLog (contrib): (thanks to fuzzy)
- Event parsing method: Changed if to elseif to speed it up, added parsing support for OWL energy monitors (TRX_WEATHER), AC level command (TRX_LIGHTING), CUL_HM actuator messages. Fixed indentation levels.
  - Log method: Changed to use one transaction for writing all of the readings.
  - Get method: Changed to use bind variables with fetch (fastest way to read data), reduced the returned columns to 'timestamp' and 'value'.

  - changed index on history for postgresql


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2976 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-24 12:44:46 +00:00
tobiasfaust
28fb92da16 DbLog (contrib):
added Attribute: DbLogType to setup: 
  - "Current": log into current table
  - "History": log into history table
  - "Current/History" log into both tables (default)

Added support for (thanks to Roedert):
  - dummy
  - FHT8v


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2975 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-24 11:46:28 +00:00
johannnes
519a7be447 extended the event column for mysql from 64 to 512 characters
added example SQL for SQLite

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2770 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-19 19:28:47 +00:00
johannnes
31268c720d added example configuration for SQLite
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2769 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-19 19:17:03 +00:00
markusbloch
ea0558b8cf adding databasename to create statement
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2644 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-03 21:00:18 +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
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
956329e8a8 93_DbLog
- Verarbeitung für den Type WEATHER hinzugefügt (danke an Erwin)
- Fehlermeldungen auf Konsole gefixt
- Fehlerhafte Abfrage bei MySQl DBMS gefixt
- Doku auf UTF8 angepasst



git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2275 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-07 19:14:58 +00:00
tobiasfaust
2b47928aca - deutsche Doku ergänzt
- 5.Parameter in GET-Funktion in der column_spec hinzugefügt
  hiermit können komplexe Regexp zur Modifizierung des gelesenen Readings übergeben werden


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2267 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-05 06:57:04 +00:00
tobiasfaust
3f10eb89e0 + FS20 Behandlung angepasst
+ OWTHERM Support hinzugefügt
+ OWAD/OWSWITCH Support mit Reading "data" hinzugefügt
+ <fn> in <column_spec> kann nun auch komplexe Regexsubstitution
+ Doku (engl.) erweitert


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2206 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-27 17:52:54 +00:00
tobiasfaust
84adc375c1 -rename fhemdb_create.sql to db_create_mysql.sql
-added a postgresql connection example to db.conf


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2178 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-24 12:13:58 +00:00
tobiasfaust
572c9e93fc now added really the script to create the tables and indices for a postgresql database
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2176 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-24 12:03:14 +00:00
tobiasfaust
dac86289e2 Commit a new version of 93_DbLog.pm.
added the get Function with fully functionality of FileLog
 - column_spec with delta-h/delta-d/int/other regexp
added a Postgresql Script to create the tables and indices needed by DbLog



git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2175 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-24 11:58:59 +00:00
borisneubert
612c66c222 bugfix: make BS known to CUL to avoid lost messages if both FHZ1300 and CUL are connected, adjust matching rule
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@641 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2010-05-30 09:31:48 +00:00
mr_p
5374aa5550 Added CUL_WS to the type-list, so the unit-type for temperature and humidity is inserted in the db.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@568 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2010-01-26 23:35:34 +00:00
borisneubert
290f9fe45f - feature: new modules 00_CM11.pm and 20_X10.pm for integration of X10 devices in fhem
- feature: X10 support for pgm3


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-11-02 18:04:33 +00:00
borisneubert
c59912dbc9 - adjusted some "unknown" events for easier parsing in 93_DBLog.pm
- adapted 93_DBLog.pm parser to changes in 11_FHT.pm
- workarounds for undefined variables to prevent perl from complaining here and there


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@166 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-05-02 14:05:41 +00:00
borisneubert
c80b2f3164 *** empty log message ***
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@165 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-05-02 11:53:42 +00:00
martinhaas
ba341543f4 xBugfix: FHT: lime-protection not more in the field of actuator: Small Changes in fht.php
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@159 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-04-12 09:25:27 +00:00
borisneubert
38d4545397 93_DbLog.pm:
actuator: lime-protection is rewritten to new reading actuator-lime-protection


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@158 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-03-25 17:54:14 +00:00
borisneubert
68ab49daba fix for FS20 readings without value, e.g. on, off, dimup
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@156 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-03-24 21:37:20 +00:00
borisneubert
79e44f5dfc - bugfix: 62_EMEM.pm: changed reading energy_total_kWh to energy_kWh_w, added energy_kWh (formerly energy_total_kWh)
- changed em1010.pl accordingly, added em1000em doc for getDevStatus reply from device
 - minor changes in fhem.html


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@144 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-01-06 12:50:25 +00:00
borisneubert
b7c4e921bd added dblog/93_DbLog.pm and samples in contrib directory, commandref.html update
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@140 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2007-12-30 21:51:16 +00:00