How to get address of the browser instance

If you disable 3 buttons for the 1e user, then the will also be disabled for the other users.

I'm using the ip address of a specific user (tablet living room vs tablet bed room) to do some different actions. For me, load a different floorplan for the different tablets as default.

With ui_control you can get Getchanges and filter the ip address out with msg.socketip.

Maybe this can help you, have fun.

[{"id":"c6c67e1c.63cb1","type":"ui_ui_control","z":"b3f31bbd.8966b8","name":"GetChanges","events":"change","x":130,"y":140,"wires":[["3b5784d6.3a6fc4"]]},{"id":"3b5784d6.3a6fc4","type":"switch","z":"b3f31bbd.8966b8","name":"Device 192.168.0.151","property":"socketip","propertyType":"msg","rules":[{"t":"eq","v":"192.168.0.151","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":360,"y":140,"wires":[["75e63278.81e8bc"]]}]
1 Like