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

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

July 2023—Unable to make it Work #48

Closed pHmetter closed 1 year ago

pHmetter commented 1 year ago

Hello ! I don't know if something change on HA, but… I used these components for months on my old setup, I just moved my all HA on rasp Pi 4 few weeks ago, and rebuild everything clean.

I reinstalled HACS, reinstalled Your scripts, add configuration in my configuration.yaml but can't find the integration..

Any help ?

PiotrMachowski commented 1 year ago

Logs?

pHmetter commented 1 year ago
2023-07-15 20:28:59.848 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration smartthings_soundbar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-07-15 20:28:59.851 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-07-15 20:28:59.853 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration circadian_lighting which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-07-15 20:29:24.218 WARNING (MainThread) [homeassistant.components.freebox.router] Home access is not granted
2023-07-15 20:55:24.451 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Salle à Manger data: Error fetching data: DeviceConnectionError()
2023-07-15 22:53:23.437 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Température Maison data: Sleeping device did not update within 7200 seconds interval
2023-07-15 23:19:30.253 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Cuisine data: Error fetching data: DeviceConnectionError()
2023-07-16 00:55:55.252 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Cuisine data: Error fetching data: DeviceConnectionError()
2023-07-16 01:05:26.253 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Cuisine data: Error fetching data: DeviceConnectionError()
2023-07-16 02:58:54.252 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Cuisine data: Error fetching data: DeviceConnectionError()
2023-07-16 03:24:55.252 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Cuisine data: Error fetching data: DeviceConnectionError()
2023-07-16 07:58:59.253 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Cuisine data: Error fetching data: DeviceConnectionError()
2023-07-16 09:12:01.441 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Salle à Manger data: Error fetching data: DeviceConnectionError()
2023-07-16 11:10:59.439 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Salle à Manger data: Error fetching data: DeviceConnectionError()
2023-07-16 11:34:15.441 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Salle à Manger data: Error fetching data: DeviceConnectionError()
2023-07-16 12:04:07.440 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Salle à Manger data: Error fetching data: DeviceConnectionError()
2023-07-16 12:11:03.252 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Cuisine data: Error fetching data: DeviceConnectionError()
2023-07-16 14:02:23.087 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Chambre Ely data: Error fetching data: DeviceConnectionError()
2023-07-16 14:08:36.085 ERROR (MainThread) [homeassistant.components.shelly] Error fetching Volet Chambre Ely data: Error fetching data: DeviceConnectionError()
PiotrMachowski commented 1 year ago

There's no errors related to this integration in your log

PiotrMachowski commented 1 year ago

Are you sure you have configured it correctly?

pHmetter commented 1 year ago

I know, it should work.. Installed from HACS

Added the configuration in my configuration.yaml

#Samsung SoundBar
media_player:
  - platform: smartthings_soundbar
    name: Soundbar
    api_key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    device_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    max_volume: 15
PiotrMachowski commented 1 year ago

Have you checked in dev tools if there's media_player.soundbar entity?

pHmetter commented 1 year ago

Capture

PiotrMachowski commented 1 year ago

Soooo it works :)

It doesn't show in the "Integration" page, just like most of yaml-configured integrations

pHmetter commented 1 year ago

It should work, but i can't make any card with.. Visual / or Text editor

PiotrMachowski commented 1 year ago
type: media-control
entity: media_player.soundbar
pHmetter commented 1 year ago

It works now, I type type: media-player

... thanks for help !


Pierre-Henri Azen +33 6 82 98 07 09

Le dim. 16 juil. 2023 à 15:13, Piotr Machowski @.***> a écrit :

type: media-controlentity: media_player.soundbar

— Reply to this email directly, view it on GitHub https://github.com/PiotrMachowski/Home-Assistant-custom-components-SmartThings-Soundbar/issues/48#issuecomment-1637081832, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACX2QIE2SD7Q4N6KSVPEHVLXQPSINANCNFSM6AAAAAA2LOHLHU . You are receiving this because you authored the thread.Message ID: <PiotrMachowski/Home-Assistant-custom-components-SmartThings-Soundbar/issues/48/1637081832 @github.com>