I've successfully configured MeiUnifi with two controllers in the configuration below. Everything seems to be working as expected other than client tracking. (WAN1 IP is disabled for both controllers -- separate and known issue discussed elsewhere.)
I've tested with 2 wireless devices moving between Site1 and Site2. They are Tracked Device1 (Win10 tablet) and Tracked Device2 (Android phone).
- Tracked Device1 virtual device status in HS updates correctly on both Site1 and Site2, including movement between WAPs within Site1. (Have only 1 WAP at Site2).
- Tracked Device2 status updates correctly on Site1, including movement between WAPs within Site1.
- Tracked Device2 status does not update correctly when connected to Site2. Rather than showing the Site2 WAP, the VD status shows the Site1 USG4-Pro. In the following image both devices are connected to AP-AC-Lite-broadway:
Tracked Device values update correctly. When connected to the WAP on Site2, both Tracked Device VDs have value 2 but are being assigned different statuses:
Here's HSPI_MeiUnifi_ClientConfig.json.
More things I ran across while troubleshooting. May or may not be related:
1. Errors are thrown at PI initialization when tracking is enabled for device(s). The number of errors relates directly to the number of tracked devices configured in HSPI_MeiUnifi_ClientConfig.json. Two errors appear for each tracked device once created, irrespective of whether tracking is enabled or disabled in the PI config. After creating these images I added 2 more tracked devices, and the number of errors increased to 10.
2. Once a device is enabled for tracking (and it's added to HSPI_MeiUnifi_ClientConfig.json and a HS device is created), if tracking is disabled it cannot be re-enabled in the GUI. The only way I've been able to re-enable tracking is to close the PI, edit HSPI_MeiUnifi_ClientConfig.json ("Enabled": true) and restart the PI.
Let me know what I can do to help troubleshoot. Thanks.
I've tested with 2 wireless devices moving between Site1 and Site2. They are Tracked Device1 (Win10 tablet) and Tracked Device2 (Android phone).
- Tracked Device1 virtual device status in HS updates correctly on both Site1 and Site2, including movement between WAPs within Site1. (Have only 1 WAP at Site2).
- Tracked Device2 status updates correctly on Site1, including movement between WAPs within Site1.
- Tracked Device2 status does not update correctly when connected to Site2. Rather than showing the Site2 WAP, the VD status shows the Site1 USG4-Pro. In the following image both devices are connected to AP-AC-Lite-broadway:
Tracked Device values update correctly. When connected to the WAP on Site2, both Tracked Device VDs have value 2 but are being assigned different statuses:
Here's HSPI_MeiUnifi_ClientConfig.json.
More things I ran across while troubleshooting. May or may not be related:
1. Errors are thrown at PI initialization when tracking is enabled for device(s). The number of errors relates directly to the number of tracked devices configured in HSPI_MeiUnifi_ClientConfig.json. Two errors appear for each tracked device once created, irrespective of whether tracking is enabled or disabled in the PI config. After creating these images I added 2 more tracked devices, and the number of errors increased to 10.
2. Once a device is enabled for tracking (and it's added to HSPI_MeiUnifi_ClientConfig.json and a HS device is created), if tracking is disabled it cannot be re-enabled in the GUI. The only way I've been able to re-enable tracking is to close the PI, edit HSPI_MeiUnifi_ClientConfig.json ("Enabled": true) and restart the PI.
Let me know what I can do to help troubleshoot. Thanks.
Comment