I have a running solar PV emonPi for one year and now I would like to configure an independent arduino Uno with ethernet shield to access emoncms via my home ethernet connection and get some data to do actions to manage my home consumption.
At first, I would like to write an arduino sketch to get something like with this following working url, but on my arduino serial monitor (http://192.168.1.xx/emoncms/feed/get.json apikey=xxxxxxx&id=1&field=value).
Any recommendation or arduino sketch would be helpful.
I canât recall any mention of anyone wanting to transfer the data in that direction. Most people send the data to the emonPi.
I think the emonCMS API calls are your starting point - send the appropriate request, and then parse out the bits of data that you require. There has to be a web scraper sketch for a Uno with Ethernet somewhere that does something like what you want, which you can use as a starting point.
My goal now is to write a sketch to activate a Grove Relay when the returned value remains above a threshold for a set amount of time. I found examples on blogs, but I have not had any results yet.
Although as Robert mentioned, most folks transfer the data in the opposite direction,
there was at least one other user that wanted to do the same thing. Hereâs the thread: