Commit graph

154 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
fc41b60386 Added relative timestamps
Former-commit-id: 5ea7e7519cbe1059d9595a82229b7c7de3ef17bf
2016-01-24 17:37:32 +01:00
73ac1f8208 bug fix where pre and post conf actions where reversed
Former-commit-id: ac688ff189cf02b0f013a9280b1d5beae49e7c2b
2016-01-23 01:22:13 +01:00
aefb0054a0 Sorted overviw raw data display
Former-commit-id: 61bec940fbcded38471094b106c73597d2d26368
2016-01-22 21:18:07 +01:00
5a4107f60f Fixed config page bugs
Former-commit-id: cd32facd6e679eb9a66b294d4011da8eb801fd00
2016-01-22 20:48:29 +01:00
09d59635c3 detected device bug fix
Former-commit-id: f56ddf18a7db16ef07874aceb1d49b7aa4b1bcdd
2016-01-22 20:28:05 +01:00
9961c423a3 Added graph to sensor detail page. Also added missed morris.css file . issue 7
Former-commit-id: 3b2403a46aa58f3937efc345bc6a022e4deb2da5
2016-01-22 19:34:55 +01:00
25693209b5 Refactored aggregate data retrieval
Former-commit-id: 2b109840dac3ceb7270eb5b176a8074e30d9c9df
2016-01-22 17:54:21 +01:00
113bbdbfb8 Added Sensor overview page. issue 7
Former-commit-id: 60dec1d1a95f568404371ecd3c2cc38bc8a4a355
2016-01-22 17:54:18 +01:00
da24ffb822 Events can now be changed in overview page. issue 5
Former-commit-id: 31060a25e584ab277f222dae21bc7a938ec83b1b
2016-01-22 15:46:09 +01:00
87913dfd28 Added Event overview page. issue 5
Former-commit-id: 6ee75491189dc68b53b928436ef5d06a81b81568
2016-01-22 10:52:28 +01:00
afcad4b31f Alerts are now dismissible. [issue 3]
Former-commit-id: a14d76e8da8aac6139dd1e130a9d0be63205a7ea
2016-01-21 10:32:01 +01:00
86bf95d417 Implementation of gui alerts (not dissmissable yet). issue 9
Former-commit-id: 3184c884854a7db76467ab6e7310ce7dea951c39
2016-01-20 17:05:18 +01:00
a45482b92e ControllerManager has now a limbo state for Events and Sensors where they are put during their reconfiguration. Fixing issue 3
Former-commit-id: 39762fb39cd2bb68e903392ffdefd4b8f356e54f
2016-01-20 13:42:38 +01:00
Daniel Collin
e9d32dcc30 Implemented HalSensorController and HalSensorData RPiPowerConsumptionSensor
+ Added RPiTemperatureSensor
+ Updated pi4j-1.0 to pi4j-1.1-SNAPSHOT that includes support for 1-Wire communication and various sensors.


Former-commit-id: 6db4193283bf3fc604fcf250d7a321ba8b70b6a4
2016-01-19 13:53:54 +01:00
3884634590 added flush to sync daemons
Former-commit-id: ddc04e046dc645f677dc182132f985708551bfc5
2016-01-18 17:12:32 +01:00
1f7090200a Removed hard coded users in PCOverview
Former-commit-id: 2a6372ac048c09a2ad201c491d7ffc3dc37025e5
2016-01-18 16:54:10 +01:00
440cc1ec62 Added protocol version check
Former-commit-id: b8a86baa0586c8c87cd92be16789295848c45799
2016-01-18 16:43:03 +01:00
9f9d0e73ee Renamed getAllUsers to getUsers
Former-commit-id: 25666b0e14f38fa10625bc62460bc744be85736b
2016-01-18 15:30:29 +01:00
Daniel Collin
fa719a8b18 Resolved bug where external sensors data were deleted
Former-commit-id: 64ef329e3f1924629fe760cc3df8f324f67c04a9
2016-01-18 15:07:05 +01:00
Daniel Collin
9ee2a788ce Resolved bug where the web charts do not have any gaps when more than one sensor is printed.
Former-commit-id: bd4570203b8b0bfd9333ef23b9110654a8977ccc
2016-01-18 15:04:42 +01:00
42064e5209 Configuration of Events and Sensors are working with dynamic forms
Former-commit-id: ff81dee3365eee865099badc73ca70bc7cb222c6
2016-01-18 13:09:28 +01:00
02e15810ec Device data object are configurable from web but is not visualized correctly
Former-commit-id: a960f1bb610cb1dbbbc76826d15bdb4c6e90c984
2016-01-15 17:04:53 +01:00
1e4bc587bc some improvements
Former-commit-id: d617fda63304602d5db63711ca7bc70d4d27e51e
2016-01-15 14:00:41 +01:00
6e6cae0427 sync bug fix
Former-commit-id: 119b858e73eafa2be8c0dcde46b1ac24feae5e5b
2016-01-15 13:43:30 +01:00
8b42e5bbc9 more bug fixes
Former-commit-id: 8655ac0c062e08d254975942048c82df98a597c2
2016-01-15 13:18:09 +01:00
1e97a4705e more bug fixes
Former-commit-id: a4f546cb05437083e11ada63a9ff1b5b86620ca9
2016-01-15 11:07:57 +01:00