Static ParentID
-
Hi,
This might be a trivial question, but how the f.. do I set a static parent node id?
My setup is a MQTT gateway, 1 relay node and 3 temp nodes.

Disance in picture is equal to real life.
My problem is that, as long as temp2/3 sensors are not running, then the relay works fine.
As soon as I enable temp 2/3, the relay node thinks that it should communicate with those, as they are closer (which they are)The problem here is that the temp nodes are battery operated, so they sleep most of the time, hence I loose comm to the relay node. Therefore I really need to make the relay node talk to the GW with a static ID.
I've tried to change parentNodeId=AUTO to parentNodeId=0 in MySensor.h on the relay node, but without any working result :(
-
Thank you! It looks like it's working.
The relay is now talking directly to the GW. The 2 right-side temp sensors however, are now using the relay node as a repeater :P
I can live with that (still working as designed) only thing now, is that I think I have a faulty wirering connection to the radio on the relay node. After a while it goes "offline", but the fun part is that if I powercycle it, it's back online.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login