-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Unifi Smart Power devices #122
Comments
Thank you, this is not nearly enough information to support them though. Could you perhaps share a diagnostics file from the UniFi integration as a start? |
Sure, diagnostics file attached config_entry-unifi-1eabc036c156a091a334f15b0fad5845.json.txt |
I have a SmartPower PDU Pro if that's helpful for testing etc. |
Right now I'm reworking the implementation do I try to avoid expanding it at the moment. It shouldn't take too long though I don't know if I'll have a pause during my summer vacation |
Any update to this? |
Before expanding this Im doing some generic rewrites that will benefit future development. So no explicit ETA, maybe with 2022.10 but can't promise that |
Thanks for your continued work on this @Kane610 . |
After playing around with the Unifi API a little and doing some digging I came across this example of controlling the power outlets on a SmartPower PDU. Hopefully this helps as you continue to update the Unifi integrations. |
Good find. Thanks! Hope we can get it built into the UniFi integration at some point :) I'm looking to control the smart power strip. |
The Rewrite is going well, but I still won't promise an ETA though. This is on my todo list :) |
Just wanted to note as of an update(not sure as to when) it does seem possible to control these devices(atleast the smart outlet and strip). They appear in home assistant now with toggles for the power. |
I just updated to 2022.12.8 but don't have any entities that allow me to control the outlets on the smartPDU yet. Good to see there is progress though. |
Another feature request https://community.home-assistant.io/t/support-for-usp-pdu-pro-in-the-ubiquity-integration/550746 |
Can confirm for PDU I can not seem to control things. Single plug and strip still work fine for me |
Just bumping this. Would be great if PDU got added along with power consumption metrics |
I can perform any testing needed on the USP-PDU-Pro. Would love to see power consumption and relay switches in ha. |
I've submitted a PR for this feature: home-assistant/core#98081 @legomind feel free to give this branch a go on your system and let me know if anything comes up. |
Awesome glad to see this being done. Looks great. Cant wait for it to be merged. Happy to help test anything if needed. I have most of the smart power devices |
Its merged so available on dev shortly :) So @Cisien has provided power measurement sensors for all pdu. I think he also wants to enable relay control for the other devices as well which are not already supported. |
so, i think the change i'm proposing in #427 would magically start supporting PDU outlet switches, as well as letting us update the change I made in that PR to use the more self-documenting properties instead of a "caps" bitfield. Also, I just added a new PR for reading the AC outlet budget/consumption metrics |
😄 this is great I cant wait for it to hit main/release and use it |
We have merged @Cisien next PR with total power consu.ption of a pdu |
Just merged extended support for controlling outlet relays for PDUs. I think we can close this issue now. |
Thanks! But the kudos should go to @Cisien who put in the effort :) |
Updated my kudos accordingly 😉 |
Thanks! Let me know if you run into any issues! I'm guessing this is in the pipeline for the August (September?) release? |
Yes the beta will be on the 30th of August |
Beta is out and we can consider this issue completed. Thanks for your excellent contribution @Cisien |
Creating ticket as requested here, home-assistant/core#71531
Let me know what info you need. Happy to provide whatever is needed. Will just mention there are(as far as Im aware 2 different devices),
Single Outlet: https://store.ui.com/collections/unifi-accessories/products/unifi-smart-power
Strip: https://store.ui.com/collections/unifi-accessories/products/smartpower-strip
I have both of them(2 outlets, and 1 strip) so can provide whatever information is needed on either in case they different slightly
The text was updated successfully, but these errors were encountered: