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

Nordic Mesh2.2.0 implementing through mobile application

I'm using nRF52 DK, mesh SDK version 2.2.0

I want give demo of the Light-Switch example application by forming network through mobile. I found that through mobile application switch, we cannot control the lights. Is there any mobile application apart from nRF Mesh (android/IOS). And yeah through switch device I can on/off the lights but not through mobile application.  

My requirement is:

1. Control the lights subscribed to particular switch through that switch in mobile app.

2. Control all individual lights

Parents
  • Hi Pavan_Hr,

    This should be doable. First off, I would recommend taking a look at this youtube tutorial if you have not done so already.

    You can control the proxy server's lights by provisioning it first in nRF Mesh, then go into the Generic OnOff server model of the provisioned node, bind the app key (choose the first appkey, appkey 1). Then, you can toggle the LED 1 on/off using the Node Control functionality at the bottom (GenericOnOff state).

    This way, you can control the proxy server LED directly via the mobile app.

    If you want to control the lights that are subscribed to a particular group address which the client switch publishes to, you will most likely need to make some updates to the nRF Mesh app itself. The source code is available on our Github site: iOS, Android. There is an Issues tab there where you can ask to see if they will consider adding a feature to control all of the individual lights & the lights that are subscribed to a particular switch from the mobile phone.

    Are you planning on using Android or iOS?

    Kind Regards,

    Bjørn

Reply
  • Hi Pavan_Hr,

    This should be doable. First off, I would recommend taking a look at this youtube tutorial if you have not done so already.

    You can control the proxy server's lights by provisioning it first in nRF Mesh, then go into the Generic OnOff server model of the provisioned node, bind the app key (choose the first appkey, appkey 1). Then, you can toggle the LED 1 on/off using the Node Control functionality at the bottom (GenericOnOff state).

    This way, you can control the proxy server LED directly via the mobile app.

    If you want to control the lights that are subscribed to a particular group address which the client switch publishes to, you will most likely need to make some updates to the nRF Mesh app itself. The source code is available on our Github site: iOS, Android. There is an Issues tab there where you can ask to see if they will consider adding a feature to control all of the individual lights & the lights that are subscribed to a particular switch from the mobile phone.

    Are you planning on using Android or iOS?

    Kind Regards,

    Bjørn

Children
Related