Community
OpenEnergyMonitor

OpenEnergyMonitor Community

Inputs not updating with GET command - Arduino

Tags: #<Tag:0x00007f1be308d1e8> #<Tag:0x00007f1be308d080>

Hi

I did post a while back about my problem but got no replies. Since then I have played about more but got no further

The issue is that my feeds on my remote site just stopped updating. I have 2 Arduino units that push data via ESP8266 and both stopped at the same time. The original emoncms version was 9.7.2 but installing a fresh 9.8.10 gives the same problem

The data is sent using the GET command as follows

GET http://www.markderbyshire.co.uk/emoncms1/input/post?node=solar&fulljson={“rssi”:78}&apikey=myApiKey

with no updating

In the Arduino Serial monitor I get back the following reply

"Recv 129 bytes

SEND OK

+IPD,187:HTTP/1.0 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html

400 Bad request

Your browser sent an invalid request. CLOSED"

If I send the string as follows from a browser I get the OK response and the inputs update.

http://www.markderbyshire.co.uk/emoncms1/input/post?node=solar&fulljson={“rssi”:78}&apikey=myApiKey

I have contacted my server host and they are seeing the data coming in

This was working fine for over a year and then just stopped

TIA


Mark

Did you ever get this sorted out?

No I never did!

Did you try a fresh battery?

Is your data hardcoded into the string you are posting or are you parsing it from real data in your arduino code?