-
Notifications
You must be signed in to change notification settings - Fork 36
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
How can I get an outlet's name? #49
Comments
Short answer without me doing any test code, it should be available on the devices call, then looking for the device with that guid. Usually I work the opposite way, if you make a call for all the devices it should populate the outlet object on the outlet device and that should give you most of the data you need |
Mike,
Thanks for getting back to me so quickly. All I'm seeing when I look at
the outlet objects returned from get_devices_status() is the device_gid and
a channel name of None. That's ok for me for now but having a human
consumable name would be nice.
Regards,
Daniel Whelan
DS Whelan Consulting, LLC
+1 949 248-1098
…------------------------------
This communication is only for the use of the intended recipient. It may
contain confidential or proprietary information. If you are not the
intended recipient or have received this communication in error, please
notify the sender via phone and destroy this communication immediately.
On Mon, Apr 17, 2023 at 10:13 AM Mike Marvin ***@***.***> wrote:
Short answer without me doing any test code, it should be available on the
devices call, then looking for the device with that guid. Usually I work
the opposite way, if you make a call for all the devices it should populate
the outlet object on the outlet device and that should give you most of the
data you need
—
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEXI3YMOI4IFO66Q4I2R74LXBV22VANCNFSM6AAAAAAXBOYWOU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This call might do it. I thought they were returning this info on the basic call now but I might be mistaken and you might still need to do this. https://github.com/magico13/pyemvue#get-additional-device-properties Call |
Perfect! Thanks Mike.
Regards,
Daniel Whelan
DS Whelan Consulting, LLC
+1 949 248-1098
…------------------------------
This communication is only for the use of the intended recipient. It may
contain confidential or proprietary information. If you are not the
intended recipient or have received this communication in error, please
notify the sender via phone and destroy this communication immediately.
On Mon, Apr 17, 2023 at 1:48 PM Mike Marvin ***@***.***> wrote:
This call might do it. I thought they were returning this info on the
basic call now but I might be mistaken and you might still need to do this.
https://github.com/magico13/pyemvue#get-additional-device-properties
Call vue.populate_device_properties(device) with the device object from
get_devices and it should fill in the remaining properties that are set in
the app, like name.
—
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEXI3YLGQWBEPM4MNZUS37LXBWUBLANCNFSM6AAAAAAXBOYWOU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I'm experimenting with your Emporia API. I currently only have an Emporia Smart Plug (aka an outlet device) and can see that device using your API, but I don't see any way to see the name associated with that outlet. Is it possible to do so, and if so, how?
The text was updated successfully, but these errors were encountered: