PiotrMachowski / Home-Assistant-custom-components-SmartThings-Soundbar

Samsung Smarthings API for controlling Soundbar
MIT License
85 stars 21 forks source link

Used API discontinued and shutdown #54

Closed KapUttyy closed 10 months ago

KapUttyy commented 10 months ago

Since last saturday I can't get anymore status updates by the HA-custom-component.

The used API-URL just returns a 503 error: https://graph-eu01-euwest1.api.smartthings.com/

In the SmartThings community there is a community thread that this API has been discontinued: https://community.smartthings.com/t/is-the-ide-web-page-down/274174 Is it possible to refactor this component to the new API?

zsmb13 commented 10 months ago

Seems like the integration itself still works fine, at least my Soundbar can still be controlled by it.

The README links however which use the https://graph-eu01-euwest1.api.smartthings.com/ URLs don't work though, which made it difficult to find my device ID.

I ended up finding this link to use instead, which lists your devices if you're authenticated, including the necessary deviceId: https://api.smartthings.com/v1/devices

The README should probably be updated to include this link now.

KapUttyy commented 10 months ago

You are right. I have figured out that this was an issue with my DNS-configuration. I don't know why, but somehow the SmartThings API is not available for Name Resolution when using DNSForge as the primary DNS. Switching back to Cloudflare solved the issue for me.

Nevertheless the README should be updated.