dragino/modules — pull request #1 by fantomas (2014-12-02 15:24:22+00:00)
Title: Updating EmoncmsClient example

My setup is Arduino IDE 1.5.8. I am using Dragino MS14-P with M32W, which is compatible with Arduino Yun. My emoncms is not in the local network and I access it remotely. The problem was that I was not able to make write inputs to the remote emoncms. I didn't see anything in the Serial Monitor. Therefore I changed the Serial with Console and the output showed. After that I connect with ssh to the Dragino MS14-P and saw that even if I execute the raw curl command I still don`t send json GET request. The problem was that curl interprets the curly brackets. With -g parameter it doesn't interprets them and the data is send successfully to the remote emoncms.

This is a pull request to help if someone else is trying the example with Dragino or Yun and the EmonCMS.