Hi,
I have uploaded the following sketch to my Nanode:
https://github.com/openenergymonitor/NanodeRF/tree/master/nanodeRF_ctonly
But DHCP is not working with my Windows 2008 server, it is my DHCP server. When I try it on a simple standalone router then I get an ip.
So I want to have a static IP in the Nanode, how can I do this in this sketch ?
Remco
Re: NanodeRF static IP.
Here is an example: https://github.com/openenergymonitor/sketchbook/tree/master/EtherShield_simpleClient/EtherShield_simpleClient_Emoncms
Re: NanodeRF static IP.
I have been banging my head against the wall almost.. I can't get it to work with a static IP.
Any idea what I am missing ? I must be some simple/stupid thing. But I can't find it.
Here are both PDE links:
http://pastie.org/2728843
http://pastie.org/2728853
Any help is appreciated.
Remco
Re: NanodeRF static IP.
I have been banging my head against the wall almost.. I can't get it to work with a static IP.
Any idea what I am missing ? I must be some simple/stupid thing. But I can't find it.
Here are both PDE links:
http://pastie.org/2728843
http://pastie.org/2728853
Any help is appreciated.
Remco
Re: NanodeRF static IP.
Hi Remco,
You might be having issues since the version of EtherShield_simpleClient you are using contains the DHCP code. This code is used to aquire an IP automatically from a DHCP server. Have you tried the example I posted above? This example does not contain the DHCP code and has been tested to work on a static IP. Make sure you download both files. Here is the example again:
with RFM12 wireless:
https://github.com/openenergymonitor/sketchbook/tree/master/EtherShield_simpleClient_RF12/EtherShield_simpleClient_Emoncms_RF12
Without RFM12 wireless:
https://github.com/openenergymonitor/sketchbook/tree/master/EtherShield_simpleClient/EtherShield_simpleClient_Emoncms
Good luck!
All the best, Glyn.
Re: NanodeRF static IP.
Hi Glyn,
I have tried also the example you provided, but that also is not working, no data is coming. Also on the serial interface just this:
EtherShield_simpleClient_Emoncms_RF12
And the example you provided does not have the battery information, like the latest version's. I have used the example and the comment's in the ethershieldsimpleclient for setting the static IP in my version...
So what can I do to get it working ? Can somebody test my sketches? There must be a simple error in it..
At this moment with DHCP also not working my EmonTX is useless... :(
Or can I ask for help on a different forum ?
And I think there are more people around that want to use a static IP instead of DHCP.
Re: NanodeRF static IP.
Hello, just written and tested a new static ip example, please see if this will work for you:
https://github.com/openenergymonitor/NanodeRF/tree/master/nanodeRF_ctonly_static_ip
Let us know how you get on
Trystan