Hi. I have had emoncms hosted locally on a Synology NAS with Arduinos as sensor nodes and all comms via IP rather than RF which worked fine. To segregate my infrastructure and add control features I've recently performed a fresh build of emoncms on a Raspberry Pi with HDD. The build was successful and as per install instructions online. I've now pointed the sensor nodes to the Raspberry Pi's IP rather than Synology NAS and for some reason the nodes aren't able to connect and report. Can anyone explain why or offer some sample code for me to test or work with?
Im using Arduinos so that my sensor nodes can also be used for several other applications in the future, and don't want to use RF so I have a much more stable, wired solution.
Kind regards in advance.
Aaron
Re: Raspberry Pi + HDD build with IP Arduino nodes
Hi Aaron
are there any clues in the apache2 logs on pi?
What is the url string the arduino's use and what version of emoncms was on the synology?
Are you able to post data to rpi emoncms by manually typing a url string into browser using a template from the input API page with"http://IP.ADD.OF.PI/emoncms" in place of "http://emoncms.org" ?
(You should be also able to find custom addressed templates at http://IP.ADD.OF.PI/input/api)
Paul
Re: Raspberry Pi + HDD build with IP Arduino nodes
Hi Paul
Thanks for your reply. I shall collate the information you suggest and send through tomorrow.
Regards
Aaron
Re: Raspberry Pi + HDD build with IP Arduino nodes
This is now solved. It was an error with the GET request, and IP config.