I have discovered that UPnP often causes some issues from the USG side. My component is often “unavailable” I then reset/delete all upnp connection via cli and it is discoverable again…
ah cool, ur a tweaker too
i got one more question
i got all running for vpn and alerts too, but for firmware it says entity unkown
it is under monitored conditions though
is this the correct one?
entity: sensor.unifi_gateway_firmware
also for the vpn , it says its ok
but when does it say ok?
as soon as a device is connected through vpn or?
I saw that to, but that’s not from me.
Did see this in the beginning. You have to create other sensors for this from the gateway. Use template and then create more sensors. Here are some that you can create.
For the VPN I can’t tell you. I don’t use the sensor for vpn.
Yes I had that also… couldn’t find what the problem is.
For the download and upload it is the ping results of the test inside your controller.
So you first have to do the test and it will be filled with the results.
mmm
it gives me better result than to let HA use ookla.
Is there a way to make the usg test ad x times instead of doing it manually through controller?
Unifi USG is limited to 100Mbps for speed test due to hardware constraints. Slightly higher for USG4P.
If you have a faster connection, you’ll have to try something else to get accurate results otherwise they will max out at their limit.
Do the math for the speed test download:
Your connection speed times the speed test average time.
So if you’ve got 100 Mbps (which is 12.5 Mbps) multiplied by the time it takes to complete. Some test take longer, some shorter depending on the amount of data to be used for the speed test and the speed connection.
The larger the data amount used for the speed test the more accurate it is, 10MB vs 300MB can have very different speed test results, the later one being more accurate.
For me it takes about 20 seconds and I have a 100Mbps, so 100/8 (so you have MB/s) gives you 12.5 MB/s, multiplied by 20 seconds equals 250 MB for each speed test.
Personally I wouldn’t run the speed test more than 4-8 times a day. Even twice a day is good enough, it will also cause network bandwidth issues when you’re streaming or doing something and the speed test runs.
Also in the US many ISP have data caps and start charging after that so if you have a 100Mbps connection that takes 20 seconds to complete and you set it run it hourly you’ll run into 6GB daily usage or 180GB per month usage. The higher the connection and the longer the speedtest takes, the more data it will consume. There’s people reporting 15-20TB of data per month by running it hourly on a 500Mbps connection.
/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host ‘192.168.1.2’. Adding certificate verification is strongly advised. See: Advanced Usage - urllib3 2.2.1 documentation
InsecureRequestWarning,