got it thanks, I had a legacy set up in the config file, one of the things I had tried before, deleted it to just be Wink: Thanks for your help!
I’ve got two Sensi thermostats - one at my house, another at a rental property. I keep getting the error “[homeassistant.components.wink] Error on pubnub update for polling API for current state”
I stopped HA, deleted .wink.conf, and restarted - then reconfigured the Wink integration. Is this something that I should be concerned about? (Other than the errors in the log showing up every couple of minutes), or is there something I need to tweak?
Thanks!
Well it isn’t really a big issue, that happens when the pubnub update that gets sent back is malformed or missing data. In that case HA just polls Wink directly for the current states.
Are you sure it isn’t a big issue? I’m seeing my logs full of this error
2019-07-31 12:36:15 ERROR (SubscribeMessageWorker) [homeassistant.components.wink] Error on pubnub update for Sensi polling API for current state
and I am not able to manage my Sensi thermostat from HA.
It is possible it is a problem, but that error alone doesn’t mean there is one. The fact that you can’t control the thermostat seems like a problem. Do you see any crashes in your logs, try to change a setting and check the logs right after to see if there is an error.
Might need to enable some additional logging to see what is coming back from the pubnub update to see why it is throwing that error. I will try to figure out what needs to be enabled for that.
Add the following to your config, restart and you should get a log output of the exact message response from pubnub right before that error gets logged.
logger:
default: info
logs:
wink: debug
Looking at the Sensi app on my phone, it is possible that my automations are the issue and not that error. Although it is still disconcerting to see it in the logs.
Updated my response, try to enable debug logs so we can see whats going on.
Looks like it is my automations.
2019-07-31 13:04:07 WARNING (MainThread) [homeassistant.helpers.service] Not passing an entity ID to a service to target all entities is deprecated. Update your call to climate.set_temperature to be instead: entity_id: all
I am on 95.5 should I be getting this error? Error on pubnub update for Sensi polling API for current state
Should you? No, but if you did, like I said, it would not be an issue necessarily. I have seen that error in the past when too many updates are coming in at once so pubnub just directs the client (HA) to force refresh with the API (wink) in order to get the current state.
Hmm, not sure that is for sure something you should fix, but I wouldn’t think that would cause the error you are seeing.
Thank for the quick reply. I am actually running .96.5. I get this error over 100 times per day. The Sensi is working fine, just noticed the error in the Home-Assistant.log.
Appears WINK is down for the count again?
Are others seeing this when rebooting HA
Aug 09 2019 02:28:53 GMT-0400 (Eastern Daylight Time)
Error during setup of component wink
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 172, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/wink/init.py”, line 368, in setup
sub_details = pywink.get_subscription_details()
File “/usr/local/lib/python3.7/site-packages/pywink/api.py”, line 662, in get_subscription_details
response_dict = wink_api_fetch()
File “/usr/local/lib/python3.7/site-packages/pywink/api.py”, line 696, in wink_api_fetch
raise WinkAPIException(“Unexpected”)
pywink.api.WinkAPIException: Unexpected
Same here last night after i did a restart of HA. i thought I fat fingered something in my config.
A restart this morning and it is back working.
Anyone seeing issues with status updates from door sensors to home assistant?
I find that the Wink app shows a door was open then closed but the closed state never makes it to home assistant so Home-assistant still things the door is open. This only started in the last few weeks.
I was seeing issues with my door locks not showing up as being locked or unlocked, first time that has happened since I installed Z-wave locks a couple of years ago. For the last few days the locks seem to be showing the correct status now.
Personally I’m beginning to wonder if Wink is having financial problems, too many issues and too long to fix them when there are problems. Took them several days to resolve the Google Assistant issue just recently.
During that issue, strangely HA was working with Wink API so I just tied Google Assistant into HA to get my voice control…side benefit is Google Assistant can give status of the locks via voice commands…something I didn’t have when I had Google Assistant tied directly to WInk.
Anyone having issues with Wink - Climate lately? Both of my Sensi thermostats are showing unavailable on 0.98.0
http://status.winkapp.com/ not mentioning any issues but it’s not always accurate.
EDIT: And there it is:
Yup. Been down for me for a day or two.
Just received this, thought I would share here for those that don’t get these emails:
This afternoon, Sensi will be making some behind-the-scenes changes to their platform so they can continue to provide their users with a fantastic product experience. As a result, Wink also needs to make a few changes to how our integration with Sensi functions. Due to these changes, you may see a brief disruption in connectivity between your Sensi and Wink between 5pm and 9pm est. on Tuesday evening, September 3rd.
This also means that previously connected Sensi accounts will need to be reauthorized to work with Wink. Don’t worry though, it’s a very easy process which can be accomplished directly from the Wink app.
After 9pm on Tuesday evening, follow the steps below:
-
Select “Add to Wink” from the Wink app home page.
-
Find and select “Sensi Wi-Fi Programmable Thermostat”.
-
Follow the steps to sign into your Sensi account. Thats it!
DO NOT remove any of your Sensi products from the Wink app, or unlink the service prior to reauthorizing. Doing so will result in the loss of your custom automations and shortcuts.
If you have any additional questions, please don’t hesitate to reach out to our Customer Support team. Give us a call at 1-844-Wink-App, or email us at [email protected].
Thank you @Scope666 for posting this. Since there seems to be a Wink issue that isn’t reported on their status page all the time I just assumed it would come back eventually. I didn’t even think to look in the wink app and sure enough after I saw your post I checked and it said there was an account error. I did just re-link which took a while but now the wink status page is showing “Degraded Performance” for the Core API and although it looks like it sees the thermostats again in the app, it still isn’t updating…so now i am back to assuming it will come back eventually.