2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 13:29:26 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
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