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
"Failed to set up Vizio platform" on startup if TV is off #30817
Comments
@Tediore this was fixed in a more recent version of |
Actually do me this favor just so we can verify that things will work before I submit the PR. Since you have
from pyvizio import Vizio
device = Vizio("name", "10.0.0.50", "id", "<AUTH_TOKEN>", "tv")
device.can_connect() The above should return Then do the following.
from pyvizio import Vizio
device = Vizio("name", "10.0.0.50", "id", "<AUTH_TOKEN>", "tv")
device.can_connect() The above should return Can you verify that is the case before I submit a PR? |
Absolutely, I can do that tonight. |
Yep, I received the same results. |
Great, submitted a PR to bump the pyvizio version which should resolve the issue. Assuming this makes 0.104.2, please let me know if this issue hasn't been resolved |
Awesome, thanks! Let me know if you ever need testing in the future. |
Will do, thanks! I was actually interested in sending someone with a Vizio TV a script to get a raw dump of the API responses from your device for a collection of API commands so that I could set up some tests in the |
@Tediore this didn't make 0.104.2 because of concerns about how the latest version of |
No worries, thanks for letting me know! I implemented a pretty ridiculous workaround in the meantime... I have a bash script running on the host that runs the power-get command every five seconds and prints the output to a file. Then I have a file sensor set up in home assistant that reads that file. I use the integration more for turning the lights on/off when I turn the TV off/on instead of actually turning it off/on with Home Assistant. If it's stupid and it works, it's not stupid...right? 😛 |
It's not ridiculous if it works! OK so this bug fix may have to wait until 105.0. It turns out that in order to bump the version number, another larger PR would have to get merged in, and I'm not sure if it makes sense to do that in this release. if you are curious, you can follow the convo in the linked PR above |
Also @Tediore you may want to reopen this issue for visibility until either the bug fix version gets released or 105.0 gets released |
No prob! Appreciate the heads-up. Thanks for your work with this component by the way, it powers one of my favorite automations (the one I mentioned earlier). @MartinHjelmare would you mind reopening this issue per @raman325 's recommendation? |
I am also having issues 104.X will not see Vizio TV if they are off during a server reboot and are unavailable, they are seen and seem to function as intended if they are on during server reboot |
@trentjw sorry about that! This is a known bug that will get resolved in 0.105. There were significant changes done to the integration for 105 that made it difficult to hotfix this for 104. |
understood looks like I flat out need to skip 104 as it has issues with zwave and wireless devices as well LOL pretty much broke everything except my Kodi's |
If I didn’t need 104 to fix ring I probably would have as well. This was not the cleanest release. |
Hello, what's the eta for 0.105? We are experiencing so many cons with 0.104 (deconz, wifi and zwave unavailability, etc...). Thanks |
Major releases are typically every three weeks. You can always roll back to a previous version if you're experiencing issues with 0.104. |
Just tried but have so many problems (and had in the past) with restore from hassio snapshot (I'm on hassio via docker on a rpi3)... |
Any update on getting this into 0.105? Looking at the notes for 0.105 I don't see vizio mentioned anywhere. |
@broyuken not sure what notes you are looking at but yes, the fix should be included. There are some breaking changes that you will need to make though since this release also brings config flow support. |
Any ETA for 0.105? |
So that puts it at next week. |
I believe this issue can now be closed |
Ah yep! Sorry, forgot to close it. Thanks again. |
Home Assistant release with the issue: 0.104.0
Last working Home Assistant release (if known): 0.103.6
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io on Raspbian 10
Integration: https://www.home-assistant.io/integrations/vizio/
Description of problem:
If the TV I have connected to Home Assistant via the Vizio SmartCast integration is turned off when I restart Home Assistant, an error is printed and the device becomes
unavailable
with therestored
attribute:The host is valid and available, and the auth token is correct. I've confirmed this by running the
power-get
command withpyvizio
. I setlogger
to debug, but nothing of interest seems to appear in the log related to the Vizio integration.Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
TV power mode is set to "quick start" if that's relevant. Model E55-E2. Please let me know what I can help test. As stated previously, I have
pyvizio
installed outside of Home Assistant, so I can run commands with that.The text was updated successfully, but these errors were encountered: