These errors aren’t coming from Wink they are the underlying networking library that is throwing them. I am not 100% on how to filter those out. Can you send me the log?
I was reluctant to set my default logging to critical, but have done so now and see that this does hide the detail for errors/warnings. There is still a summary provided:
Exception in subscribe loop: HTTP Client Error (400): {"message":"Invalid Subscribe Key","error":true,"service":"Access Manager","status":400}
1:03 PM /usr/local/lib/python3.7/site-packages/pubnub/pubnub.py (ERROR) - message first occured at 1:03 PM and shows up 3xxx times
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='ps.pndsn.com', port=443): Read timed out. (read timeout=10)")': /v2/presence/sub-key/sub-cxxx/channel/908xxx%7Csensor_pod-592455%7Cuser-559xxx%7Clock-195747%7Cuser-559xxx%7Clight_bulb-3177836%7Cuser-559xxx%7Clight_bulb-3199554%7Cuser-559xxx%7Clight_bulb-3150844%7Cuser-559xxx%7Clight_bulb-3156957%7Cuser-559xxx%7Cuser-559xxx%7Clight_bulb-3250112%7Cuser-559xxx%7Clight_bulb-3668414%7Cuser-559xxx%7Clight_bulb-3796400%7Cuser-559xxx%7Cbinary_switch-624094%7Cuser-559xxx%7Cbinary_switch-764524%7Cuser-559xxx%7Cbinary_switch-771093%7Cuser-559xxx%7Cbinary_switch-777551%7Cuser-559xxx%7Chub-516611%7Cuser-559xxxxx8%7Cgarage_door-123007%7Cuser-559xxxxx/heartbeat?heartbeat=300&pnsdk=PubNub-Python%2F4.1.0&uuid=xxx
1:03 PM /usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py (WARNING) - message first occured at 1:03 PM and shows up 3xxx times
It’s not just throwing the errors, status updates don’t seem to be coming through at all, so hiding the warnings isn’t going to solve the problem. Glad I’m almost completely off Wink at this point.
I too am seeing those errors since 7pm EST last night. Now none of my sensors are indicating status changes etc through Node-Red or through the default HA automation tasks.
Right now I am dead in the water…
Its not all WINK… because Alexa and other tools are still communicating to the Lutron interface via wink. So it may be the WINK local working but not cloud APIs?
Yes, I’m painfully aware of that. Until such time Wink comes fully back online OR I can replace the Wink and re-pair a bunch of zwave devices and get Google assistant working, I was just trying to minimize the intense crap in the logs.
That would hide the connectionpool WARNINGS. Not sure how that would help with the pubnub ERRORS. I would try it, but a lightning strike knocked our broadband transmission tower offline an hour ago, so no home Internet ('cept my cell phone).
EDIT: @web10321 - Nope, didn’t work - still spammed by pubnub errors during this extended wink outage, but it did eliminate the warnings. A bit drastic, but setting the default logging to critical is good enough for now to save wear and tear on the sdcard.
I concur - just posted similar item in the forums too regarding the sensor data is not working.
This appears to be a HA to WINK issue as the WINK app controls the items just fine as well as robots are working between the sensors and lights… but HA is not detecting state changes.
Home Assistant relies entirely on pubnub for push updates to get updates in to HA. Wink probably falls back to polling their API for updates. So if there is anything related to pubjub going on HA isn’t going to work.
In addition to setting log levels, I added an automation to issue “service: wink.refresh_state_from_wink” each minute. That is helping to keep my sensors and switches almost up-to-date.
I would be satisfied to turn off the pubnub calls altogether if it were possible. w1ll1am23, could you post such code?