BTMon dies

Post any 3rd party software here.
Tirnanah
Posts: 60
Joined: Fri Jun 03, 2011 1:48 am

BTMon dies

Post by Tirnanah » Fri Jan 18, 2013 5:52 pm

Again, thanks for the great software Matt. This is so handy to push things where I need them. I'm one error away from convincing my SQL Server to talk to my MySQL database :)

I'm having a slight issue that btmon runs for a while, then it just dies. It stops pushing out messages (I'm just running it from the command line as: ./btmon.py -c config.cfg ) and watching the output. I can sit here and watch it run for about an hour, then it just stops posting information. No error, no crash message, nothing.

Is there something that could be hitting a buffer limit, or something I could have set up wrong? Or a python limitation I'm hitting? I will eventually set it up run in the background, but for now this works also...

Thanks!
Doug
mwall
Posts: 140
Joined: Wed Dec 07, 2011 6:25 pm

Re: BTMon dies

Post by mwall » Fri Jan 18, 2013 6:10 pm

try running it with debug enabled - that might provide additional clues.

are you talking to an ecm-1240, ecm-1220, or gem? via serial, wired tcp/ip, wireless, zigbee?

what platform/os are you running on? which python version?

i am working on a minor update to btmon that improves behavior on flaky networks. for example, btmon 3.0.5 will probably fail to reconnect when talking to a gem via wiznet and the network connection drops for more than a few seconds.

fwiw, i have many instances of btmon running for 3 to 6 months non-stop on an arm-based plug computer running debian. so far no signs of memory leaks - memory use ranges from 8M to 32M per instance of btmon (depending on buffer size and number of channels).
Tirnanah
Posts: 60
Joined: Fri Jun 03, 2011 1:48 am

Re: BTMon dies

Post by Tirnanah » Fri Jan 18, 2013 6:17 pm

mwall wrote:try running it with debug enabled - that might provide additional clues.
I will kill it and start it with debug.
mwall wrote: Are you talking to an ecm-1240, ecm-1220, or gem? via serial, wired tcp/ip, wireless, zigbee?
GEM over wired tcp/ip.
mwall wrote: what platform/os are you running on? which python version?
Ubuntu Server (whatever the most recent is). Python 2.7
mwall wrote: i am working on a minor update to btmon that improves behavior on flaky networks. for example, btmon 3.0.5 will probably fail to reconnect when talking to a gem via wiznet and the network connection drops for more than a few seconds.

fwiw, i have many instances of btmon running for 3 to 6 months non-stop on an arm-based plug computer running debian. so far no signs of memory leaks - memory use ranges from 8M to 32M per instance of btmon (depending on buffer size and number of channels).
Other then this minor issue, which really is minor, this works absolutely wonderful. I don't know python very well, so I mostly just wanted to verify that it wasn't a known issue.

Another very minor issue is that it tries to create the database every time it starts. I haven't dug into that part of the code to make sure it's not just a backwards if somewhere. It just errors and goes on, so no biggie.

Thanks,
Doug
Tirnanah
Posts: 60
Joined: Fri Jun 03, 2011 1:48 am

Re: BTMon dies

Post by Tirnanah » Fri Jan 18, 2013 6:22 pm

Also, just a side note, THANK YOU for writing such easy to read code. It's so much nicer then some of the junk I have to look at for work that I don't have a clue how they can debug it or even read it at all. I spend many hours reformatting code, and I haven't had to for ANY of yours.

Thanks!!!
Doug
mwall
Posts: 140
Joined: Wed Dec 07, 2011 6:25 pm

Re: BTMon dies

Post by mwall » Fri Jan 18, 2013 7:10 pm

Tirnanah wrote: Another very minor issue is that it tries to create the database every time it starts. I haven't dug into that part of the code to make sure it's not just a backwards if somewhere. It just errors and goes on, so no biggie.
this is a case of LBYL vs EAFP. it is just as easy to try and create the database as it is to query to see if the database is already there. unfortunately the message looks like an error, when in fact it is benign.
Tirnanah
Posts: 60
Joined: Fri Jun 03, 2011 1:48 am

Re: BTMon dies

Post by Tirnanah » Fri Jan 25, 2013 5:09 pm

So I've completely redone the GEM (as far as cabling to and from it) as I was moving it, turned btmon back on. It looks like it successfully sends the first packet, then never sucessfully sends any packet after that first one. It does seem to continue to load in the database correctly.

I did notice that it while it sends more then 1 set of data to SEG, it does not send the site ID a second time. Is that correct? Also, what output can I provide that would help debug this? The only thing that I changed was to remove the obfuscatation of the node ID.

I guess I could create a new site and point it to that and see if it gets more then the first packet.

Hrm, as always, thank you so much for your help and the awesome script.

Thanks,
Doug
mwall
Posts: 140
Joined: Wed Dec 07, 2011 6:25 pm

Re: BTMon dies

Post by mwall » Fri Jan 25, 2013 5:45 pm

is the gem in real-time mode? how often does it send packets?

normal behavior will be to collect packets from the GEM for awhile, then once per minute upload the packets to SEG.

run btmon with the --debug option. you should see output something like this:

Code: Select all

2013/01/25 17:40:34 device type: gem
2013/01/25 17:40:34 device list: ['']
2013/01/25 17:40:34 packet format: gem48ptbin
2013/01/25 17:40:34 schema: counters
2013/01/25 17:40:34 buffer size: 120
2013/01/25 17:40:34 SOCKET: timeout: 60
2013/01/25 17:40:34 SOCKET: server host: 192.168.32.92
2013/01/25 17:40:34 SOCKET: server port: 5000
2013/01/25 17:40:34 SEG: upload period: 60
2013/01/25 17:40:34 SEG: url: http://api.smartenergygroups.com/api_sites/stream
2013/01/25 17:40:34 SEG: token: XXXXXXXXX
2013/01/25 17:40:34 SEG: map: 00000048_ch31,c21,00000048_ch32,C22,00000048_t1,t1
2013/01/25 17:40:34 packet format is GEM48PTBinaryPacket
2013/01/25 17:40:34 using collector BlockingSocketClientCollector
2013/01/25 17:40:34 using 1 processors:
2013/01/25 17:40:34   SmartEnergyGroupsProcessor
2013/01/25 17:40:34 setup BlockingSocketClientCollector
2013/01/25 17:40:34 setup SmartEnergyGroupsProcessor
2013/01/25 17:40:34 waiting for data from device
2013/01/25 17:40:34 opening socket connection to 192.168.32.92:5000
2013/01/25 17:40:34 reading 1 of 1 packets
2013/01/25 17:40:43 adding buffer for 00000048
2013/01/25 17:40:43 buffering packet ts:1359153643 sn:00000048
2013/01/25 17:40:43 buffer info:
2013/01/25 17:40:43   00000048:   1 of 120 (1359153643)
2013/01/25 17:40:43 processing with SmartEnergyGroupsProcessor
2013/01/25 17:40:43 not enough data for 00000048
2013/01/25 17:40:43 waiting for data from device
2013/01/25 17:40:43 reading 1 of 1 packets
2013/01/25 17:40:53 buffering packet ts:1359153653 sn:00000048
2013/01/25 17:40:53 buffer info:
2013/01/25 17:40:53   00000048:   2 of 120 (1359153653)
2013/01/25 17:40:53 processing with SmartEnergyGroupsProcessor
2013/01/25 17:40:53 2 buffered packets sn:00000048
2013/01/25 17:40:53 1 calculated packets sn:00000048
2013/01/25 17:40:53 SmartEnergyGroupsProcessor: url: http://api.smartenergygroups.com/api_sites/stream
  headers: {'User-agent': 'btmon/3.0.6'}
  data: data_post=(site XXXXXXXXX (node XXX048 2013-01-25T22:40:53Z (p_c21 -0.00)(e_c21 0.00000)(p_c22 258.10)(e_c22 0.71694)(temperature_t1 16.00)))
2013/01/25 17:40:54 SmartEnergyGroupsProcessor: 49B url, 147B payload
2013/01/25 17:40:54 SmartEnergyGroupsProcessor: url: http://api.smartenergygroups.com/api_sites/stream
  response: Server: nginx/0.7.65
Date: Fri, 25 Jan 2013 22:40:54 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Status: 200 OK
X-Runtime: 30
Cache-Control: no-cache

2013/01/25 17:40:54 waiting for data from device
2013/01/25 17:40:54 reading 1 of 1 packets
2013/01/25 17:41:03 buffering packet ts:1359153663 sn:00000048
2013/01/25 17:41:03 buffer info:
2013/01/25 17:41:03   00000048:   3 of 120 (1359153663)
2013/01/25 17:41:03 processing with SmartEnergyGroupsProcessor
2013/01/25 17:41:03 waiting 50 seconds to process packets for 00000048
2013/01/25 17:41:03 waiting for data from device
2013/01/25 17:41:03 reading 1 of 1 packets
...
Last edited by mwall on Fri Jan 25, 2013 5:56 pm, edited 3 times in total.
mwall
Posts: 140
Joined: Wed Dec 07, 2011 6:25 pm

Re: BTMon dies

Post by mwall » Fri Jan 25, 2013 5:48 pm

Tirnanah wrote:I did notice that it while it sends more then 1 set of data to SEG, it does not send the site ID a second time. Is that correct?
The site ID should be sent with each posting to SEG - that is how the data are identified. The posting will look something like this:

Code: Select all

data_post=(site XXXXXXXXX (node XXX048 2013-01-25T22:40:53Z (p_c21 -0.00)(e_c21 0.00000)
Tirnanah
Posts: 60
Joined: Fri Jun 03, 2011 1:48 am

Re: BTMon dies

Post by Tirnanah » Fri Jan 25, 2013 5:56 pm

It looks right to me, but here's the output between it getting information and trying to post it. These packets never made it to SEG. Maybe you can see something I'm missing?

Thanks,
Doug

Code: Select all

2013/01/25 12:58:15 processing with SmartEnergyGroupsProcessor
2013/01/25 12:58:15 7 buffered packets sn:XXXXXXXX
2013/01/25 12:58:15 6 calculated packets sn:XXXXXXX
2013/01/25 12:58:15 SmartEnergyGroupsProcessor: url: http://api.smartenergygroups.com/api_sites/stream
  headers: {'User-agent': 'btmon/3.0.5'}
  data: data_post=(site XXXXXXXXX (node gem 2013-01-25T21:57:25Z (p_ch1 486.10)(e_ch1 1.35028)(p_ch2 445.00)(e_ch2 1.23611)(p_ch3 0.20)(e_ch3 -0.00000)(p_ch4 1.30)(e_ch4 0.00361)(p_ch5 6.20)(e_ch5 0.01722)(p_ch6 1.60)(e_ch6 0.00444)(p_ch7 0.30)(e_ch7 0.00083)(p_ch8 -0.10)(e_ch8 -0.00028)(p_ch9 0.50)(e_ch9 0.00139)(p_ch10 14.50)(e_ch10 0.04028)(p_ch11 0.50)(e_ch11 -0.00028)(p_ch12 -0.20)(e_ch12 -0.00056)(p_ch13 124.20)(e_ch13 0.34500)(p_ch14 -0.50)(e_ch14 -0.00139)(p_ch15 94.30)(e_ch15 0.26194)(p_ch16 5.70)(e_ch16 0.01583)(p_ch17 32.20)(e_ch17 0.08944)(p_ch18 0.10)(e_ch18 0.00028)(p_ch19 4.40)(e_ch19 0.01222)(p_ch20 293.50)(e_ch20 0.81528)(p_ch21 352.40)(e_ch21 0.97889)(p_ch22 43.50)(e_ch22 0.12083)(p_ch23 -0.00)(e_ch23 0.00000)(p_ch24 0.50)(e_ch24 0.00139)(p_ch25 58.80)(e_ch25 0.16333)(p_ch26 193.80)(e_ch26 0.53833)(p_ch27 351.30)(e_ch27 0.97583)(p_ch28 0.20)(e_ch28 0.00056)(p_ch29 -1.70)(e_ch29 -0.00472)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:57:35Z (p_ch1 485.60)(e_ch1 1.34889)(p_ch2 444.50)(e_ch2 1.23472)(p_ch3 -0.00)(e_ch3 -0.00000)(p_ch4 1.30)(e_ch4 0.00361)(p_ch5 5.90)(e_ch5 0.01639)(p_ch6 1.30)(e_ch6 0.00361)(p_ch7 0.50)(e_ch7 0.00083)(p_ch8 -0.00)(e_ch8 0.00000)(p_ch9 0.70)(e_ch9 0.00194)(p_ch10 14.80)(e_ch10 0.04111)(p_ch11 -0.00)(e_ch11 0.00000)(p_ch12 0.40)(e_ch12 -0.00056)(p_ch13 124.00)(e_ch13 0.34444)(p_ch14 -0.40)(e_ch14 -0.00111)(p_ch15 94.30)(e_ch15 0.26194)(p_ch16 6.30)(e_ch16 0.01750)(p_ch17 31.90)(e_ch17 0.08861)(p_ch18 -0.20)(e_ch18 -0.00056)(p_ch19 4.50)(e_ch19 0.01250)(p_ch20 292.80)(e_ch20 0.81333)(p_ch21 352.80)(e_ch21 0.98000)(p_ch22 44.00)(e_ch22 0.12222)(p_ch23 0.20)(e_ch23 0.00000)(p_ch24 0.30)(e_ch24 0.00083)(p_ch25 58.60)(e_ch25 0.16278)(p_ch26 193.30)(e_ch26 0.53694)(p_ch27 351.50)(e_ch27 0.97639)(p_ch28 0.60)(e_ch28 0.00167)(p_ch29 -1.40)(e_ch29 -0.00389)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:57:45Z (p_ch1 485.40)(e_ch1 1.34833)(p_ch2 445.90)(e_ch2 1.23861)(p_ch3 -0.00)(e_ch3 -0.00000)(p_ch4 1.60)(e_ch4 0.00444)(p_ch5 6.10)(e_ch5 0.01694)(p_ch6 1.80)(e_ch6 0.00500)(p_ch7 0.30)(e_ch7 0.00083)(p_ch8 -0.00)(e_ch8 0.00000)(p_ch9 0.70)(e_ch9 0.00194)(p_ch10 14.90)(e_ch10 0.04139)(p_ch11 0.20)(e_ch11 0.00056)(p_ch12 0.30)(e_ch12 -0.00028)(p_ch13 123.90)(e_ch13 0.34417)(p_ch14 -0.90)(e_ch14 -0.00250)(p_ch15 95.00)(e_ch15 0.26389)(p_ch16 5.70)(e_ch16 0.01583)(p_ch17 32.10)(e_ch17 0.08917)(p_ch18 -0.30)(e_ch18 -0.00083)(p_ch19 4.60)(e_ch19 0.01278)(p_ch20 293.70)(e_ch20 0.81583)(p_ch21 353.20)(e_ch21 0.98111)(p_ch22 43.50)(e_ch22 0.12083)(p_ch23 -0.00)(e_ch23 0.00000)(p_ch24 0.50)(e_ch24 0.00139)(p_ch25 58.70)(e_ch25 0.16306)(p_ch26 194.20)(e_ch26 0.53944)(p_ch27 351.50)(e_ch27 0.97639)(p_ch28 0.10)(e_ch28 0.00028)(p_ch29 -1.10)(e_ch29 -0.00306)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:57:55Z (p_ch1 486.20)(e_ch1 1.35056)(p_ch2 375.10)(e_ch2 1.04194)(p_ch3 -0.10)(e_ch3 -0.00028)(p_ch4 1.40)(e_ch4 0.00389)(p_ch5 6.30)(e_ch5 0.01750)(p_ch6 1.30)(e_ch6 0.00361)(p_ch7 0.30)(e_ch7 0.00028)(p_ch8 -0.10)(e_ch8 -0.00028)(p_ch9 1.00)(e_ch9 0.00278)(p_ch10 14.30)(e_ch10 0.03972)(p_ch11 -0.00)(e_ch11 -0.00000)(p_ch12 -0.20)(e_ch12 -0.00056)(p_ch13 124.00)(e_ch13 0.34444)(p_ch14 -0.70)(e_ch14 -0.00194)(p_ch15 20.80)(e_ch15 0.05778)(p_ch16 5.80)(e_ch16 0.01611)(p_ch17 31.80)(e_ch17 0.08833)(p_ch18 0.10)(e_ch18 0.00028)(p_ch19 4.60)(e_ch19 0.01278)(p_ch20 293.20)(e_ch20 0.81444)(p_ch21 353.50)(e_ch21 0.98194)(p_ch22 43.60)(e_ch22 0.12111)(p_ch23 0.10)(e_ch23 0.00028)(p_ch24 0.40)(e_ch24 0.00111)(p_ch25 59.00)(e_ch25 0.16389)(p_ch26 192.90)(e_ch26 0.53583)(p_ch27 352.00)(e_ch27 0.97778)(p_ch28 0.10)(e_ch28 0.00028)(p_ch29 -1.50)(e_ch29 -0.00417)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:58:05Z (p_ch1 485.60)(e_ch1 1.34889)(p_ch2 363.60)(e_ch2 1.01000)(p_ch3 -0.00)(e_ch3 0.00000)(p_ch4 1.10)(e_ch4 0.00306)(p_ch5 6.50)(e_ch5 0.01806)(p_ch6 1.10)(e_ch6 0.00306)(p_ch7 0.40)(e_ch7 0.00111)(p_ch8 0.10)(e_ch8 0.00028)(p_ch9 0.50)(e_ch9 0.00139)(p_ch10 14.30)(e_ch10 0.03972)(p_ch11 -0.00)(e_ch11 -0.00000)(p_ch12 -0.10)(e_ch12 -0.00028)(p_ch13 123.70)(e_ch13 0.34361)(p_ch14 -0.70)(e_ch14 -0.00194)(p_ch15 8.30)(e_ch15 0.02306)(p_ch16 6.20)(e_ch16 0.01722)(p_ch17 31.40)(e_ch17 0.08722)(p_ch18 -0.00)(e_ch18 0.00000)(p_ch19 4.80)(e_ch19 0.01333)(p_ch20 295.30)(e_ch20 0.82028)(p_ch21 352.90)(e_ch21 0.98028)(p_ch22 44.10)(e_ch22 0.12250)(p_ch23 0.10)(e_ch23 0.00028)(p_ch24 0.20)(e_ch24 0.00056)(p_ch25 58.50)(e_ch25 0.16250)(p_ch26 195.60)(e_ch26 0.54333)(p_ch27 352.00)(e_ch27 0.97778)(p_ch28 -0.00)(e_ch28 0.00000)(p_ch29 -0.90)(e_ch29 -0.00250)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:58:15Z (p_ch1 485.80)(e_ch1 1.34944)(p_ch2 363.50)(e_ch2 1.00972)(p_ch3 0.10)(e_ch3 0.00028)(p_ch4 1.30)(e_ch4 0.00361)(p_ch5 6.20)(e_ch5 0.01722)(p_ch6 0.90)(e_ch6 0.00250)(p_ch7 0.20)(e_ch7 0.00056)(p_ch8 0.10)(e_ch8 0.00028)(p_ch9 0.50)(e_ch9 0.00139)(p_ch10 14.50)(e_ch10 0.04028)(p_ch11 0.10)(e_ch11 0.00028)(p_ch12 0.10)(e_ch12 0.00028)(p_ch13 123.90)(e_ch13 0.34417)(p_ch14 -0.60)(e_ch14 -0.00167)(p_ch15 8.50)(e_ch15 0.02361)(p_ch16 6.30)(e_ch16 0.01750)(p_ch17 32.70)(e_ch17 0.09083)(p_ch18 -0.00)(e_ch18 0.00000)(p_ch19 4.10)(e_ch19 0.01139)(p_ch20 295.30)(e_ch20 0.82028)(p_ch21 353.30)(e_ch21 0.98139)(p_ch22 43.80)(e_ch22 0.12167)(p_ch23 0.10)(e_ch23 0.00028)(p_ch24 0.20)(e_ch24 0.00056)(p_ch25 58.50)(e_ch25 0.16250)(p_ch26 193.50)(e_ch26 0.53750)(p_ch27 352.00)(e_ch27 0.97778)(p_ch28 0.10)(e_ch28 0.00028)(p_ch29 -1.50)(e_ch29 -0.00417)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50)))
2013/01/25 12:58:15 SmartEnergyGroupsProcessor: 49B url, 7148B payload
2013/01/25 12:58:15 SmartEnergyGroupsProcessor: url: http://api.smartenergygroups.com/api_sites/stream
  response: Server: nginx/0.7.65
Date: Fri, 25 Jan 2013 21:58:46 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Status: 200 OK
X-Runtime: 90
Cache-Control: no-cache

2013/01/25 12:58:15 SOCKET: waiting for data
2013/01/25 12:58:15 reading 1 of 1 packets
2013/01/25 12:58:25 buffering packet ts:1359151105 sn:XXXXXXXX
2013/01/25 12:58:25 buffer info:
2013/01/25 12:58:25   XXXXXXXX: 120 of 120 (1359151105)
2013/01/25 12:58:25 processing with MySQLProcessor
2013/01/25 12:58:25 waiting 50 seconds to process packets for XXXXXXXX
2013/01/25 12:58:25 processing with SmartEnergyGroupsProcessor
2013/01/25 12:58:25 waiting 50 seconds to process packets for XXXXXXXX
2013/01/25 12:58:25 SOCKET: waiting for data
2013/01/25 12:58:25 reading 1 of 1 packets
2013/01/25 12:58:35 buffering packet ts:1359151115 sn:XXXXXXXX
2013/01/25 12:58:35 buffer info:
2013/01/25 12:58:35   XXXXXXXX: 120 of 120 (1359151115)
2013/01/25 12:58:35 processing with MySQLProcessor
2013/01/25 12:58:35 waiting 40 seconds to process packets for XXXXXXXX
2013/01/25 12:58:35 processing with SmartEnergyGroupsProcessor
2013/01/25 12:58:35 waiting 40 seconds to process packets for XXXXXXXX
2013/01/25 12:58:35 SOCKET: waiting for data
2013/01/25 12:58:35 reading 1 of 1 packets
2013/01/25 12:58:45 buffering packet ts:1359151125 sn:XXXXXXXX
2013/01/25 12:58:45 buffer info:
2013/01/25 12:58:45   XXXXXXXX: 120 of 120 (1359151125)
2013/01/25 12:58:45 processing with MySQLProcessor
2013/01/25 12:58:45 waiting 30 seconds to process packets for XXXXXXXX
2013/01/25 12:58:45 processing with SmartEnergyGroupsProcessor
2013/01/25 12:58:45 waiting 30 seconds to process packets for XXXXXXXX
2013/01/25 12:58:45 SOCKET: waiting for data
2013/01/25 12:58:45 reading 1 of 1 packets
2013/01/25 12:58:55 buffering packet ts:1359151135 sn:XXXXXXXX
2013/01/25 12:58:55 buffer info:
2013/01/25 12:58:55   XXXXXXXX: 120 of 120 (1359151135)
2013/01/25 12:58:55 processing with MySQLProcessor
2013/01/25 12:58:55 waiting 20 seconds to process packets for XXXXXXXX
2013/01/25 12:58:55 processing with SmartEnergyGroupsProcessor
2013/01/25 12:58:55 waiting 20 seconds to process packets for XXXXXXXX
2013/01/25 12:58:55 SOCKET: waiting for data
2013/01/25 12:58:55 reading 1 of 1 packets
2013/01/25 12:59:05 buffering packet ts:1359151145 sn:XXXXXXXX
2013/01/25 12:59:05 buffer info:
2013/01/25 12:59:05   XXXXXXXX: 120 of 120 (1359151145)
2013/01/25 12:59:05 processing with MySQLProcessor
2013/01/25 12:59:05 waiting 10 seconds to process packets for XXXXXXXX
2013/01/25 12:59:05 processing with SmartEnergyGroupsProcessor
2013/01/25 12:59:05 waiting 10 seconds to process packets for XXXXXXXX
2013/01/25 12:59:05 SOCKET: waiting for data
2013/01/25 12:59:05 reading 1 of 1 packets
2013/01/25 12:59:15 buffering packet ts:1359151155 sn:XXXXXXXX
2013/01/25 12:59:15 buffer info:
2013/01/25 12:59:15   XXXXXXXX: 120 of 120 (1359151155)
2013/01/25 12:59:15 processing with MySQLProcessor
2013/01/25 12:59:15 7 buffered packets sn:XXXXXXXXX
2013/01/25 12:59:15 6 calculated packets sn:XXXXXXXXX
2013/01/25 12:59:15 DB: query: INSERT INTO gem.gem48ptbin_counters (time_created,serial,secs,volts,ch1_aws,ch1_pws,ch2_aws,ch2_pws,ch3_aws,ch3_pws,ch4_aws,ch4_pws,ch5_aws,ch5_pws,ch6_aws,ch6_pws,ch7_aws,ch7_pws,ch8_aws,ch8_pws,ch9_aws,ch9_pws,ch10_aws,ch10_pws,ch11_aws,ch11_pws,ch12_aws,ch12_pws,ch13_aws,ch13_pws,ch14_aws,ch14_pws,ch15_aws,ch15_pws,ch16_aws,ch16_pws,ch17_aws,ch17_pws,ch18_aws,ch18_pws,ch19_aws,ch19_pws,ch20_aws,ch20_pws,ch21_aws,ch21_pws,ch22_aws,ch22_pws,ch23_aws,ch23_pws,ch24_aws,ch24_pws,ch25_aws,ch25_pws,ch26_aws,ch26_pws,ch27_aws,ch27_pws,ch28_aws,ch28_pws,ch29_aws,ch29_pws,ch30_aws,ch30_pws,ch31_aws,ch31_pws,ch32_aws,ch32_pws,p1,p2,p3,p4,t1,t2,t3,t4,t5,t6,t7,t8) VALUES (1359151105,'XXXXXXXX',1488564,124.7,681682998,8980,1214112513,3690752,25163352,59106,12911669,18,25463894,47694,16897788,155487,22408620,42549,72348,55895,36171376,31039,41275175,33490,67731271,641773,55901175,84164,5414033,174771,149444626,57244,9025897,42864,104384502,134,26512945,335,57256317,39745,722823,182504,69724770,14343,8495101,724600,2705126,39157,809368493,664627,291382779,14310466,44297901,1948343,86445335,75527810,25800590,254776,121442333,5275311,481313392,30737405,195946982,12154675,34104711,2380789,132131138,1134140,0,0,0,0,255.5,32.0,32.0,32.0,32.0,32.0,255.5,255.5)
2013/01/25 12:59:15 DB: inserted 80 values for XXXXXXXX at 1359151105
2013/01/25 12:59:15 DB: query: INSERT INTO gem.gem48ptbin_counters (time_created,serial,secs,volts,ch1_aws,ch1_pws,ch2_aws,ch2_pws,ch3_aws,ch3_pws,ch4_aws,ch4_pws,ch5_aws,ch5_pws,ch6_aws,ch6_pws,ch7_aws,ch7_pws,ch8_aws,ch8_pws,ch9_aws,ch9_pws,ch10_aws,ch10_pws,ch11_aws,ch11_pws,ch12_aws,ch12_pws,ch13_aws,ch13_pws,ch14_aws,ch14_pws,ch15_aws,ch15_pws,ch16_aws,ch16_pws,ch17_aws,ch17_pws,ch18_aws,ch18_pws,ch19_aws,ch19_pws,ch20_aws,ch20_pws,ch21_aws,ch21_pws,ch22_aws,ch22_pws,ch23_aws,ch23_pws,ch24_aws,ch24_pws,ch25_aws,ch25_pws,ch26_aws,ch26_pws,ch27_aws,ch27_pws,ch28_aws,ch28_pws,ch29_aws,ch29_pws,ch30_aws,ch30_pws,ch31_aws,ch31_pws,ch32_aws,ch32_pws,p1,p2,p3,p4,t1,t2,t3,t4,t5,t6,t7,t8) VALUES (1359151115,'XXXXXXXX',1488574,124.5,681687869,8980,1214116256,3690752,25163352,59106,12911675,18,25463954,47694,16897797,155487,22408621,42550,72348,55895,36171382,31039,41275319,33490,67731273,641775,55901179,84167,5415278,174771,149444632,57250,9025977,42864,104384565,134,26513266,335,57256317,39745,722866,182504,69727841,14343,8498637,724600,2705565,39157,809368494,664627,291382780,14310466,44298486,1948343,86447382,75527810,25804111,254776,121442334,5275311,481313404,30737417,195946982,12154675,34104711,2380789,132131138,1134140,0,0,0,0,255.5,32.0,32.0,32.0,32.0,32.0,255.5,255.5)
2013/01/25 12:59:15 DB: inserted 80 values for XXXXXXXX at 1359151115
2013/01/25 12:59:15 DB: query: INSERT INTO gem.gem48ptbin_counters (time_created,serial,secs,volts,ch1_aws,ch1_pws,ch2_aws,ch2_pws,ch3_aws,ch3_pws,ch4_aws,ch4_pws,ch5_aws,ch5_pws,ch6_aws,ch6_pws,ch7_aws,ch7_pws,ch8_aws,ch8_pws,ch9_aws,ch9_pws,ch10_aws,ch10_pws,ch11_aws,ch11_pws,ch12_aws,ch12_pws,ch13_aws,ch13_pws,ch14_aws,ch14_pws,ch15_aws,ch15_pws,ch16_aws,ch16_pws,ch17_aws,ch17_pws,ch18_aws,ch18_pws,ch19_aws,ch19_pws,ch20_aws,ch20_pws,ch21_aws,ch21_pws,ch22_aws,ch22_pws,ch23_aws,ch23_pws,ch24_aws,ch24_pws,ch25_aws,ch25_pws,ch26_aws,ch26_pws,ch27_aws,ch27_pws,ch28_aws,ch28_pws,ch29_aws,ch29_pws,ch30_aws,ch30_pws,ch31_aws,ch31_pws,ch32_aws,ch32_pws,p1,p2,p3,p4,t1,t2,t3,t4,t5,t6,t7,t8) VALUES (1359151125,'XXXXXXXX',1488584,124.3,681692020,8980,1214119956,3690752,25163352,59106,12911690,18,25464013,47694,16897810,155487,22408622,42550,72349,55896,36171389,31039,41275466,33490,67731273,641775,55901180,84168,5416530,174771,149444642,57260,9026059,42864,104384626,134,26513591,335,57256317,39745,722910,182504,69730858,14343,8501402,724600,2706002,39157,809368494,664627,291382781,14310466,44299073,1948343,86449382,75527810,25806862,254776,121442334,5275311,481313418,30737431,195946982,12154675,34104711,2380789,132131138,1134140,0,0,0,0,255.5,32.0,32.0,32.0,32.0,32.0,255.5,255.5)
2013/01/25 12:59:15 DB: inserted 80 values for XXXXXXXX at 1359151125
2013/01/25 12:59:15 DB: query: INSERT INTO gem.gem48ptbin_counters (time_created,serial,secs,volts,ch1_aws,ch1_pws,ch2_aws,ch2_pws,ch3_aws,ch3_pws,ch4_aws,ch4_pws,ch5_aws,ch5_pws,ch6_aws,ch6_pws,ch7_aws,ch7_pws,ch8_aws,ch8_pws,ch9_aws,ch9_pws,ch10_aws,ch10_pws,ch11_aws,ch11_pws,ch12_aws,ch12_pws,ch13_aws,ch13_pws,ch14_aws,ch14_pws,ch15_aws,ch15_pws,ch16_aws,ch16_pws,ch17_aws,ch17_pws,ch18_aws,ch18_pws,ch19_aws,ch19_pws,ch20_aws,ch20_pws,ch21_aws,ch21_pws,ch22_aws,ch22_pws,ch23_aws,ch23_pws,ch24_aws,ch24_pws,ch25_aws,ch25_pws,ch26_aws,ch26_pws,ch27_aws,ch27_pws,ch28_aws,ch28_pws,ch29_aws,ch29_pws,ch30_aws,ch30_pws,ch31_aws,ch31_pws,ch32_aws,ch32_pws,p1,p2,p3,p4,t1,t2,t3,t4,t5,t6,t7,t8) VALUES (1359151135,'XXXXXXXX',1488594,124.4,681694328,8980,1214123648,3690752,25163353,59107,12911701,18,25464077,47694,16897828,155487,22408625,42551,72351,55897,36171396,31039,41275614,33490,67731273,641775,55901181,84169,5417778,174771,149444653,57271,9026139,42864,104384681,134,26513916,335,57256317,39745,722956,182504,69733862,14343,8502365,724600,2706439,39157,809368495,664627,291382782,14310466,44299660,1948343,86451378,75527810,25807819,254776,121442335,5275311,481313430,30737443,195946982,12154675,34104711,2380789,132131138,1134140,0,0,0,0,255.5,32.0,32.0,32.0,32.0,32.0,255.5,255.5)
2013/01/25 12:59:15 DB: inserted 80 values for XXXXXXXX at 1359151135
2013/01/25 12:59:15 DB: query: INSERT INTO gem.gem48ptbin_counters (time_created,serial,secs,volts,ch1_aws,ch1_pws,ch2_aws,ch2_pws,ch3_aws,ch3_pws,ch4_aws,ch4_pws,ch5_aws,ch5_pws,ch6_aws,ch6_pws,ch7_aws,ch7_pws,ch8_aws,ch8_pws,ch9_aws,ch9_pws,ch10_aws,ch10_pws,ch11_aws,ch11_pws,ch12_aws,ch12_pws,ch13_aws,ch13_pws,ch14_aws,ch14_pws,ch15_aws,ch15_pws,ch16_aws,ch16_pws,ch17_aws,ch17_pws,ch18_aws,ch18_pws,ch19_aws,ch19_pws,ch20_aws,ch20_pws,ch21_aws,ch21_pws,ch22_aws,ch22_pws,ch23_aws,ch23_pws,ch24_aws,ch24_pws,ch25_aws,ch25_pws,ch26_aws,ch26_pws,ch27_aws,ch27_pws,ch28_aws,ch28_pws,ch29_aws,ch29_pws,ch30_aws,ch30_pws,ch31_aws,ch31_pws,ch32_aws,ch32_pws,p1,p2,p3,p4,t1,t2,t3,t4,t5,t6,t7,t8) VALUES (1359151145,'XXXXXXXX',1488604,124.4,681696641,8980,1214127341,3690752,25163354,59107,12911713,18,25464134,47694,16897840,155487,22408629,42551,72352,55897,36171405,31039,41275761,33490,67731273,641775,55901183,84171,5419025,174771,149444657,57275,9026217,42864,104384744,134,26514237,335,57256318,39745,723000,182504,69736907,14343,8503329,724600,2706870,39157,809368495,664627,291382784,14310466,44300252,1948343,86453365,75527810,25808778,254776,121442336,5275311,481313441,30737454,195946982,12154675,34104711,2380789,132131138,1134140,0,0,0,0,255.5,32.0,32.0,32.0,32.0,32.0,255.5,255.5)
2013/01/25 12:59:15 DB: inserted 80 values for XXXXXXXX at 1359151145
2013/01/25 12:59:15 DB: query: INSERT INTO gem.gem48ptbin_counters (time_created,serial,secs,volts,ch1_aws,ch1_pws,ch2_aws,ch2_pws,ch3_aws,ch3_pws,ch4_aws,ch4_pws,ch5_aws,ch5_pws,ch6_aws,ch6_pws,ch7_aws,ch7_pws,ch8_aws,ch8_pws,ch9_aws,ch9_pws,ch10_aws,ch10_pws,ch11_aws,ch11_pws,ch12_aws,ch12_pws,ch13_aws,ch13_pws,ch14_aws,ch14_pws,ch15_aws,ch15_pws,ch16_aws,ch16_pws,ch17_aws,ch17_pws,ch18_aws,ch18_pws,ch19_aws,ch19_pws,ch20_aws,ch20_pws,ch21_aws,ch21_pws,ch22_aws,ch22_pws,ch23_aws,ch23_pws,ch24_aws,ch24_pws,ch25_aws,ch25_pws,ch26_aws,ch26_pws,ch27_aws,ch27_pws,ch28_aws,ch28_pws,ch29_aws,ch29_pws,ch30_aws,ch30_pws,ch31_aws,ch31_pws,ch32_aws,ch32_pws,p1,p2,p3,p4,t1,t2,t3,t4,t5,t6,t7,t8) VALUES (1359151155,'XXXXXXXX',1488614,124.4,681698949,8980,1214130987,3690752,25163357,59108,12911727,18,25464192,47694,16897854,155487,22408633,42551,72352,55897,36171411,31039,41275910,33490,67731273,641775,55901183,84171,5420267,174771,149444665,57283,9026299,42864,104384806,134,26514559,335,57256319,39745,723042,182504,69739919,14343,8504292,724600,2707309,39157,809368495,664627,291382787,14310466,44300839,1948343,86455303,75527810,25809733,254776,121442340,5275311,481313454,30737467,195946982,12154675,34104711,2380789,132131138,1134140,0,0,0,0,255.5,32.0,32.0,32.0,32.0,32.0,255.5,255.5)
2013/01/25 12:59:15 DB: inserted 80 values for XXXXXXXX at 1359151155
2013/01/25 12:59:15 processing with SmartEnergyGroupsProcessor
2013/01/25 12:59:15 7 buffered packets sn:XXXXXXXXX
2013/01/25 12:59:15 6 calculated packets sn:XXXXXXXXX
2013/01/25 12:59:15 SmartEnergyGroupsProcessor: url: http://api.smartenergygroups.com/api_sites/stream
  headers: {'User-agent': 'btmon/3.0.5'}
  data: data_post=(site XXXXXXXXX (node gem 2013-01-25T21:58:25Z (p_ch1 486.40)(e_ch1 1.35111)(p_ch2 362.80)(e_ch2 1.00778)(p_ch3 -0.00)(e_ch3 0.00000)(p_ch4 1.40)(e_ch4 0.00389)(p_ch5 5.90)(e_ch5 0.01639)(p_ch6 1.70)(e_ch6 0.00472)(p_ch7 0.60)(e_ch7 0.00056)(p_ch8 -0.00)(e_ch8 0.00000)(p_ch9 0.70)(e_ch9 0.00194)(p_ch10 14.90)(e_ch10 0.04139)(p_ch11 -0.10)(e_ch11 -0.00028)(p_ch12 0.50)(e_ch12 -0.00083)(p_ch13 124.60)(e_ch13 0.34611)(p_ch14 -0.90)(e_ch14 -0.00250)(p_ch15 8.30)(e_ch15 0.02306)(p_ch16 6.00)(e_ch16 0.01667)(p_ch17 32.40)(e_ch17 0.09000)(p_ch18 -0.00)(e_ch18 0.00000)(p_ch19 4.30)(e_ch19 0.01194)(p_ch20 294.10)(e_ch20 0.81694)(p_ch21 353.50)(e_ch21 0.98194)(p_ch22 43.50)(e_ch22 0.12083)(p_ch23 -0.00)(e_ch23 0.00000)(p_ch24 0.10)(e_ch24 0.00028)(p_ch25 58.50)(e_ch25 0.16250)(p_ch26 193.60)(e_ch26 0.53778)(p_ch27 352.10)(e_ch27 0.97806)(p_ch28 0.30)(e_ch28 0.00083)(p_ch29 -1.60)(e_ch29 -0.00444)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:58:35Z (p_ch1 487.10)(e_ch1 1.35306)(p_ch2 374.30)(e_ch2 1.03972)(p_ch3 -0.00)(e_ch3 0.00000)(p_ch4 0.60)(e_ch4 0.00167)(p_ch5 6.00)(e_ch5 0.01667)(p_ch6 0.90)(e_ch6 0.00250)(p_ch7 -0.10)(e_ch7 -0.00028)(p_ch8 -0.00)(e_ch8 0.00000)(p_ch9 0.60)(e_ch9 0.00167)(p_ch10 14.40)(e_ch10 0.04000)(p_ch11 -0.20)(e_ch11 -0.00056)(p_ch12 0.40)(e_ch12 -0.00056)(p_ch13 124.50)(e_ch13 0.34583)(p_ch14 -0.60)(e_ch14 -0.00167)(p_ch15 8.00)(e_ch15 0.02222)(p_ch16 6.30)(e_ch16 0.01750)(p_ch17 32.10)(e_ch17 0.08917)(p_ch18 -0.00)(e_ch18 0.00000)(p_ch19 4.30)(e_ch19 0.01194)(p_ch20 307.10)(e_ch20 0.85306)(p_ch21 353.60)(e_ch21 0.98222)(p_ch22 43.90)(e_ch22 0.12194)(p_ch23 0.10)(e_ch23 0.00028)(p_ch24 0.10)(e_ch24 0.00028)(p_ch25 58.50)(e_ch25 0.16250)(p_ch26 204.70)(e_ch26 0.56861)(p_ch27 352.10)(e_ch27 0.97806)(p_ch28 0.10)(e_ch28 0.00028)(p_ch29 -1.20)(e_ch29 -0.00333)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:58:45Z (p_ch1 415.10)(e_ch1 1.15306)(p_ch2 370.00)(e_ch2 1.02778)(p_ch3 -0.00)(e_ch3 0.00000)(p_ch4 1.50)(e_ch4 0.00417)(p_ch5 5.90)(e_ch5 0.01639)(p_ch6 1.30)(e_ch6 0.00361)(p_ch7 0.10)(e_ch7 0.00028)(p_ch8 -0.10)(e_ch8 -0.00028)(p_ch9 0.70)(e_ch9 0.00194)(p_ch10 14.70)(e_ch10 0.04083)(p_ch11 -0.00)(e_ch11 0.00000)(p_ch12 -0.10)(e_ch12 -0.00028)(p_ch13 125.20)(e_ch13 0.34778)(p_ch14 -1.00)(e_ch14 -0.00278)(p_ch15 8.20)(e_ch15 0.02278)(p_ch16 6.10)(e_ch16 0.01694)(p_ch17 32.50)(e_ch17 0.09028)(p_ch18 -0.00)(e_ch18 0.00000)(p_ch19 4.40)(e_ch19 0.01222)(p_ch20 301.70)(e_ch20 0.83806)(p_ch21 276.50)(e_ch21 0.76806)(p_ch22 43.70)(e_ch22 0.12139)(p_ch23 -0.00)(e_ch23 0.00000)(p_ch24 0.10)(e_ch24 0.00028)(p_ch25 58.70)(e_ch25 0.16306)(p_ch26 200.00)(e_ch26 0.55556)(p_ch27 275.10)(e_ch27 0.76417)(p_ch28 -0.00)(e_ch28 0.00000)(p_ch29 -1.40)(e_ch29 -0.00389)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:58:55Z (p_ch1 230.80)(e_ch1 0.64111)(p_ch2 369.20)(e_ch2 1.02556)(p_ch3 -0.10)(e_ch3 -0.00028)(p_ch4 1.10)(e_ch4 0.00306)(p_ch5 6.40)(e_ch5 0.01778)(p_ch6 1.80)(e_ch6 0.00500)(p_ch7 0.30)(e_ch7 0.00028)(p_ch8 0.20)(e_ch8 0.00000)(p_ch9 0.70)(e_ch9 0.00194)(p_ch10 14.80)(e_ch10 0.04111)(p_ch11 -0.00)(e_ch11 0.00000)(p_ch12 -0.10)(e_ch12 -0.00028)(p_ch13 124.80)(e_ch13 0.34667)(p_ch14 -1.10)(e_ch14 -0.00306)(p_ch15 8.00)(e_ch15 0.02222)(p_ch16 5.50)(e_ch16 0.01528)(p_ch17 32.50)(e_ch17 0.09028)(p_ch18 -0.00)(e_ch18 0.00000)(p_ch19 4.60)(e_ch19 0.01278)(p_ch20 300.40)(e_ch20 0.83444)(p_ch21 96.30)(e_ch21 0.26750)(p_ch22 43.70)(e_ch22 0.12139)(p_ch23 0.10)(e_ch23 0.00028)(p_ch24 0.10)(e_ch24 0.00028)(p_ch25 58.70)(e_ch25 0.16306)(p_ch26 199.60)(e_ch26 0.55444)(p_ch27 95.70)(e_ch27 0.26583)(p_ch28 0.10)(e_ch28 0.00028)(p_ch29 -1.20)(e_ch29 -0.00333)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:59:05Z (p_ch1 231.30)(e_ch1 0.64250)(p_ch2 369.30)(e_ch2 1.02583)(p_ch3 0.10)(e_ch3 0.00028)(p_ch4 1.20)(e_ch4 0.00333)(p_ch5 5.70)(e_ch5 0.01583)(p_ch6 1.20)(e_ch6 0.00333)(p_ch7 0.40)(e_ch7 0.00111)(p_ch8 0.10)(e_ch8 0.00028)(p_ch9 0.90)(e_ch9 0.00250)(p_ch10 14.70)(e_ch10 0.04083)(p_ch11 -0.00)(e_ch11 0.00000)(p_ch12 -0.20)(e_ch12 -0.00056)(p_ch13 124.70)(e_ch13 0.34639)(p_ch14 -0.40)(e_ch14 -0.00111)(p_ch15 7.80)(e_ch15 0.02167)(p_ch16 6.30)(e_ch16 0.01750)(p_ch17 32.10)(e_ch17 0.08917)(p_ch18 0.10)(e_ch18 0.00028)(p_ch19 4.40)(e_ch19 0.01222)(p_ch20 304.50)(e_ch20 0.84583)(p_ch21 96.40)(e_ch21 0.26778)(p_ch22 43.10)(e_ch22 0.11972)(p_ch23 -0.00)(e_ch23 0.00000)(p_ch24 0.20)(e_ch24 0.00056)(p_ch25 59.20)(e_ch25 0.16444)(p_ch26 198.70)(e_ch26 0.55194)(p_ch27 95.90)(e_ch27 0.26639)(p_ch28 0.10)(e_ch28 0.00028)(p_ch29 -1.10)(e_ch29 -0.00306)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50))(node gem 2013-01-25T21:59:15Z (p_ch1 230.80)(e_ch1 0.64111)(p_ch2 364.60)(e_ch2 1.01278)(p_ch3 0.30)(e_ch3 0.00028)(p_ch4 1.40)(e_ch4 0.00389)(p_ch5 5.80)(e_ch5 0.01611)(p_ch6 1.40)(e_ch6 0.00389)(p_ch7 0.40)(e_ch7 0.00111)(p_ch8 -0.00)(e_ch8 0.00000)(p_ch9 0.60)(e_ch9 0.00167)(p_ch10 14.90)(e_ch10 0.04139)(p_ch11 -0.00)(e_ch11 0.00000)(p_ch12 -0.00)(e_ch12 0.00000)(p_ch13 124.20)(e_ch13 0.34500)(p_ch14 -0.80)(e_ch14 -0.00222)(p_ch15 8.20)(e_ch15 0.02278)(p_ch16 6.20)(e_ch16 0.01722)(p_ch17 32.20)(e_ch17 0.08944)(p_ch18 0.10)(e_ch18 0.00028)(p_ch19 4.20)(e_ch19 0.01167)(p_ch20 301.20)(e_ch20 0.83667)(p_ch21 96.30)(e_ch21 0.26750)(p_ch22 43.90)(e_ch22 0.12194)(p_ch23 -0.00)(e_ch23 0.00000)(p_ch24 0.30)(e_ch24 0.00083)(p_ch25 58.70)(e_ch25 0.16306)(p_ch26 193.80)(e_ch26 0.53833)(p_ch27 95.50)(e_ch27 0.26528)(p_ch28 0.40)(e_ch28 0.00111)(p_ch29 -1.30)(e_ch29 -0.00361)(p_ch30 -0.00)(e_ch30 0.00000)(p_ch31 -0.00)(e_ch31 -0.00000)(p_ch32 -0.00)(e_ch32 0.00000)(n_p1 0)(n_p2 0)(n_p3 0)(n_p4 0)(temperature_t1 255.50)(temperature_t2 32.00)(temperature_t3 32.00)(temperature_t4 32.00)(temperature_t5 32.00)(temperature_t6 32.00)(temperature_t7 255.50)(temperature_t8 255.50)))
2013/01/25 12:59:15 SmartEnergyGroupsProcessor: 49B url, 7139B payload
2013/01/25 12:59:15 SmartEnergyGroupsProcessor: url: http://api.smartenergygroups.com/api_sites/stream
  response: Server: nginx/0.7.65
Date: Fri, 25 Jan 2013 21:59:46 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Status: 200 OK
X-Runtime: 54
Cache-Control: no-cache

2013/01/25 12:59:15 SOCKET: waiting for data
2013/01/25 12:59:15 reading 1 of 1 packets
2013/01/25 12:59:25 buffering packet ts:1359151165 sn:XXXXXXXX
2013/01/25 12:59:25 buffer info:
2013/01/25 12:59:25   XXXXXXXX: 120 of 120 (1359151165)
2013/01/25 12:59:25 processing with MySQLProcessor
2013/01/25 12:59:25 waiting 50 seconds to process packets for XXXXXXXX
2013/01/25 12:59:25 processing with SmartEnergyGroupsProcessor
2013/01/25 12:59:25 waiting 50 seconds to process packets for XXXXXXXX
2013/01/25 12:59:25 SOCKET: waiting for data
2013/01/25 12:59:25 reading 1 of 1 packets
2013/01/25 12:59:35 buffering packet ts:1359151175 sn:XXXXXXXX
2013/01/25 12:59:35 buffer info:
2013/01/25 12:59:35   XXXXXXXX: 120 of 120 (1359151175)
2013/01/25 12:59:35 processing with MySQLProcessor
2013/01/25 12:59:35 waiting 40 seconds to process packets for XXXXXXXX
2013/01/25 12:59:35 processing with SmartEnergyGroupsProcessor
2013/01/25 12:59:35 waiting 40 seconds to process packets for XXXXXXXX
2013/01/25 12:59:35 SOCKET: waiting for data
2013/01/25 12:59:35 reading 1 of 1 packets
2013/01/25 12:59:45 buffering packet ts:1359151185 sn:XXXXXXXX
2013/01/25 12:59:45 buffer info:
2013/01/25 12:59:45   XXXXXXXX: 120 of 120 (1359151185)
2013/01/25 12:59:45 processing with MySQLProcessor
2013/01/25 12:59:45 waiting 30 seconds to process packets for XXXXXXXX
2013/01/25 12:59:45 processing with SmartEnergyGroupsProcessor
2013/01/25 12:59:45 waiting 30 seconds to process packets for XXXXXXXX
2013/01/25 12:59:45 SOCKET: waiting for data
2013/01/25 12:59:45 reading 1 of 1 packets
2013/01/25 12:59:55 buffering packet ts:1359151195 sn:XXXXXXXX
2013/01/25 12:59:55 buffer info:
2013/01/25 12:59:55   XXXXXXXX: 120 of 120 (1359151195)
2013/01/25 12:59:55 processing with MySQLProcessor
2013/01/25 12:59:55 waiting 20 seconds to process packets for XXXXXXXX
2013/01/25 12:59:55 processing with SmartEnergyGroupsProcessor
2013/01/25 12:59:55 waiting 20 seconds to process packets for XXXXXXXX
2013/01/25 12:59:55 SOCKET: waiting for data
2013/01/25 12:59:55 reading 1 of 1 packets
2013/01/25 13:00:05 buffering packet ts:1359151205 sn:XXXXXXXX
2013/01/25 13:00:05 buffer info:
2013/01/25 13:00:05   XXXXXXXX: 120 of 120 (1359151205)
2013/01/25 13:00:05 processing with MySQLProcessor
2013/01/25 13:00:05 waiting 10 seconds to process packets for XXXXXXXX
2013/01/25 13:00:05 processing with SmartEnergyGroupsProcessor
2013/01/25 13:00:05 waiting 10 seconds to process packets for XXXXXXXX
2013/01/25 13:00:05 SOCKET: waiting for data
2013/01/25 13:00:05 reading 1 of 1 packets
^C2013/01/25 13:00:08 cleanup MySQLProcessor
2013/01/25 13:00:08 cleanup SmartEnergyGroupsProcessor
2013/01/25 13:00:08 cleanup BlockingSocketClientCollector
2013/01/25 13:00:08 closing socket connection


Tirnanah
Posts: 60
Joined: Fri Jun 03, 2011 1:48 am

Re: BTMon dies

Post by Tirnanah » Fri Jan 25, 2013 6:05 pm

And it is in real time mode, packets every 10 seconds.

I am on firmware 1.70 (Engine ver 1.40). Could it be something with that?

Thanks,
Doug
Post Reply