linuxserver / Heimdall-Apps

Apps for Heimdall
MIT License
299 stars 325 forks source link

[BUG] - Unable to see configuration for Self Hosted UniFi Controllers (#798) nor stats #802

Open hibikipr opened 3 hours ago

hibikipr commented 3 hours ago

Describe the bug The new toggle button for self-hosted UniFi configuration does not show up in the heimdall configuration page. The live stats don't show up either, even when the connection test is successful. See Screenshots.

I have a Unifi Cloud Gateway Ultra

To Reproduce Steps to reproduce the behavior: Configure UniFi as an application.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Screenshot 2024-11-16 at 5 20 50 PM Screenshot 2024-11-16 at 5 24 35 PM

Version info (please complete the following information):

Additional context Add any other context about the problem here.

Results from curl -k -X GET -b cookie.txt https://192.168.3.1/proxy/network/api/s/default/stat/health {"meta":{"rc":"ok"},"data":[{"subsystem":"wlan","num_user":49,"num_guest":0,"num_iot":12,"tx_bytes-r":199070,"rx_bytes-r":344618,"status":"ok","num_ap":2,"num_adopted":2,"num_disabled":0,"num_disconnected":0,"num_pending":0},{"subsystem":"wan","num_gw":1,"num_adopted":1,"num_disconnected":0,"num_pending":0,"status":"ok","wan_ip":"XXX.XXX.XXX.XXX","gateways":["fxxx.xxx.x.xx.xx","XXX.XXX.XXX.XXX"],"netmask":"255.255.192.0","nameservers":[],"num_sta":58,"tx_bytes-r":290097,"rx_bytes-r":612271,"gw_mac":"XXX:XXX:XX:XX","gw_name":"CGU","gw_system-stats":{"cpu":"8.0","mem":"57.2","uptime":"636199"},"gw_version":"4.0.20.16882","isp_name":"XXX","isp_organization":"BHN-XXXX","uptime_stats":{"WAN":{"alerting_monitors":[{"availability":100.0,"latency_average":19,"target":"ping.ui.com","type":"icmp"},{"availability":100.0,"latency_average":101,"target":"1.1.1.1","type":"dns"},{"availability":100.0,"latency_average":100,"target":"8.8.8.8","type":"dns"}],"availability":100.0,"latency_average":20,"monitors":[{"availability":100.0,"latency_average":36,"target":"www.microsoft.com","type":"icmp"},{"availability":100.0,"latency_average":19,"target":"google.com","type":"icmp"},{"availability":100.0,"latency_average":21,"target":"1.1.1.1","type":"icmp"}],"time_period":86400,"uptime":203690}}},{"subsystem":"www","status":"ok","tx_bytes-r":290097,"rx_bytes-r":612271,"latency":24,"uptime":203706,"drops":2,"xput_up":37.0,"xput_down":534.0,"speedtest_status":"Success","speedtest_lastrun":1731754111,"speedtest_ping":17,"gw_mac":"9c:05:d6:6f:3f:0d"},{"subsystem":"lan","lan_ip":null,"status":"ok","num_user":9,"num_guest":0,"num_iot":1,"tx_bytes-r":1203695,"rx_bytes-r":10407,"num_sw":3,"num_adopted":3,"num_disconnected":0,"num_pending":0},{"subsystem":"vpn","status":"unknown"}]}

hibikipr commented 3 hours ago

Here is the screenshot for UniFi in Heimdall Screenshot 2024-11-16 at 5 35 33 PM