jbrusey / cogent-house

Cogent House is a system for sensing temperature, humidity, CO2, Air Quality, VOC, hot water consumption, and electricity consumption within the home. It has been developed by the [http://cogentcomputing.org Cogent Computing Applied Research Centre] at Coventry University. Cogent House is developed using TinyOS and Python.
4 stars 2 forks source link

Error value overflows easily to inf #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. take node out of range for some number of iterations
2. bring node back in range
3. no data is stored by BaseLogger because there are errors storing a value 
with inf

Node code should not cause an overflow in error value - suggest that it looks 
for errcode % err^3 == 0 and if so, does not further add in the code

Original issue reported on code.google.com by james.br...@gmail.com on 16 Mar 2014 at 3:06

GoogleCodeExporter commented 9 years ago
Have coded a fix but it needs testing. 

Original comment by james.br...@gmail.com on 16 Mar 2014 at 9:57

GoogleCodeExporter commented 9 years ago
Fix has now been extensively tested.

Original comment by james.br...@gmail.com on 28 Mar 2014 at 9:23