Using the zerynth ADM


#1

We are having trouble understanding how groups work with the ADM and think we would benefit from a working example if available? Are we able to access each of the devices in a group from the same index.html template?


#2

Hi @nigelibrown,

what you are trying to do is definitely possible, but is, on the other hand, an advanced functionality that goes beyond the scope of the ADM seen as a prototyping sandbox.

You can access each device in a group opening a WebSocket to the whole group where you will receive messages from all devices belonging to it.
Then you can individually send messages to each device opening one WebSocket for device.

Unfortunately this cannot be done using our z.js library, but has to be performed manually by custom JS code.