Closed bc2297 closed 1 year ago
What version of UniFi OS are you running?
Network Application 7.2.94 on MacOS
If you sign into the Network UI in your browser and visit https://192.168.1.141:8443/proxy/network//v2/api/fingerprint_devices/0 or https://192.168.1.141:8443/v2/api/fingerprint_devices/0, do either of those work or do they both 404?
If you sign into the Network UI in your browser and visit https://192.168.1.141:8443/proxy/network//v2/api/fingerprint_devices/0 or
Does not work (not sure if extra slash was intentional)
https://192.168.1.141:8443/v2/api/fingerprint_devices/0, do either of those work or do they both 404?
Does work
@bc2297 Thanks, that helps. The plugin currently assumes https://192.168.1.141:8443 runs UniFi OS and https://192.168.1.141:8443/proxy/network the Network application, but I can likely work around that and make it work without proxy/network
. There's one more possible difference between pointing at UniFi OS or directly at the Network application, though. Do either or both of these links work? https://192.168.1.141:8443/api/users/self and https://192.168.1.141:8443/api/self
Neither 404, but the first returns useless data
{"meta”:{"rc":"error","msg":"api.err.NoSiteContext"},"data":[]}
@bc2297 Thanks, I think I've fixed this by reintroducing the "UniFi OS" setting. Can you install v1.2.5, disable that setting, restart, and see if it works now?
It boots now! But, it’s creating sensors based on
do you want me to make a separate issue for this?
@bc2297 Ah yes, please do! It'd be great if you can share the sections for the relevant devices from https://192.168.1.141:8443/v2/api/site/default/device, so I know what to filter for.
@DouweM Do you know if there are any confidential fields I should avoid posting publicly? Or is the whole thing safe to dump?
@bc2297 There's nothing sensitive in there, the only thing you may want to mask are the MAC addresses.
Describe The Bug: Error when loading plugin after update
To Reproduce: Load plugin
Expected behavior: No error
Logs:
Plugin Config:
Screenshots:
Environment: