combine repeater and sensor type
-
Hi all
Quick Q: I currently have about 5 sensors in my house. Now, the current (5th) sensor seems to be working fine, but it sits at the furthest location from my gateway. I was wondering, can I combine both the repeater and sensor functionality? This sensor serves as a tempHum gateway and would be great if it could also act as a repeater.
Kind regards
Steve
-
It's doable, but you can not run it from batteries, as it would drain them in a short time, because a repeater node can't go to sleepmode.
to make a node act as a repeater, you have to use the following to initialize your mysensors library:
gw.begin(NULL, AUTO, true)
It's described in "details" here
-
Hi,
I have a similar problem and would like to use an already existing node as a repeater. It does not run from battery, so no problem here.But I have incoming messages which this node needs to react on. In the code, I check if the incoming message has a child id known by this node. If not, nothing happens. In addition, I am using static node IDs.
So, instead of
gw.begin(NULL, AUTO, true)
my current initialisation is
gw.begin(incomingMsg, MY_NODEID, false)
because it currently does not act as a repeater.
Would
gw.begin(incomingMsg, MY_NODEID, true)
turn this node into a working repeater ?
Most of the time this node is idle. Every five minutes it reads temperature and humidity and sends it off to the controller. A few times per day it turns some switch on or off. My guess is that the additional workload for repeating messages would not be too high.
Thank you very much for your input.
Cheers
Josh
-
@joshmosh said:
Would
gw.begin(incomingMsg, MY_NODEID, true)
turn this node into a working repeater ?Yes, this enables the repeater feature.
-
@hek said:
@joshmosh said:
Would
gw.begin(incomingMsg, MY_NODEID, true)
turn this node into a working repeater ?Yes, this enables the repeater feature.
OK,thank you. This will save me an additional node..
Cheers
Josh
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Combination of networks
General Discussion • 1 Feb 2025, 17:30 • Sniker 4 Feb 2025, 01:02 -
Running out of nodeId's
General Discussion • 3 Sept 2024, 07:33 • NielBierman 25 Jan 2025, 17:19 -
Anybody got one / a few spare minimalist rfm69hw shields for wemos d1 mini?
General Discussion • 20 Sept 2024, 08:45 • kiesel 11 Oct 2024, 15:32 -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 3 Oct 2024, 14:18 -
What is form factor?
General Discussion • 15 Jan 2025, 07:33 • Luosi 15 Jan 2025, 07:33