Setting emonbase post delay

Where in the code can I change the delay so that it only posts to the server every 10 seconds instead of 5? I can see some delays in the code but they seem to be for the time post to the emonglcd and for the led flashing.

glyn.hudson's picture

Re: Setting emonbase post delay

The emonBase is basically acts as an RFM12B wireless to Ethernet bridge. Data is posted online as an when it's received from the emonTx. To slow down the post rate you must slow down the emonTx transmission rate. The can easily be done by increasing emontx_sleep(5); from 5 to 10 near the bottom of the sketch.

Comment viewing options

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