Increasing emoncms post rate

I'm posting to a remote emoncms installation. Locally, I see my feeds update every 5 seconds, but updates are only posted to my remote emoncms every 30 seconds. Does anyone know where I can change this setting? I haven't been looked through the code yet, but I'd have thought this would be quite a common feature to play with and so exposed somewhere in the interface!

Running vlow-write-v8.5, posting to emoncms 8.5.2

Tail of emonhub.log... Here you can see I am showing NEW FRAME every 5 seconds but the INFO emoncmsorg send is only done every 30 seconds.

2015-07-23 20:45:53,402 DEBUG    RFM2Pi     1124 NEW FRAME : OK 5 41 1 3 0 44 1 244 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (-0)
2015-07-23 20:45:53,406 DEBUG    RFM2Pi     1124 Timestamp : 1437680753.4
2015-07-23 20:45:53,406 DEBUG    RFM2Pi     1124 From Node : 5
2015-07-23 20:45:53,407 DEBUG    RFM2Pi     1124    Values : [297, 3, 300, 250.76000000000002, 0, 0, 0, 0, 0, 0, 0]
2015-07-23 20:45:53,408 INFO     RFM2Pi     Publishing: emonhub/rx/5/values 297,3,300,250.76,0,0,0,0,0,0,0
2015-07-23 20:45:53,411 DEBUG    RFM2Pi     1124 adding frame to buffer => [1437680753, 5, 297, 3, 300, 250.76000000000002, 0, 0, 0, 0, 0, 0, 0]
2015-07-23 20:45:53,412 DEBUG    RFM2Pi     1124 Sent to channel' : ToEmonCMS
2015-07-23 20:45:57,210 INFO     emoncmsorg sending: http://www.**********
2015-07-23 20:45:57,373 DEBUG    emoncmsorg acknowledged receipt with 'ok' from http://www.**********
2015-07-23 20:45:58,383 DEBUG    RFM2Pi     1125 NEW FRAME : OK 5 29 1 0 0 29 1 242 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (-0)
2015-07-23 20:45:58,387 DEBUG    RFM2Pi     1125 Timestamp : 1437680758.38
2015-07-23 20:45:58,387 DEBUG    RFM2Pi     1125 From Node : 5
2015-07-23 20:45:58,388 DEBUG    RFM2Pi     1125    Values : [285, 0, 285, 250.74, 0, 0, 0, 0, 0, 0, 0]
2015-07-23 20:45:58,389 INFO     RFM2Pi     Publishing: emonhub/rx/5/values 285,0,285,250.74,0,0,0,0,0,0,0
2015-07-23 20:45:58,391 DEBUG    RFM2Pi     1125 adding frame to buffer => [1437680758, 5, 285, 0, 285, 250.74, 0, 0, 0, 0, 0, 0, 0]
2015-07-23 20:45:58,392 DEBUG    RFM2Pi     1125 Sent to channel' : ToEmonCMS
2015-07-23 20:46:03,416 DEBUG    RFM2Pi     1126 NEW FRAME : OK 5 36 1 0 0 36 1 219 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (-0)
2015-07-23 20:46:03,419 DEBUG    RFM2Pi     1126 Timestamp : 1437680763.42
2015-07-23 20:46:03,420 DEBUG    RFM2Pi     1126 From Node : 5
2015-07-23 20:46:03,421 DEBUG    RFM2Pi     1126    Values : [292, 0, 292, 250.51000000000002, 0, 0, 0, 0, 0, 0, 0]
2015-07-23 20:46:03,422 INFO     RFM2Pi     Publishing: emonhub/rx/5/values 292,0,292,250.51,0,0,0,0,0,0,0
2015-07-23 20:46:03,424 DEBUG    RFM2Pi     1126 adding frame to buffer => [1437680763, 5, 292, 0, 292, 250.51000000000002, 0, 0, 0, 0, 0, 0, 0]
2015-07-23 20:46:03,425 DEBUG    RFM2Pi     1126 Sent to channel' : ToEmonCMS

pb66's picture

Re: Increasing emoncms post rate

Original emonhub has a configurable "send interval" which can be defined in emonhub.conf, the "emon-pi" variant seems to have been hard coded with a 30 second interval, I'm not sure why 

Paul

 

ChrisBirkett's picture

Re: Increasing emoncms post rate

Aha. Well found. Thanks!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.