mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
4e61a5d6d9
- 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 |
||
---|---|---|
.. | ||
93_DbLog.pm | ||
db_create_mysql.sql | ||
db_create_postgresql.sql | ||
db_create_sqlite.sql | ||
db.conf | ||
fhemdb_get.pl | ||
README |
For usage instruction see commandref.html, section define 2007-12-30bn - 93_DbLog.pm copy this file into <modpath>/FHEM - db.conf sample database configuration file - fhemdb_create.sql sample sql command to create a mysql database for logging purposes - fhemdb_get.pl sample perl script for retrieving the current (latest) data from the logging database