Page 2 of 2

Re: btmon patch for emoncms 8.4

Posted: Fri Jun 05, 2015 9:13 am
by ben
You're better off using btmon.py, the problem is that you may lose data sending directly if the server goes down at any time (the GEM has to send out kWh/Watt values then reset the counters each time). Btmon.py uses the counters directly so if the server ever goes down, you'll at least still have kWh used between the 2 periods.

Might be an issue with data or a bug in the program, undefined offset means it's trying to check for a value that doesn't exist in an array. You have a set of numbers x = {1,2,3,4,...,10}, x[0] = 1, x[1] = 2, ... , x[9] = 10, it's trying to access a value like x[10] which is undefined in x.