This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Adding a relay node in light-switch example

Hi,

I'm using two PCA10056 boards and my phone to perform the light switch mesh example. Now I want to perform something like, use nRF mesh app on my phone to turn on the LED in the client board, and the client board will act as a relay node and turn on the LED on the server board. That means to put the server board outside the range of my phone. I want to figure out several things:

1. Is it possible to use the nRF Mesh app to turn on the LED on the client board? Does the app have this function?

2. Do I need to change any of the sample code provided in nRF 5 for Mesh?

3. Are two PCA10056 boards and my phone enough to perform this test?

If someone tried this before, please let me know. Your help is much appreciated!

Regards,

Rosa 

Parents
  • Hi Rosa,

    Sorry for the delayed response. Yes, you should be able to use the nRF Mesh app to turn on the LED of the client board. However, you will need to update the client to also include the generic on off server model. This documentation may be helpful, along with this example.

    2) Yes, you will need to add the generic on off server model to the client model if you want to turn the light of the client on or off. If you take a look at the light switch server model, you can see that you are able to turn the server model light on & off from the app (under Node Control). You should not need to make any changes to the nRF Mesh app itself.

    3) Yes, but it would be useful to have multiple boards if you want a "proper" mesh network.

    Regards,

    Bjørn

Reply
  • Hi Rosa,

    Sorry for the delayed response. Yes, you should be able to use the nRF Mesh app to turn on the LED of the client board. However, you will need to update the client to also include the generic on off server model. This documentation may be helpful, along with this example.

    2) Yes, you will need to add the generic on off server model to the client model if you want to turn the light of the client on or off. If you take a look at the light switch server model, you can see that you are able to turn the server model light on & off from the app (under Node Control). You should not need to make any changes to the nRF Mesh app itself.

    3) Yes, but it would be useful to have multiple boards if you want a "proper" mesh network.

    Regards,

    Bjørn

Children
Related