💬 The Sensor Network
So if I understand correctly I could just by default enable the repeater on every non-battery powered node I create? The nodes wil only use a repeater if they can't connect to the gateway directly? Are there any downsides to enabling it, besides using more battery? Will the airwaves be full of repeating shouting nodes, like a speech at an Occupy demonstration, and perhaps disrupt wifi?
NiklasO last edited by
In the example sketch for the RepeaterNode it has this info:
- It is important that nodes that has enabled repeater mode calls
- process() frequently. Repeaters should never sleep.
So, is this for older sketches for versions below 2?
Do we need to add something more to the example sketch?
This is done automatically nowadays. I will update the doc.
talhatec last edited by
If I have multiple repeater nodes, is there a way to force a child node to got to a repeater Node and not to the GW? I have tried to use the setDestination function but that still goes via GW.
@talhatec setDestination sets final destination, not intermediate destination.
Use MY_PARENT_NODE_ID and MY_PARENT_NODE_IS_STATIC to set static routing.
talhatec last edited by
@mfalkvidd I will try this out today and see if it helps. But this will just make the child node always communicate with the Repeater node. What im trying to do is : https://forum.mysensors.org/topic/6984/pairing-nodes-with-each-other
So on first boot, i want the child node to goto the GW and get a node-ID and register itself. Afterwards I want it to pair to a Repeater node.
cloolalang last edited by
A theroetcical capacity using RFM 95 LoRa radios in 433 MHz ISM band:
Lora Config bandwith: 125 KHz.
ISM band 433.050 - 434.790 MHz.
Allows for these 5 "channels";
- not used (ISM noise from commercial devices on 433.920 etc)
7 .not used (local ham repeater), (yes its nice to check!)
Each GW can handle 254 RF Nodes
254 x 5 RF channels = 1270 sensor nodes in any one geographical location. (including repeated nodes)?
@cloolalang you can also vary the spreading factor (6 alternatives) and the coding rate (4 alternatives), yielding 24x1270= 30,480 nodes. There are other options as well (encryption, directed antennas and more) but what to do will vary in each use case. Theoretical calculations can be fun, but they do not represent the real world.