I’ve noticed that Wink stops updating device states overnight since the switch to Pubnub. I’m guessing it must be a long period of inactivity that’s triggering it. At some point it starts working after I turn enough lights on or off, but the states of the rest of the devices show incorrectly until each individual device is toggled or I restart HA. I’m on Windows 10, running 0.23, as I can’t get 0.23.1 to install even using the pycrypto windows installer. Any help on either subject would be appreciated…
Check out your HASS log. My API credentials expired for some reason a few days ago. You can go here to get new ones:
Or I used: https://winkathome.net/
Worked for me.
I’m getting this giant error every night around the same time (2315L). I’m guessing this is what’s causing the issue, but have no idea what it means. I have discovered that turning a light on or off through HA instead of Wink seems to get it back on track. So I may schedule something early in the morning to turn a light on as a workaround for now.
requests.packages.urllib3.connectionpool: Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by ‘ReadTimeoutError(“HTTPConnectionPool(host=‘pubsub.pubnub.com’, port=80): Read timed out. (read timeout=15)”,)’: /v2/presence/sub-key/sub-c-f7bf7f7e-0542-11e3-a5e8-02ee2ddab7fe/channel/81024af6ef28c86f0b4ad72cdaffa8186c184836%7Cgarage_door-42241%7Cuser-252560%2Ce941a51571fcffd3d2383f92824dcb3273bc0a83%7Clight_bulb-1323779%7Cuser-252560%2C3416fc8454b6f5e9f8797647c762ae30b022c3e5%7Clight_bulb-1791301%7Cuser-252560%2C2131a597dbe6826bfa1a6b725f6aa5f60a023fe9%7Clight_bulb-1284447%7Cuser-252560%2C1a279697fffef9f8b18e305648d1acb344ac98fd%7Clight_bulb-905732%7Cuser-252560%2C31d2d4c7384950cbb1229112128b7b035048b23c%7Clight_bulb-1790482%7Cuser-252560%2C2204a0e92cbf6884b2de196007c156d507e5b65d%7Csiren-6690%7Cuser-252560%2C0ac13f9ddf791770ebfc7e06e729beffc979d819%7Cbinary_switch-136460%7Cuser-252560%2Cd080e35c92f40c6b683868caa1f93f60f8566cff%7Clight_bulb-947467%7Cuser-252560%2Cca2be4b24afa6cdd655c457f368bf626d6c2e05e%7Clight_bulb-1190461%7Cuser-252560%2Cabb3e4a21fa99a51d6108cf8d1baf3860098a760%7Csensor_pod-157010%7Cuser-252560%2C5c67642e7a9fbe2e8ec26affca1d4446f2091107%7Cbinary_switch-155373%7Cuser-252560%2C716480152b0da28632af1b93a8ff24dd02b19228%7Clight_bulb-1550201%7Cuser-252560%2C66fc902ef1e5c03440a7d4de07a066734d87297e%7Csensor_pod-156879%7Cuser-252560%2C101d1a55db08594acce46d189ae562ec301745e4%7Clight_bulb-1460545%7Cuser-252560%2Cf742512905c66553bf2790c53de98a357bb3d543%7Clight_bulb-1190462%7Cuser-252560%2C22ac132c9c4e514cfd34f9f0ecfcaac57e492168%7Csensor_pod-158392%7Cuser-252560%2Ce629e412826cbcdabc8820d5a74e4729761aea49%7Csensor_pod-187009%7Cuser-252560%2C9f6afd5b39d442bfad5bc4652b5a7eb8d05455b4%7Cbinary_switch-192713%7Cuser-252560%2C2c3c5edb76d346686549c0db57962275f35f0a80%7Csensor_pod-156431%7Cuser-252560%2C933dacf1f21aa55fc2f0fd854d7949fe4714a1e2%7Cbinary_switch-201702%7Cuser-252560%2C67da6bc70909a986b8ac110ff424db0be7d0d7bf%7Clight_bulb-1840376%7Cuser-252560%2C2e4f8e22d618ed0ef9c706ab3996bded56e67282%7Cbinary_switch-150437%7Cuser-252560%2C28b339007bbd78550826a3f1433f21eb2778ee31%7Clight_bulb-1298746%7Cuser-252560%2Ccbb73a232fc82c167fb4d968ceba638fcd8ec332%7Clight_bulb-1222912%7Cuser-252560%2C8fa1e5b24d9a4a592c4e2a3ebf614eb21937750c%7Cbinary_switch-192712%7Cuser-252560%2C21edba4355f2b92fc189b149a3432af17ddcd1cf%7Clight_bulb-1791299%7Cuser-252560%2Cb76e22f2f1a5e95ca8784e1e811f9ff0d4b1f890%7Cbinary_switch-192711%7Cuser-252560%2C578311af161e78f865e2fc7c92ba780203bfcf9a%7Clight_bulb-905731%7Cuser-252560/heartbeat?heartbeat=120&pnsdk=PubNub-Python%2F3.7.8&uuid=e4f8819d-2b30-4862-8ed8-a773cf3e1c25
I know Wink has had some issues with schedules lately. They say fixed as of this morning. Might be related. Doesn’t look like the API issue I had.