A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci>python interactive_pyaci.py -d COM8 --no-logfile To control your device, use d[x], where x is the device index. Devices are indexed based on the order of the COM ports specified by the -d option. The first device, d[0], can also be accessed using device. Type d[x]. and hit tab to see the available methods. Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] Type 'copyright', 'credits' or 'license' for more information IPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help. In [1]: db = MeshDB("database/mesh_database.json") --------------------------------------------------------------------------- TypeError Traceback (most recent call last) A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\interactive_pyaci.py in () ----> 1 db = MeshDB("database/mesh_database.json") A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\database.py in __init__(self, path) 67 self.iv_index = 0 68 self.iv_update = 0 ---> 69 self.load() 70 71 @property A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\database.py in load(self, path) 86 self.provisioners = [mt.Provisioner(**p) for p in data["provisioners"]] 87 if "nodes" in data: ---> 88 self.nodes = [mt.Node(**n) for n in data["nodes"]] 89 if "groups" in data: 90 self.groups = [mt.Group(**g) for g in data["groups"]] A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\database.py in (.0) 86 self.provisioners = [mt.Provisioner(**p) for p in data["provisioners"]] 87 if "nodes" in data: ---> 88 self.nodes = [mt.Node(**n) for n in data["nodes"]] 89 if "groups" in data: 90 self.groups = [mt.Group(**g) for g in data["groups"]] A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in __init__(self, UUID, device_key, unicast_address, net_keys, config_complete, security, name, cid, vid, pid, crpl, network_transmit, relay_retransmit, features, elements, app_keys, secure_network_beacon, default_TTL) 645 self.crpl = unpack(Identifier, crpl) 646 self.features = unpack(NodeFeatures, features) --> 647 self.elements = [unpack(Element, e) for e in elements] 648 self.app_keys = [KeyIndex(index) for index in app_keys] 649 self.secure_network_beacon = secure_network_beacon A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in (.0) 645 self.crpl = unpack(Identifier, crpl) 646 self.features = unpack(NodeFeatures, features) --> 647 self.elements = [unpack(Element, e) for e in elements] 648 self.app_keys = [KeyIndex(index) for index in app_keys] 649 self.secure_network_beacon = secure_network_beacon A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in unpack(cls, obj) 72 return cls(*obj) 73 elif isinstance(obj, dict): ---> 74 return cls(**obj) 75 else: 76 return cls(obj) A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in __init__(self, index, location, models, unicast_address, name) 602 self.index = index 603 self.location = Identifier(location) --> 604 self.models = [unpack(Model, m) for m in models] 605 if unicast_address: 606 self.unicast_address = UnicastAddress(unicast_address) A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in (.0) 602 self.index = index 603 self.location = Identifier(location) --> 604 self.models = [unpack(Model, m) for m in models] 605 if unicast_address: 606 self.unicast_address = UnicastAddress(unicast_address) A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in unpack(cls, obj) 72 return cls(*obj) 73 elif isinstance(obj, dict): ---> 74 return cls(**obj) 75 else: 76 return cls(obj) A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in __init__(self, model_id, subscribe, publish, bind, company_id) 588 589 self.subscribe = [any_address(a, allow_unassigned=False) for a in subscribe] --> 590 self.publish = unpack(Publish, publish) 591 self.bind = [KeyIndex(i) for i in bind] 592 A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in unpack(cls, obj) 72 return cls(*obj) 73 elif isinstance(obj, dict): ---> 74 return cls(**obj) 75 else: 76 return cls(obj) A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in __init__(self, address, index, ttl, period, retransmit, credentials) 362 self.ttl = TTL(ttl) 363 self.period = PublishPeriod(period) --> 364 self.retransmit = unpack(PublishRetransmit, retransmit) 365 self.credentials = FriendshipCredentials(credentials) 366 A:\nrf5_SDK_for_Mesh_v2.0.1_src\scripts\interactive_pyaci\mesh\types.py in unpack(cls, obj) 72 return cls(*obj) 73 elif isinstance(obj, dict): ---> 74 return cls(**obj) 75 else: 76 return cls(obj) TypeError: __init__() got an unexpected keyword argument 'interval'