Can other sensors send data to my mysensors?
-
Hello,
I am starting with MySensors and I have a question. With other networks you have an (home-)id. But with MySensor you have only an unique ID from 0 to ... If there is another MySensor in the neighborhood will it also send data to my newtork?
Regards
Frank
-
As soon as there is no security feature enabled, the basic answer is yes, your gateway will be able to see neighbour's nodes and vice versa, all nodes and the gw. are just doing kind of broadcasting.
As long as the nodes are not "included" (and registered by the controller), nothing will happen.
To avoid problems, you may enable security features or use a different channel for transmission (nRF).
-
in addition to @rejoe2's answer, you can also change the base address of your sensor network, by setting MY_RF24_BASE_RADIO_ID in your code
https://github.com/mysensors/MySensors/blob/067519c500d4e1cb813c486fd34000bd8c83c337/MyConfig.h#L339
This needs to be set to the same value on ALL units in you mysensors network
-
@tbowmo said in Can other sensors send data to my mysensors?:
can also change the base address of your sensor network, by setting MY_RF24_BASE_RADIO_ID in your co
That's really cool .. When was this implemented ?
I asked the same question 1.5 years ago before I got busy and stopped following up with MySensors community. I am glad I am back
https://forum.mysensors.org/topic/3327/mixing-sensors-in-two-houses
-
@ahmedadelhosni since MY_RF24_BASE_RADIO_ID is mentioned in that thread we can probably safely assume that it was implemented before that time at least.
-
@mfalkvidd yeah right. I didn't read the whole replies again.
I guess this changing the base_id is a good solution as it has large scale. Changing the Fre may be needed if there was radio interference between the two nodes.
Thanks all.
-
@ahmedadelhosni It's been in there for ages: https://github.com/mysensors/MySensors/blob/4783cac945df33a84ef20572c87557087f453ae8/libraries/MySensors/MyConfig.h#L11
(this is from 1.4.1, over 3 years ago. Can't go back any further on GitHub )
-
Could you not also change what channel your radios ran on, at least for nRF24 radios, if a neighboring house ran on a certain channel? Wouldn't that give some separation between systems?
-
@dbemowsk yes. That solution is also mentioned in the linked thread
-
@mfalkvidd Sorry, missed that.
-
@Yveaux Oh right :