# One Client One Tag Set

**URL:** <https://forum.inductiveautomation.com/t/one-client-one-tag-set/38664>\
**Category:** Ignition\
**Created:** [September 14, 2020, 6:35pm UTC](https://forum.inductiveautomation.com/t/one-client-one-tag-set/38664 "2020-09-14T18:35:06Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 15, 2020, 12:14pm UTC](https://forum.inductiveautomation.com/t/one-client-one-tag-set/38664/6 "2020-09-15T12:14:38Z")

</div>

I have a client using RPi clients with a similar design, where only one (Vision) client is supposed to work with a given machine. I used a database to map client MacIDs to machine IDs, where a client startup script performs the check and opens the correct window with the correct tagpath. Any client that doesn't find itself in the DB goes to a "Commissioning" window and is shown a multi-level list (facility/department/line) of machines that it _could_ be assigned. Machines already assigned to a different client are disallowed. A supervisor can forcibly "unassign" a client that isn't connected. The DB table has the machine ID as a primary key so no two clients can ever be given permission.

Use this technique to get the outbound network interface's Mac ID:

> [@Mobile Client MAC Address](http://forum.inductiveautomation.com/t/mobile-client-mac-address/23037/10):
>
> In a real Vision client, you can obtain the local MAC addresses with the following script: from java.net import NetworkInterface # Get list of local mac address as strings def myMacIds(): macs = [ni.hardwareAddress for ni in NetworkInterface.getNetworkInterfaces() if ni.hardwareAddress] return [":".join(["%02x" % (b & 0xff) for b in mac]) for mac in macs] Also, again in a real Vision client, you can obtain the outbound network interface and the corresponding local IP address the clien…

---

_[View the full topic](https://forum.inductiveautomation.com/t/one-client-one-tag-set/38664)._
