How to force static use of an repeater-node...?
-
Hi all,
may be someone would be so kind to tell me, how to force the usage of an specified repeater-node?
I've set up a repeater-node with an NRF24L01+PA+LNA antenna version. This node is powered by 3,3v DC and working properly. A sensor, which monitors my dehumidifier-water-tank, sends via that node.
My problem is, that a new sensor at my entrance door reaches the gateway not always, so I get an dead node. I would prefer this node also being connect via this antenna-pimped repeater next to itself.Thanks in advance!
Sincerely
Carsten
-
Hi!
In the 1.5 releases you can set a static parent in the begin method. It's the fourth argument. See "Starting up the library" here:
http://www.mysensors.org/download/sensor_api_15
-
Hi martinhjelmare...
so I think I got it...
changed from:
// gw.begin();
to
// Test - nur über Repeaternode 103 senden!
gw.begin(NULL, AUTO, false, 103);fhem now shows parentId 103...
I'll confirm after some testingThanks a lot
-
-
Guys, how do we do this in the current dev branch?
-
#define MY_PARENT_NODE_ID xx