2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
nasseeder1
59b01a61e2 93_DbLog: support of MariaDB driver and more, see Forum:#137480
git-svn-id: https://svn.fhem.de/fhem/trunk@28676 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2024-03-17 19:18:17 +00:00
nasseeder1
fe136dff34 db_create_mysql.sql: note for utf8mb4 (MySQL)
git-svn-id: https://svn.fhem.de/fhem/trunk@27240 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2023-02-16 21:48:55 +00:00
nasseeder1
0f2fee08cc db_create_mysql.sql: note for utf8mb4 (MySQL)
git-svn-id: https://svn.fhem.de/fhem/trunk@27232 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2023-02-15 20:10:53 +00:00
nasseeder1
4c1714106b db_create_mysql.sql: note for utf8mb4 (MySQL)
git-svn-id: https://svn.fhem.de/fhem/trunk@27231 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2023-02-15 20:08:04 +00:00
nasseeder1
3f325a9281 db_create_sqlite.sql: contrib update script for SQLite
git-svn-id: https://svn.fhem.de/fhem/trunk@27036 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2023-01-12 19:47:59 +00:00
nasseeder1
eb6e80827a db_create_postgresql.sql: typo fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@20063 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-08-26 16:16:53 +00:00
nasseeder1
c8f6b642cc DbLog: contrib db_create_mysql.sql
git-svn-id: https://svn.fhem.de/fhem/trunk@18451 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2019-01-29 22:07:13 +00:00
nasseeder1
6cadd0978d database create scripts changed in contrib/dblog (forum:#84419)
git-svn-id: https://svn.fhem.de/fhem/trunk@16242 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-02-22 08:43:10 +00:00
nasseeder1
9ba421fe12 93_DBLog: V.2.21.3, commandref revised
git-svn-id: https://svn.fhem.de/fhem/trunk@14779 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-07-24 20:08:53 +00:00
nasseeder1
08f67f0ca2 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@14749 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-07-19 20:50:46 +00:00
nasseeder1
3e7f9c492f 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@14548 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-06-20 20:46:20 +00:00
tobiasfaust
c339047fdd 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@12118 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-05 07:02:35 +00:00
tobiasfaust
04ca47aa52 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@3481 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-23 09:50:22 +00:00
markusbloch
3e135a6f46 grant update to fhemuser in mysql dblog creation
git-svn-id: https://svn.fhem.de/fhem/trunk@3195 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-18 17:08:13 +00:00
tobiasfaust
4e61a5d6d9 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@2976 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-24 12:44:46 +00:00
tobiasfaust
910e838c6e 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@2975 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-24 11:46:28 +00:00
johannnes
da1111a9dd 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@2770 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-19 19:28:47 +00:00
johannnes
60c73be6b8 added example configuration for SQLite
git-svn-id: https://svn.fhem.de/fhem/trunk@2769 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-19 19:17:03 +00:00
markusbloch
01d2ae9028 adding databasename to create statement
git-svn-id: https://svn.fhem.de/fhem/trunk@2644 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-03 21:00:18 +00:00
tobiasfaust
618987d581 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@2614 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-31 04:03:12 +00:00
tobiasfaust
3ceb74d984 BugFix über uninitialisierte Werte im fhemLog bei Nutzung von Plots über das DbLog
git-svn-id: https://svn.fhem.de/fhem/trunk@2371 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-28 07:10:28 +00:00
tobiasfaust
9ace861f17 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@2275 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-07 19:14:58 +00:00
tobiasfaust
7a5dbd4a8d - 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@2267 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-05 06:57:04 +00:00
tobiasfaust
547811b816 + 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@2206 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-27 17:52:54 +00:00
tobiasfaust
9e77743940 -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@2178 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-24 12:13:58 +00:00
tobiasfaust
701381d373 now added really the script to create the tables and indices for a postgresql database
git-svn-id: https://svn.fhem.de/fhem/trunk@2176 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-24 12:03:14 +00:00
tobiasfaust
b8278eabb1 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@2175 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-24 11:58:59 +00:00
borisneubert
1815f2e7a8 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@641 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2010-05-30 09:31:48 +00:00
mr_p
f34f5e4ddd 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@568 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2010-01-26 23:35:34 +00:00
borisneubert
7f24599c6a - 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@261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-11-02 18:04:33 +00:00
borisneubert
05a89888d8 - 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@166 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-05-02 14:05:41 +00:00
borisneubert
4a7c27ccf5 *** empty log message ***
git-svn-id: https://svn.fhem.de/fhem/trunk@165 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-05-02 11:53:42 +00:00
martinhaas
fee4c0bc81 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@159 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-04-12 09:25:27 +00:00
borisneubert
dd760af26f 93_DbLog.pm:
actuator: lime-protection is rewritten to new reading actuator-lime-protection


git-svn-id: https://svn.fhem.de/fhem/trunk@158 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-03-25 17:54:14 +00:00
borisneubert
9015763d8e fix for FS20 readings without value, e.g. on, off, dimup
git-svn-id: https://svn.fhem.de/fhem/trunk@156 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-03-24 21:37:20 +00:00
borisneubert
f693a6b452 - 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@144 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-01-06 12:50:25 +00:00
borisneubert
15f9963444 added dblog/93_DbLog.pm and samples in contrib directory, commandref.html update
git-svn-id: https://svn.fhem.de/fhem/trunk@140 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2007-12-30 21:51:16 +00:00