https:127.0.0.1 POST /sync_energy?

In the process of setting up an alternative event server on Vera, I have some code watching for clients on 127.0.0.1:443

Once this address is set up for alternative notification from Luup, then, as well as the expected requests:

GET /alert?...

I also receive, at exactly hourly intervals:

POST /sync_energy?PK_AccessPoint=XXX&HW_Key=YYY HTTP/1.1 

(details changed to protect the innocent).

Now this surprises me. I assume that it is generated by some vestige of energy monitoring, but having intercepted these requests it doesn’t seem to interfere with the energy logging on MiOS.com (I don’t use ERGY).

Anyone noticed anything similar? Should I care?
Whatever, it doesn’t stop the event server code from running swimmingly (see [url=http://forum.micasaverde.com/index.php/topic,9525.msg128860.html#msg128860]http://forum.micasaverde.com/index.php/topic,9525.msg128860.html#msg128860[/url]).

Digging into this a bit further, the hourly posts are multi-line, like this:

POST /sync_energy?PK_AccessPoint=XXXXXXX&HW_Key=YYYYYYYYYYYYY HTTP/1.1
Host: 127.0.0.1
Accept: */* 
Content-Length: 1165 
Expect: 100-continue 
Content-Type: multipart/form-data; boundary=----------------------------3787391f8493 

…I have NO idea what this is about.

Ah, I do now. Here is the second part of a multi-part message:


------------------------------31c945104ade 
Content-Disposition: form-data; name="Data" 

{ "data": [ { "id": 198, "avg": 0, "peak": 0 }, ............... { "id": 199, "avg": 0, "peak": 0 } ], "date": "2013-09-30 14:30:00" }
------------------------------31c945104ade-- 

…so definitely power monitoring stuff.

Since it arrives here at the alternate server, I imagine that it is also sent to the MiOS servers. In which case it seems that the power monitoring is done by hijacking the event notification process with /sync_energy in the URL, rather than /alert.

I will ignore it! (although on second thoughts, this may mean that I can now do my own local energy monitoring).

its for the Energy > Usage tab
keeps track of power used by devices and forwards data to mios server