Node Won't Display On Gateway [SOLVED]

Started by prairietech, February 14, 2016, 09:45:04 AM

prairietech

I'm just getting started with Moteino and trying to get that warm fuzzy feeling of seeing my node show up on the Gateway web page. But nothing changes on the web page.
Using the random number sketch I see these entries in gateway.sys.log

[02-14-16_08:06:51.706] [LOG]   >: F:-18.5 - ACK sent
[02-14-16_08:07:01.703] [LOG]   >: F:96.5 - ACK sent
[02-14-16_08:07:11.709] [LOG]   >: F:13.5 - ACK sent

Shouldn't there be a nodeId on each line too?

I've tried other node sketches and see entries in the log but also without the nodeId.

Currently using the WirelessProgramming_gateway sketch on the usb Moteino attached to a RPi. But I have also tried PiGateway with the same results.

I assuming that since there are log entries that RF settings in both the node and gateway Moteinos are correct?  I think my problem might be the missing nodeId but not sure why it is missing?



prairietech

I was running the WirelessProgramming Gateway sketch that I thought would make the USBMoteino double as a Gateway and have the ability to program all in one sketch.  Wrong assumption, it is used only for over the air programming. But I had tried PiGateway and it didn't work either.

Then while looking at the PiGateway sketch again, I noticed these lines of code that were uncommented. They are several lines of code down the page from the usual network ID, node ID and setting the radio type.   I'm running RFM69W's so naturally they needed to be comment like shown here:

//#ifdef IS_RFM69HW
//  radio.setHighPower(); //uncomment only for RFM69HW!
//#endif

After hours of tail chasing, I am finally receiving the nodeId and getting updates on the Gateway UI. 

Special thanks for John of John's DIY Playground for sharing his experience and thoughts with me!