Commit graph

214 commits

Author SHA1 Message Date
55c3c008c0 Zutil changes and import optimizations 2016-02-19 20:29:47 +01:00
Daniel Collin
7a7d44de51 Resolved a trace where a timestamp had an faulty offset of -1 in the aggregation deamon 2016-02-19 10:22:33 +01:00
Daniel Collin
e4532031e3 Resolved a trace where a timestamp had an faulty offset of -1 in the aggregation deamon 2016-02-19 10:19:29 +01:00
Daniel Collin
5f5597dae4 Resolved a trace where a timestamp had an faulty offset of -1 in the aggregation deamon 2016-02-19 10:08:33 +01:00
Daniel Collin
6357e4519f Resolved bug where the chart is showing the start timestamp as the end timestamp. 2016-02-18 16:18:33 +01:00
Daniel Collin
776f09899d SensorDataAggreagtionDeamon fix+updates:
Added test code.
Updated some taces.
Resolved issue where the aggreagation deamon missed to aggregate the latest complete period.
2016-02-18 14:53:46 +01:00
Daniel Collin
77a2b9ccb4 Renamed Timeutility class to UTCTimeUtility
Added TimePeriod class for high level reprensentation of a period of time
2016-02-18 14:53:46 +01:00
f670d2ceb4 Fixed isse where group data was not copied for group events in Nexa. issue 12 2016-02-18 12:42:31 +01:00
Daniel Collin
8ca169a2ab Cpaitalized enum values + bug fix in the aggregation deamon 2016-02-17 13:49:00 +01:00
75d60d7f40 Implementation of group events done. issue 12 2016-02-17 10:11:54 +01:00
cf646bb340 Fixed TC and initial implementation of Nexa group transmissions. issue 12 2016-02-15 16:45:51 +01:00
b93c8bc124 Upgrade refactoring 2016-02-14 20:23:07 +01:00
4a9f08cbb7 small refactoring 2016-02-14 18:57:02 +01:00
08754d7adb Implemented more robust transmission detection for unregistered devices for tellstick. issue 16 2016-02-14 18:29:11 +01:00
69223eb7c1 Bugfix for bugfix 2016-02-14 17:13:44 +01:00
3a97a60965 Bug fix where there is no local user and some zutil updates 2016-02-14 17:06:03 +01:00
Daniel Collin
20c1f7df50 Major rework of TimeUtility and all funcionallity using it.
+ "Raw" data in the Power;Challenge page is now estimated to the "real" value.
+ Eclipse classpath cleanup
2016-02-12 15:26:06 +01:00
ed3497fba4 Added some interrupt code to arduino 2016-02-11 16:31:03 +01:00
22dbc6e7ae Removed unnecessary files
Former-commit-id: 70de9bddc93e6fc60f9882d102b27cb9aa1aca0e
2016-02-09 16:17:37 +01:00
Daniel Collin
54ea6d3c01 Resolving bug when calculating the start of an UTC week
Former-commit-id: 3e6b8124b4eecb0579894a78fe40715c3d2fe1ed
2016-02-09 16:15:58 +01:00
5a90e67222 Removed sphinx jar internal model files
Former-commit-id: 101c300271a0eccbf273399165ad3204f3145cf2
2016-02-09 16:00:06 +01:00
Daniel Collin
0340538d71 Bug fix: ant target clear-aggr-data-from-db had an SQL syntax error
Former-commit-id: 335e3550cea336411615108297b3068bf226d490
2016-02-09 15:37:42 +01:00
Daniel Collin
1182878809 Resolved issue where the aggregated weeks do not start at the correct point in time.
Former-commit-id: 278186f35cef87a3e4ca46ecf816d01338f6b104
2016-02-09 15:32:08 +01:00
Daniel Collin
14608d80eb Adding week aggregation with no age limit + small big fix where charts did cast all floating data points to int.
Former-commit-id: e8f027e2272271f1e54a5bb822529df7a8af6a6c
2016-02-09 12:43:28 +01:00
Daniel Collin
5352f876e9 If no database file is found during starup a new database will be created and upgraded to lastest version.
Former-commit-id: ac2718b6ca34511558369735a6b3d92d1e290f69
2016-02-05 15:48:42 +01:00
Daniel Collin
bc3c7edbc1 Resolved crash when there is no hal.db file present during upstart
Former-commit-id: c684641b9fcca9addf38328a4fca7d3ea4bf3e48
2016-02-05 10:15:10 +01:00
588507621a some arduino refactoring
Former-commit-id: f5b74a8a1f10400579ef2267f39a7a03f551ad27
2016-02-04 17:19:21 +01:00
bbb9996d56 Added deletion of owned sensors when deleting a user and updated some traces. issue 17
Former-commit-id: 460f4058c97f2e48a16b7cb25fe8164d4a089061
2016-02-04 13:55:21 +01:00
afca115553 small refactoring
Former-commit-id: 4294250a28aa0f0c3ed4078ec38ea2a3902c73fb
2016-02-04 13:24:38 +01:00
68707cbb35 bugfix for registring new and deregistring events and sensors. issue 20
Former-commit-id: 449c61f21e10c502a76828749bb48a2ef7b9afe3
2016-02-03 17:32:02 +01:00
946511aaab updated logging
Former-commit-id: b1bec201615fac36b7aa553fe806bc68535ac0ed
2016-02-03 17:10:20 +01:00
Daniel Collin
5fdb307f85 Suppressed logging for zutil.db.bean to log level INFO
Former-commit-id: 4de37284177d642635a6db80f89643fad3d4c48a
2016-02-03 12:00:30 +01:00
1e0caa491e small logging changes
Former-commit-id: 0c9cbf02ef4ed6b78e50f5caf319bf8d8f28be7b
2016-02-03 11:12:11 +01:00
Daniel Collin
9ad207460b Resoving issue where stack traces do not contain the source line
Former-commit-id: 3479d3df605ec48b4364d04fa8bb90de86b6f383
2016-02-03 10:13:39 +01:00
Daniel Collin
d36370b212 Bug fix + incremented the sync deamon protocol version
Former-commit-id: 00a8667aed6d844df3b4ab7e2e0df2530f1f38b5
2016-02-02 15:43:17 +01:00
Daniel Collin
84fba20500 Bug fix.
Former-commit-id: 79a19214015b2d284c63773746a46707891335b8
2016-02-02 14:33:02 +01:00
Daniel Collin
ea5c991824 Optimized data aggregation.
- All aggregation use only the raw data as input.
- Only produce aggregated data that will show in a chart (less work after clearing the sensor_data_aggr table).
- Adding version handling of data aggregation to secure that the peer has up to date data.
- New db version: 6 - Adding sensor.aggr_version(int, default=1), will clear sensor_data_aggr for local sensors


Former-commit-id: cbf5a890a5058791b443e975048db13f6ac4c9fe
2016-02-02 14:26:16 +01:00
a6f8cf872a Initial structure for HalMultiSensor
Former-commit-id: 22bc809d9e6de8a2994f1df699ae74bb7245378f
2016-02-01 17:53:36 +01:00
Daniel Collin
70b1608dd8 Bug fix for the archtech protocol.
Former-commit-id: a432362fdfa1d8b95d32fe72930006302d113ea1
2016-01-31 22:14:08 +01:00
Daniel Collin
efadc097ce ArduinoTellstick bug fixes. now the nexa part is working
Former-commit-id: 3e462e990cc25d1b54c38ca729922392aca97c05
2016-01-31 09:47:59 +01:00
Daniel Collin
41ebf9ac30 Bug fixes for Raspberry sensors
Former-commit-id: 59e5c0f293850c14bc500643908262bde02dfa7f
2016-01-30 22:25:19 +01:00
279c5deeb0 disabled GBC for DBBean
Former-commit-id: a8789efa45a0a034a466a779552ec30aabaa54da
2016-01-29 14:47:59 +01:00
Daniel Collin
2169ee4de5 Bug fix. The Raspberry plugin did not have an empty constructor
Former-commit-id: a8eb62cf5552bf395c3faed05b883cff5217786f
2016-01-29 14:15:18 +01:00
Daniel Collin
1c23a7c360 Added oregon v2.1 support to ArduinoTellstick along with some code cleanup
Former-commit-id: d05ee71fa4f2f91afd6452e894385bbcd7020917
2016-01-29 14:14:21 +01:00
c2d03347ca small refactoring
Former-commit-id: 76cf6d11dc8f67469af705755238d86c77fd3b05
2016-01-29 11:11:09 +01:00
51b549528c bug fix where aggr was crashing when no user whas assigned to a sensor
Former-commit-id: f5d59c67752f24f9834e457211e4c155d3dc4b5b
2016-01-29 09:41:14 +01:00
3e9d255532 Better exception logging
Former-commit-id: 656f45de3ad89a53068e37d75b24297f7dbff446
2016-01-29 09:25:21 +01:00
2f934e6b43 nexa bug fix
Former-commit-id: 58df8afaf17b10ae6f71a80715324de34f4a5d87
2016-01-25 21:33:57 +01:00
eceafa762c Tellstic event bugfix. issue 15
Former-commit-id: eed3e3bacbb7adfb27f31f4f1c3a47f1b6e884fd
2016-01-25 20:53:19 +01:00
ff9709b6d2 Small changes to detail pages and change tellstick plugin to write in UTF-8
Former-commit-id: 90320b2bd13c134c0e3ec447759443af3303de42
2016-01-25 16:20:16 +01:00