It is working without region - when the site is default. Thanks.
hey guys,
I decided to rewrite my unifi sensor, but this time using the unificontrol library, so hopefully it will work with various unifi versions as soon as the library support it (there’s work done and should be merged in the stable version). So hold on for a few weeks :-).
Great news …thanks a lot mate
In case you weren’t factoring it in to your rewrite, I just spotted this in my logs and wanted to let you know…
No ‘version’ key in the manifest file for custom integration ‘my_unifi’. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'my_unifi’
First part of the Breaking Changes for 2021.3
Is this component still under development?
Hey,
I have some good news. There’s a new version of my unifi sensor at: https://github.com/clyra/unifics. It has support to hacs but not there yet (you can add it as a custom repository in hacs). It’s async and uses the unifcontrol library. I’m using the udm-support branch of the unificontrol library, so it “should” work with UDM, but need testing. It has support to be configured by the UI. You can still use the yaml, but be aware that I changed a few configuration options (“url” is now “host”, so dont include the “http[s]” part).
Hey. I missed one place where the component should be “async” and it broke on HA 2021.4.0. Just fixed (or hope so…) that. New version on git repo.
Hi, wondering if you could throw some light on this? Getting the following error:
2021-04-09 11:10:34 ERROR (SyncWorker_4) [custom_components.unifics.api_wrapper] unificontrol error: Expecting value: line 2 column 1 (char 1)
Using a CloudKey Gen2 running network v6.0.45, HA 2021.4.1 and the following configuration:
- platform: unifics
name: Unifi Sensor
host: 192.168.0.42
port: 443
username: !secret unifi_user
password: !secret unifi_password
# site: <your "site" on controller> (optional, default: 'default')
# verify_ssl: <True/False> (optional, default: 'False')
# udm: <True/False> (optional, if you have a Unifi Dream Machine use True as the API is different)
I know I can get through to Unifi with the credentials and port number as I have these configured for the unifigateway integration (which I’ve disabled currently to have a go at this exciting looking one!).
Thanks in advance
It’s because the CloudKey now runs UniFiOS that was originally on the UDM but has been rolled out onto the CloudKeys now
hey guys,
I’m about to make a few changes to the sensor, like add the wired devices counter back. Is there something else you would like to add?
Is there currently a “Number of WiFi clients” sensor? Because I’ve looked through what I have available and I don’t see this?
did you tried my sensor? this is what it does.
Apologies, I thought this was for the official UniFi integration. I have not used your custom component.
…any plans to add these sensors to the official UniFi integration?
No problem @Alec . Well, I dont have any plans to add the sensor to the official Unifi integration, but who knows… I do have plans to make it into HACS so it should be easier to install and upgrade.
Hi there!
This custom_component broke with the latest update due the lack of Manifest file
Are you planning on updating it? Many of my automation depend on the amount of Wifi devices and I would need to know If i need to find a replacement!
Have you tried the new component mentioned above? As far as I can see it does everything that the old integration did
Oh snap, I didn’t saw it!
Sorry!
Although, it seems to be counting my devices in double?
Maybe cause it also pulls the Switches?
As you can see, it doubled after the update of the component:
Hi,
That’s new… The new component is a bit different from the old one as it get the number of the devices from the AP instead of listing every device and count them. I can fix it, but will need some logs from you. Please open a issue on github.