]>
pilppa.com Git - lib1wire.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mika Laitio [Wed, 26 Jan 2011 00:33:37 +0000 (02:33 +0200)]
Implemented yearly calculations for min, max, mean, delta and sum
functions with cache support.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Tue, 25 Jan 2011 21:26:38 +0000 (23:26 +0200)]
Added support for cacheing monthly data.
Fixed various small errors in initial calculations.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Mon, 24 Jan 2011 19:40:41 +0000 (21:40 +0200)]
cleanups for log messages.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Sun, 23 Jan 2011 22:23:18 +0000 (00:23 +0200)]
Started adding support for caches when reading data. Cache files for
daily data calculations works already. (Cache done during first
calculation when the cache does not yet exist.)
Cache does not yet handle situations if the daily data is updated once
the cached value has been calculated.
Memory leak fixes and api changes.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Thu, 6 Jan 2011 10:35:07 +0000 (12:35 +0200)]
W1Store --> Store...
Prepare non-w1 functionality be separated from the w1 specific one.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Thu, 6 Jan 2011 10:12:56 +0000 (12:12 +0200)]
Use pointers in date comparison functions.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Thu, 6 Jan 2011 09:53:29 +0000 (11:53 +0200)]
support for sum, min and max queryes from the collected data.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Sun, 2 Jan 2011 22:40:20 +0000 (00:40 +0200)]
Support for setting and reading device name from config file.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Sun, 2 Jan 2011 22:20:41 +0000 (00:20 +0200)]
Bug fix for counter device data saving.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Sun, 2 Jan 2011 21:15:05 +0000 (23:15 +0200)]
Refactoring and fixes.
- File where to save data item is checked for each file separately. (Old
versions had a bug that if there were data in save cache from multiple
days (before and after day change), all data were saved to previous
days file.
- Data datatype refactoring, values are stored now in double array,
instead of storing them internally to serialized string.
- Memory leak fixes
- Refactoring
- TODO: Caching objects in Factory class, caching serialized data string
until values are changed.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Mon, 27 Dec 2010 17:21:07 +0000 (19:21 +0200)]
cleanups, renamed get_*_values functions to get_*_data
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Mon, 27 Dec 2010 16:47:03 +0000 (18:47 +0200)]
Several data read and store fixes.
Fix for "month" number in month folder and file-names when storing data.
Fixes for reading data, when the file containing data can not be opened.
Memory leak fixes.
Hourly data read fixes.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Sun, 26 Dec 2010 13:41:23 +0000 (15:41 +0200)]
Support for querying the list devices having data stored.
Also refactored the code, removed W1Scanner and moved that functionality
to Factory.hh
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Wed, 22 Dec 2010 00:15:37 +0000 (02:15 +0200)]
Support for seting and changing values from device specific config
files.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Wed, 22 Dec 2010 00:03:14 +0000 (02:03 +0200)]
Initial support for reading and writing device specific config data.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Fri, 10 Dec 2010 16:16:30 +0000 (18:16 +0200)]
Year fix when for Date function.
time-function return years since 1900, so add 1900 to years in Date
function constructor.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Thu, 9 Dec 2010 21:55:27 +0000 (23:55 +0200)]
add min,max,mean,sum and delta calculations for stored data.
add functions for calculating from the datarange the min, max, mean, sum
and delta values... Configuration options still missing to make this
really usefull.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Thu, 9 Dec 2010 17:31:32 +0000 (19:31 +0200)]
initial device configuration support.
started adding support device configuration data.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Thu, 9 Dec 2010 17:00:57 +0000 (19:00 +0200)]
W1Store api cleanup for dir and file functions.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Thu, 9 Dec 2010 16:45:27 +0000 (18:45 +0200)]
Optimisations and cleanups
- nicer printout for dates
- store data read cleanups
- new method: get_oldest_and_newest_data
- rewrote other methods to use cached data if possible
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Thu, 9 Dec 2010 15:17:14 +0000 (17:17 +0200)]
code cleanup instruction update
changed instructions to use "make maintainer-clean" instead of
"make distclean".
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Thu, 9 Dec 2010 00:22:49 +0000 (02:22 +0200)]
started adding support for reading average and sum data...
Mika Laitio [Sun, 28 Nov 2010 11:42:37 +0000 (13:42 +0200)]
renamed the test_w1 to test_w1_datalog_write
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Sun, 28 Nov 2010 11:37:11 +0000 (13:37 +0200)]
Initial support for reading log-data.
It is now possible also to query the stored data for sensors.
The directory structure for storing and reading data was changed
from the previous version.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Mon, 1 Nov 2010 17:35:01 +0000 (19:35 +0200)]
.pc file update
Mika Laitio [Sun, 31 Oct 2010 23:20:43 +0000 (01:20 +0200)]
store each days file separately to year/month/id_year-month-day.txt subdir. Fix also duplicate data error
Mika Laitio [Sun, 31 Oct 2010 11:15:10 +0000 (13:15 +0200)]
add support for specifying scan interval and store interval in test app
Mika Laitio [Sat, 30 Oct 2010 23:24:34 +0000 (02:24 +0300)]
increased the storage intervals from test application
Mika Laitio [Sat, 30 Oct 2010 23:15:50 +0000 (02:15 +0300)]
storage data cleanup. allow specifying storage dir location
Mika Laitio [Sat, 30 Oct 2010 18:06:41 +0000 (21:06 +0300)]
fix the parsing of counter value
Mika Laitio [Sat, 30 Oct 2010 14:19:42 +0000 (17:19 +0300)]
added W1CounterDevice
Mika Laitio [Thu, 28 Oct 2010 21:33:23 +0000 (00:33 +0300)]
version 0.1.0
Mika Laitio [Thu, 28 Oct 2010 21:32:08 +0000 (00:32 +0300)]
dependency fix
Mika Laitio [Thu, 28 Oct 2010 21:26:46 +0000 (00:26 +0300)]
formatting fixes
Mika Laitio [Sat, 23 Oct 2010 09:28:20 +0000 (12:28 +0300)]
formating fixes for celcius values
Mika Laitio [Sat, 23 Oct 2010 08:51:26 +0000 (11:51 +0300)]
add support for storing data to text file periodically
Mika Laitio [Sat, 23 Oct 2010 06:56:56 +0000 (09:56 +0300)]
removed omniorb dependency (until is's really needed)
Mika Laitio [Fri, 22 Oct 2010 23:22:14 +0000 (02:22 +0300)]
initial version