GEM HTTP Data Post Configuration
Posted: Tue Apr 14, 2020 8:27 pm
With what looks like the demise of Smartenergygroups (note that Sam Sabey has appeared on Twitter as recently as April 8th, with no reference to what's happened to his site - I was a paying customer), I thought I'd temporarily re-point my GEM to my own server to at least cache my data until I make a decision on an alternative. I've been on the programming side of IT for 41 years, so thought I'd play a bit.
Anyways, in working with the Data Post tab in the GEM configuration, I don't seem to be able to make much of dent in the way this thing is sending out data. Yes, I've configured the network interface (via the GEM Network Utility) to point at my own server, and the posting requests are hitting my server. But no matter what I do with the GEM -, the inbound HTTP traffic always appears to be a "PUT", and with a URL which appears to be firmly stuck on the old SEG configuration. The options on the Data Post tab read, "Smart Energy Groups", "Dashbox/Stand-Alone Software", and "Show All". The latter does nothing, and when I switch from the original "Smart Energy Groups" option to the "Dashbox" option, it doesn't seem to make any difference to what the box is sending out. The URL is still being formed as though it was delivering a "PUT" to SEG, replete with the old URL extension and and even my site ID (which has no meaning in this context).
Is there some other hidden option that must also be changed? I don't care if the data arrives in SEG format (I can parse it), but I just want to get control over how it constructs the URL. It would be great if the thing could use a "GET", rather than a "PUT" to deliver the payload, as well.
Any insight appreciated
Edit: Firmware - COM 5.13, ENG 1.49
Anyways, in working with the Data Post tab in the GEM configuration, I don't seem to be able to make much of dent in the way this thing is sending out data. Yes, I've configured the network interface (via the GEM Network Utility) to point at my own server, and the posting requests are hitting my server. But no matter what I do with the GEM -, the inbound HTTP traffic always appears to be a "PUT", and with a URL which appears to be firmly stuck on the old SEG configuration. The options on the Data Post tab read, "Smart Energy Groups", "Dashbox/Stand-Alone Software", and "Show All". The latter does nothing, and when I switch from the original "Smart Energy Groups" option to the "Dashbox" option, it doesn't seem to make any difference to what the box is sending out. The URL is still being formed as though it was delivering a "PUT" to SEG, replete with the old URL extension and and even my site ID (which has no meaning in this context).
Is there some other hidden option that must also be changed? I don't care if the data arrives in SEG format (I can parse it), but I just want to get control over how it constructs the URL. It would be great if the thing could use a "GET", rather than a "PUT" to deliver the payload, as well.
Any insight appreciated
Edit: Firmware - COM 5.13, ENG 1.49