Unifi Gateway sensor is broken, no idea why. Can anyone spot what's wrong?

In my configuration, I had the Unifi Gateway sensor working using this custom integration:

I installed it using HACS.

This used to work but now HA is complaining that Platform not found: sensor.unifigateway and I’m not sure what changed. Not sure if it’s something I’ve done, or if it was the upgrade to 0.95.x.

Can anyone spot what’s wrong?

In my logs, I see this:

You are using a custom integration for unifigateway which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.

My config:

- platform: unifigateway
  host: unifi
  username: !secret unifi_username
  password: !secret unifi_password
  verify_ssl: false
  monitored_conditions:
    - www
    - wlan
    - alerts
    - firmware

you should check the homeassistant.log file in your config folder. The real errors will be there if there is any. Your configuration looks correct based on the custom component. Also, you should probably make sure the component is up to date as well.

In the homeassistant.log there’s not much mentioned. The only entry I can find about this is this:

2019-07-04 13:43:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for unifigateway which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.

Component is also up to date.

I’m getting exactly the same

I tried to get this to work last night and got the same results. This was the first thing i tried to install with HACS, I wasn’t sure if that was my issue.

have you verified that the component is in a working state? This is a custom component, has the dev updated it recently?

Same issue here. Was working fine on 0.94, updated to 0.95 and is now broken

any resolution on this ?

Create an issue on the custom_components github page. But you’re in luck as there is already an issue about it.

https://github.com/custom-components/sensor.unifigateway/issues/10

Now you’ll have to wait until a fix occurs.

I can’t get this working even today. Can someone show me a working configuration.yaml of their setup and card template? I need wan ip and cpu / memory.

that component looks abandoned… No activity in 6 months and a pull request just sitting there. I doubt this still works. Why not use the built in component?

I have but I can’t find out how to get to the sensor for the USG for wanip mem cpu

snmp, use a mib browser to find the snmp address and pull it out.

Well THAT’s going to send me down a rabbit hole for days… never heard of that until now…

oh yeah, i’m currently looking for the oid’s but it’s been a while since I sniffed em out.

Try This --> https://github.com/doig007/sensor.unifigateway

That appears to be an outdated fork of the repo he linked in the original post

well it is the first (and only) one I have got to work on the UDMP…