I was able to get the GW up and added the temp sensors finally. Thanks for the help.
Posts made by karenbobiv
-
RE: Ethernet gateway troubleshooting advice
-
RE: Ethernet gateway troubleshooting advice
I was able to add the Node, but no sensors show up. Do I need to reload the sketch for the temp sensor now that I switched to the soft SPI? Does that sketch change somehow? Tried to reload temp sketch on the node, but got this error. DigitalIO.h is in the library.
Arduino: 1.5.8 (Windows 7), Board: "Arduino Nano, ATmega328"
In file included from C:\Users\Robert\Documents\Arduino\libraries\MySensors/MySensor.h:28:0,
from DallasTemperatureSensor.ino:2:
C:\Users\Robert\Documents\Arduino\libraries\MySensors/utility/RF24.h:20:23: fatal error: DigitalIO.h: No such file or directory
#include <DigitalIO.h>
^
compilation terminated.
Error compiling. -
RE: Ethernet gateway troubleshooting advice
@Dan-S. Not sure why, but can ping again and talking with plugin. Interesting development. I noted that the sensor appeared to talk to GW (st=ok?) and when I saw that I tried to include, but then it would switch back to st=fail and wouldn't include. Did this several times. Building another simple temp sensor to try that.
send: 1-1-0-0 s=2,c=1,t=0,pt=7,l=5,st=fail:73.6
send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:73.6
send: 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,st=ok:73.9
send: 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,st=ok:73.8
send: 1-1-0-0 s=2,c=1,t=0,pt=7,l=5,st=ok:73.5
send: 1-1-0-0 s=2,c=1,t=0,pt=7,l=5,st=ok:73.6
send: 1-1-0-0 s=2,c=1,t=0,pt=7,l=5,st=fail:73.5
send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:73.5
send: 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,st=ok:73.7
send: 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,st=fail:73.8
send: 1-1-0-0 s=2,c=1,t=0,pt=7,l=5,st=fail:73.3
send: 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,st=ok:73.7
send: 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,st=ok:73.8
send: 1-1-0-0 s=2,c=1,t=0,pt=7,l=5,st=ok:73.5
send: 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,st=ok:73.7 -
RE: Ethernet gateway troubleshooting advice
Unplugged the GW and plugged back in as part of effort to diagnose and now I can't ping it and it's not talking to plugin. I checked it with serial monitor and it still shows GW Startup. Not sure what to try now.
-
RE: Ethernet gateway troubleshooting advice
@Dan-S. Thanks much. After a good night sleep I gave it another try. Made changes, reloaded script, and got the Gateway started message in the serial monitor. I can also ping the GW. However, in the "nothing is ever easy" category, now it won't include my temperature sensors. I attached the temperature sensors to the serial monitor and get the following:
sensor started, id 1
send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=3,st=fail:1.4
send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=fail:0
send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=18,st=fail:Temperature Sensor
send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,st=fail:1.0
send: 1-1-0-0 s=0,c=0,t=6,pt=0,l=3,st=fail:1.4
send: 1-1-0-0 s=1,c=0,t=6,pt=0,l=3,st=fail:1.4
send: 1-1-0-0 s=2,c=0,t=6,pt=0,l=3,st=fail:1.4
send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:
send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:74.3
send: 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,st=fail:83.7
send: 1-1-0-0 s=2,c=1,t=0,pt=7,l=5,st=fail:73.0Tried inclusion lots of times. Unplugged and plugged in power for sensor network when I did that to try to get the "handshake." Likely a comedy of errors on my part, but I can't see what's wrong now. Thanks.
-
RE: Ethernet gateway troubleshooting advice
Thanks for the help Dan. I've been at this for almost 12 solid hrs. I reloaded the IDE environment and the mysensors library, so all that is fresh. I've got the sketch loading without error, but don't think I'm getting the wiring of the radio and the radio file right at all. Can't get to ping either. I'm using the Uno R3 and the shield. Could you provide more detail please on how you did it? Thanks.
-
RE: Ethernet gateway troubleshooting advice
Howdy. Been trying to follow/implement the Soft SPI fix for this. I appreciate everything so far. I'm not a coder, so try to follow instructions closely, but seem to have messed this up. I'm using a R3 Uno with Ethernet Shield. There seems to be several parts to this fix, but I'm getting error messages now. Did get the original to work, but it would freeze up as described.
First what I did to fix, perhaps I missed something. This is all I did, so please don't assume I would know to do something:
- Installed Arduino 1.5.8 IDE
- Installed Anticimex's "fix for W5100" from the "development branch" into my Arduino folder on computer
- Opened RF24_config.h in a text editor. Uncommented the line #define SOFTSPI
- In Gateway sketch, added #include <DigitalIO.h>
- Disabled the debug feature in MyConfig.h
- Moved the gw.begin after the delay(1000) (not sure if I got this right since I don't code. Here is snippet of what I have now in sketch:
// give the Ethernet interface a second to initialize
delay(1000);// Initialize gateway at maximum PA level, channel 70 and callback for write operations
gw.begin(incomingMessage, 0, true, 0);
w5100_spi_en(true);However, I now get the following errors:
Arduino: 1.5.8 (Windows 7), Board: "Arduino Uno"
In file included from C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:12:0:
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.h:39:28: error: 'DEFAULT_CE_PIN' was not declared in this scope
MyGateway(uint8_t _cepin=DEFAULT_CE_PIN, uint8_t _cspin=DEFAULT_CS_PIN, uint8_t _inclusion_time = 1, uint8_t _inclusion_pin = 3, uint8_t _rx=6, uint8_t _tx=5, uint8_t _er=4);
^
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.h:39:59: error: 'DEFAULT_CS_PIN' was not declared in this scope
MyGateway(uint8_t _cepin=DEFAULT_CE_PIN, uint8_t _cspin=DEFAULT_CS_PIN, uint8_t _inclusion_time = 1, uint8_t _inclusion_pin = 3, uint8_t _rx=6, uint8_t _tx=5, uint8_t _er=4);
^
In file included from C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:12:0:
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.h:42:36: error: 'RF24_PA_LEVEL_GW' was not declared in this scope
void begin(rf24_pa_dbm_e paLevel=RF24_PA_LEVEL_GW, uint8_t channel=RF24_CHANNEL, rf24_datarate_e dataRate=RF24_DATARATE, void (dataCallback)(char )=NULL);
^
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp: In constructor 'MyGateway::MyGateway(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)':
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:27:167: error: no matching function for call to 'MySensor::MySensor(uint8_t&, uint8_t&)'
MyGateway::MyGateway(uint8_t _cepin, uint8_t _cspin, uint8_t _inclusion_time, uint8_t _inclusion_pin, uint8_t _rx, uint8_t _tx, uint8_t _er) : MySensor(_cepin, _cspin) {
^
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:27:167: note: candidates are:
In file included from C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.h:15:0,
from C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:12:
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MySensor.h:79:2: note: MySensor::MySensor()
MySensor();
^
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MySensor.h:79:2: note: candidate expects 0 arguments, 2 provided
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MySensor.h:70:7: note: MySensor::MySensor(const MySensor&)
class MySensor
^
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MySensor.h:70:7: note: candidate expects 1 argument, 2 provided
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp: In member function 'void MyGateway::begin(rf24_pa_dbm_e, uint8_t, rf24_datarate_e, void ()(char))':
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:76:39: error: no matching function for call to 'MyGateway::setupRadio(rf24_pa_dbm_e&, uint8_t&, rf24_datarate_e&)'
setupRadio(paLevel, channel, dataRate);
^
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:76:39: note: candidate is:
In file included from C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.h:15:0,
from C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:12:
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MySensor.h:238:7: note: void MySensor::setupRadio()
void setupRadio();
^
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MySensor.h:238:7: note: candidate expects 0 arguments, 3 provided
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:77:36: error: 'BASE_RADIO_ID' was not declared in this scope
RF24::openReadingPipe(WRITE_PIPE, BASE_RADIO_ID);
^
C:\Users\Robert\Documents\Arduino\libraries\MySensors\MyGateway.cpp:79:23: error: cannot call member function 'void RF24::startListening()' without object
RF24::startListening();
^
Error compiling.Welcome any help. Thanks much.
-
RE: Ethernet Gateway problem
I'm having the same problems described and I'm using the same hardware. Very frustrating. I previously tried the Serial Gateway, but it continuously dropped contact with Vera and now this with the Ethernet Gateway. I'm only trying to get 3 temp sensors connected. I'm a newbie, so hope someone with more experience has some ideas. Thanks.
-
RE: Ethernet Gateway problem
I'm having the same problems described and I'm using the same hardware. Very frustrating. I previously tried the Serial Gateway, but it continuously dropped contact with Vera and now this with the Ethernet Gateway. I'm only trying to get 3 temp sensors connected. I'm a newbie, so hope someone with more experience has some ideas. Thanks.
-
RE: Issues Converting to Ethernet Gateway (Uno)
I'm struggling to get my Ethernet Gateway working - trying with a Nano, but having problems - and thought that we couldn't use a Uno with the Ethernet Shield. Uno works with Vera? Thanks.
-
RE: Lost USB/Serial Port Connection on Vera 3 AGAIN
Having same issue, but I use this remotely at a rental property so it's a tad bit difficult to drive 12 hours round trip to fix. I'm taking your suggestion and will start building the Ethernet Gateway. Thanks.
-
RE: Vera Gateway Versions
Actually, a small glitch. I get good temp readings from three sensors strung together on the harness, but then occasionally one or two will go from 70.5 (for example) to -196.5 (note the negative). When it gives the odd reading it's always the -196.5. It updates about once a minute and will occasionally switch back and forth from good readings to the -196.5. Any thoughts?
-
RE: Vera Gateway Versions
Ok, figured it out. Just a bad solder joint on the sensor harness. Works great!
-
Vera Gateway Versions
I read that the Vera plugin version and the library versions should be the same, but mine aren't. I downloaded both from the mysensor website. Plugin is v1.3 and the lib is v1.2+. I'm trying to include a temp sensor but it's not detecting it and I'm wondering if this might be the cause? thanks.