Thanks for sharing. I follow most of these.
Hiding network is mostly for preference.
Not going to say “you should not” but rest assured that any person who is tech savvy enough to hack into your wireless network is not going to care whether or not you SSID is being broadcast because there are tools out there, now, that will find them.
I have one network on WPA3 (need to for 6GHz radios), which has higher security. I just cannot see a majority of these IoT devices out in the wild ever being able to support WPA3, even if it is just 2.4GHz or 5GHz…most IoT devices do not come with anything except a 2.4GHz radio in them.
Anyone here use the switch for wlan?
Curious to know if this is all wifi or can be done by ssid?
Also if it does work per ssid does it knock out all wifi or just that ssid?
Using another system now that does each ssid, but takes down all wifi for a few seconds and wondering if unifi did the same.
Thanks
I’ve noticed when I switch one of the ssid switches off it does knock out all the ssids briefly
I’ve noticed the same thing.
The entity I use is only for one SSID, but it loooks like it’s resets the wifi radio so all go SSID’s go down for +/- 30 secons
I have described in bit more detail how I made this card, so that hopefully others can make this card as well. Not everyone is handy with this sort of thing.
Hey all!
Another month and another release so here comes the UniFi release notes for Home Assistant 2023.9.0.
Got some decent amount of new features with this release and some long awaited improvements. There is no longer any need to time switching PoE controls as the integration will queue them up and send new commands every 5 seconds. Added a restart device button, it is a soft restart so it will not break PoE if restarting a PoE switch. @Cisien came out from nowhere and developed some awaited extensions to PDU devices with both switching functionality for newer outlets as well as a lot of power sensor reporting. Also now its possible to control port forwarding.
Try these features out during the beta, feedback is appreciated.
Cheers!
/Robban
- Restart device button
- WLAN entities should be unavailable if WLAN is disabled
- PDU power statistics per outlet @Cisien
- Overall AC power budget and consumption values from PDU @Cisien
- PDU outlet switch @Cisien
- Port forward switch
- Allow queueing PoE commands
- Add Network app version to UniFi device
aiounifi library v53-v60 change log
For feature requests of the integration post an issue at aiounifi github
If you appreciate my work I’m on Github Sponsors.
I’m using the unifi integration to generate a QR code for the guest network. Trying to see if there is a way to “save” the qr image to a png (or other file) in www/local or something along those lines, or is it only generated run-time?
The end goal is to be able to generate the image out of HA (which works fine) but actually host it on a separate page on a LINX dashboard?
It’s generated at runtime so never written to file system. Not sure if there is any service you can use to copy it to file system.
so played around a bit with it and found a way to do this relatively easily, tested and looks good. The details to construct the link are actually in the entity state + attributes
this is the template i used to generate the link, where
image.guestnet_qr_code = qr entity from the unifi integration
entity_picture = link to the api with token embedded
state=timestamp that is used in the actual url
http://hassio.local:8123{{ state_attr('image.guestnet_qr_code', 'entity_picture') }}&state={{ states('image.guestnet_qr_code') }}
note - the token changes frequently, but using the template ensures im always pulling the current one being used by the integration
bit of a hack but it works
New user here, thanks for the integration. I share the frustration with how 1 device can be utilized by multiple integrations.
I guess that this is a platform issue. In my case my Apple TVs show as using both Apple TV and Ubiquiti integrations. The major issue to me is that the icon HA has chosen is the Ubiquiti logo. There’s no way to prioritize which logo is chosen (that I can see). I don’t know if this is an issue that is being tracked at the platform level.
There is work in progress which will improve this. The registry needs to know which is primary and which is secondary. The registry is not related to any platform so I don’t understand what you mean by that.
platform = Home Assistant. It’s a global Home Assistant issue. Not any particular integration issue.
Hey all!
Another month and another release so here comes the UniFi release notes for Home Assistant 2023.10.0.
I’ve continued to clean up the library with the current focus being splitting up websocket separating responsibilities between library and integration, this one definitely warrants some extra eyes on in beta.
Try these features out during the beta, feedback is appreciated.
Cheers!
/Robban
- Add device uptime and temperature sensors
- Streamline loading platforms
- Remove legacy PoE client clean up
- Remove hard coded Icon from Unifi device scanner
- Rewrite websocket logic
aiounifi library v62-v63 change log
For feature requests of the integration post an issue at aiounifi github
If you appreciate my work I’m on Github Sponsors.
Awesome work! I installed it and has been perfect since day 1!
I am wondering though… I know the PPSK (private PSK?) is in a pre release state as of today, that might change at any time, but…
I currently use the Unifi integration and place the QR code in a wall panel. I then use a script that changes the password of a certain SSID every 24 hours… Is there any way to achieve this with say, the third PPSK in the list of said SSID?
I have no idea, do you have an example of the API output with the PPSK?
I’m no programmer…
You can enable debug logging of the integration and look at the debug log, you should be able to find the ppsk on your wlan if it is provided.
Found them! Yes, they are exposed to HA.
This is what I think is relevant from the code… I’ve redacted some parts for privacy, others were already redacted by the log itself:
"**REDACTED**6f8326d9b": {
"setting_preference": "manual",
"dtim_6e": 3,
"wpa3_support": true,
"minrate_na_advertising_rates": false,
"wpa_mode": "wpa2",
"minrate_setting_preference": "auto",
"minrate_ng_advertising_rates": false,
"b_supported": false,
"radius_das_enabled": false,
"group_rekey": 0,
"radius_macacl_format": "none_lower",
"pmf_mode": "optional",
"wpa3_transition": true,
"passphrase_autogenerated": true,
"private_preshared_keys": [
{
"password": "**OBVIOUSLY REDACTED**",
"networkconf_id": "<**REDACTED**8469dd7fd"
},
{
"password": "**OBVIOUSLY REDACTED**",
"networkconf_id": "**REDACTED**ed08efacdf2f"
},
{
"password": "**OBVIOUSLY REDACTED**",
"networkconf_id": "**REDACTED**0ed08eface00d"
},
{
"password": "**OBVIOUSLY REDACTED**",
"networkconf_id": "**REDACTED**3c7433f2a5"
}
],
"bc_filter_enabled": false,
"tdls_prohibit": false,
"mcastenhance_enabled": true,
"usergroup_id": "**REDACTED**308469dd7fe",
"schedule_enabled": false,
"proxy_arp": false,
"country_beacon": false,
"sae_sync": 5,
"uapsd_enabled": false,
"iapp_enabled": true,
"name": "Sojuelix",
"site_id": "**REDACTED**308469dd7e8",
"hide_ssid": false,
"wlan_band": "both",
"_id": "**REDACTED**506f8326d9b",
"private_preshared_keys_enabled": true,
"no2ghz_oui": true,
"x_iapp_key": "**REDACTED**0f5d7ea5e57dd32d28",
"auth_cache": false,
"networkconf_id": "**REDACTED**ff308469dd7fd",
"dtim_na": 3,
"is_guest": false,
"minrate_na_enabled": false,
"sae_groups": [],
"enabled": true,
"sae_psk": [],
"wlan_bands": [
"2g",
"5g"
],
"mac_filter_policy": "allow",
"p2p_cross_connect": false,
"security": "wpapsk",
"ap_group_ids": [
"**REDACTED**8469dd807"
],
"l2_isolation": true,
"minrate_ng_enabled": true,
"bss_transition": true,
"minrate_ng_data_rate_kbps": 1000,
"radius_mac_auth_enabled": false,
"wpa3_fast_roaming": false,
"schedule_with_duration": [],
"pmf_cipher": "auto",
"ap_group_mode": "all",
"wpa3_enhanced_192": false,
"vlan_enabled": false,
"fast_roaming_enabled": false,
"rrm_enabled": false,
"wpa_enc": "ccmp",
"x_passphrase": "**REDACTED**",
"radius_macacl_empty_password": false,
"mac_filter_list": [],
"dtim_mode": "default",
"p2p": false,
"schedule": [],
"element_adopt": false,
"bc_filter_list": "**REDACTED**",
"dpi_enabled": false,
"minrate_na_data_rate_kbps": 6000,
"mac_filter_enabled": false,
"sae_anti_clogging": 5,
"dtim_ng": 1
},
I’ve checked the QR code of the PPSK network and the password that it leads to is the regular psk, even though it is disabled…
hey danielccm, thank for this information.
I’m using the script here for our homeWIFI / guestWIFI (UPDATED: Automating Unifi WiFi SSID password changes and QR code generation - #62 by Robban)
with the private-preshared_keys I don’t know how to change the script to automate the password change, maybe you can help out a bit? Or is the password change possible now with the Unifi Integration?