benleb / sureha

SureHA šŸ¾ monitor & control your Sure Petcare devices via Home Assistant
Apache License 2.0
21 stars 12 forks source link

Integration fails to load on core 2022.2.1 #27

Closed xbmcnut closed 2 years ago

xbmcnut commented 2 years ago

Hi Ben,

Just upgraded HA to 2022.2.1 and now everything is unavailbe. Check the logs though, it seems it went offline around 11hrs before I upgraded so may be unrelated. Maybe Sure has changed something on the backend?

2022-02-04 17:30:11 INFO (MainThread) [surepy.client] šŸ¾ Ā· GET app.api.surehub.io/api/me/start: 404 | <ClientResponse(https://app.api.surehub.io/api/me/start) [404 Not Found]>
<CIMultiDictProxy('Date': 'Fri, 04 Feb 2022 04:30:11 GMT', 'Content-Type': 'application/json', 'Content-Length': '51', 'Connection': 'keep-alive', 'Server': 'nginx', 'Cache-Control': 'private', 'Etag': '"PP2/L2r1gykfHdRP+xVklj8NPXI="', 'Access-Control-Allow-Origin': 'https://surepetcare.io', 'Vary': 'Origin', 'Content-Encoding': 'gzip', 'Strict-Transport-Security': 'max-age=31536000; includeSubdomains; preload', 'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block')>

2022-02-04 17:30:11 DEBUG (MainThread) [surepy.client] šŸ¾ Ā· GET app.api.surehub.io/api/me/start | 0
2022-02-04 17:30:11 ERROR (MainThread) [surepy] could not fetch data ĀÆ\_(惄)_/ĀÆ
2022-02-04 17:30:11 DEBUG (MainThread) [custom_components.sureha] Finished fetching sureha_sensors data in 2.901 seconds (success: True)
2022-02-04 17:30:11 INFO (MainThread) [custom_components.sureha] 
2022-02-04 17:30:11 INFO (MainThread) [custom_components.sureha]  Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· (ā‰—į†½ ā‰—)ļ¾‰
2022-02-04 17:30:11 INFO (MainThread) [custom_components.sureha]   šŸ¾   meeowww..! to the SureHA integration!
2022-02-04 17:30:11 INFO (MainThread) [custom_components.sureha]   šŸ¾     code & issues: https://github.com/benleb/sureha
2022-02-04 17:30:11 INFO (MainThread) [custom_components.sureha]  Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā· Ā·
2022-02-04 17:30:11 INFO (MainThread) [custom_components.sureha] 
xbmcnut commented 2 years ago

Hmmm. Seems it might be something to do with the backend. Can't login to their website. Checking...

xbmcnut commented 2 years ago

Yep, https://www.surepetcare.io/ is down. Logged a ticket with them

xbmcnut commented 2 years ago

Was the 'Sure' server down. All working again now.