ShotokanZH / MiWiFi_Mesh_Node_Adder

Bypasses the need to set the Xiaomi device to Singapore region by adding a node via API
MIT License
55 stars 10 forks source link

Stuck after Mac adresses showing up #3

Closed vhcampos closed 12 months ago

vhcampos commented 3 years ago

First of all, thank you for your effort on it and the will to share with us.

I have alittle issue that maybe is something easy to overcome. After my master router (AX3600) find the MAC adresses from client router (AX1800), it shows this: "Client (not configured) 5GHz mac address (AA:BB:CC:DD:EE:FF):"

If a try to insert the right MAC, it shows me some error like that: "Adding 9C:9D:7E:9D:5E:C8 as mesh node.. Traceback (most recent call last): File "C:\Users\campo\Desktop\MiWiFi_Mesh_Node_Adder-main\addmesh.py", line 165, in if router.add_mesh_node(mac_address_client): File "C:\Users\campo\Desktop\MiWiFi_Mesh_Node_Adder-main\addmesh.py", line 139, in add_mesh_node jdata = response.json() File "C:\Users\campo\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 900, in json return complexjson.loads(self.text, **kwargs) File "C:\Users\campo\AppData\Local\Programs\Python\Python39\lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\campo\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\campo\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)"

Could you help me?