Hi,
I want to implement Server/Client model light switch where all nodes should receive the state from all.
How can we read the state of one client on another client ?
Thanks
Hi,
I want to implement Server/Client model light switch where all nodes should receive the state from all.
How can we read the state of one client on another client ?
Thanks
By spec, the client was designed not to talk to other client but to server. But it's possible. Simply change the publication address of the client to either the unicast address of the other client or the address that the client listen to, then the message will be received by that client.
If you want to broadcast a message to all devices, you can simply let all device subscribe to one group address and then publish the message to that address.
You can always go directly to access layer (skip the model layer) to send and receive message over mesh.
Thank you :) I will try out the alternatives you proposed.
Hey VB, that will be great if you provide some guidance or code to the community, if you have implemented !! Thank you !