My project consists in a crossbar.io router with a python component, to wich many python callees will register the same set of functions. Lets think of a network of IoT light dimmers, each one will register the same dimm_light(value)
function and return the sensed light of the room.
What would be the best way of identifiyng each one, to be able to call the dimm_ligth
function of each device? there would be many of them: living room dimmer, kitchen dimmer, bedroom... even different houses, etc.
You can register procedures like
That is, have a device ID as part of the URI.