Thought I had made a dud rfm12pi, as whatever I did, there was no data being received. But, finally I tried putting 0 as the networkGroup on my emoncms, and was suprised a) that it did show all network groups; and b) to find my emonTx happily transmitting with nodeID 10 and networkGroup 210. Looking at the code, while nodeID and networkGroup are declared in emontx_temperature_power.ino, the actual call of rf12_initialize has them hardcoded, eg:
hardcoded nodeID and networkGroup in emontx_temperature_power.ino
Submitted by Andrew on Fri, 17/05/2013 - 14:35Thought I had made a dud rfm12pi, as whatever I did, there was no data being received. But, finally I tried putting 0 as the networkGroup on my emoncms, and was suprised a) that it did show all network groups; and b) to find my emonTx happily transmitting with nodeID 10 and networkGroup 210. Looking at the code, while nodeID and networkGroup are declared in emontx_temperature_power.ino, the actual call of rf12_initialize has them hardcoded, eg:
rf12_initialize(10, freq, 210); // initialize RF
but it should be:
rf12_initialize(nodeID, freq, networkGroup); // initialize RF
Very happy, as I thought I'd need to order a rfm12pi v2 and wait for the post.
Maybe a few others have been bitten by this one too.
thanks for an awesome project!