# Integracja Samsung TV

**URL:** <https://ai-speaker.discourse.group/t/integracja-samsung-tv/274>\
**Category:** Uncategorized\
**Created:** [22 Luty 2020 13:13 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274 "2020-02-22T13:13:08Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Autor:** ![Marco](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/marco/32/388_2.png) [@Marco](https://ai-speaker.discourse.group/u/Marco)\
**Data wpisu:** [25 Luty 2020 12:20 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/21 "2020-02-25T12:20:57Z")

</div>

Zmień port na 8001 i sprawdź czy zadziała.  
Ewentualnie popróbuj jeszcze z parametrem:

- protocol:

---

<div class="post-metadata">

**Autor:** ![kindziol](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@kindziol](https://ai-speaker.discourse.group/u/kindziol)\
**Data wpisu:** [25 Luty 2020 12:22 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/22 "2020-02-25T12:22:15Z")

</div>

Zmieniałem i nic ten sam błąd. Po dodaniu prtocol: też bez zmian.  
Jakieś pomysły ? Może za nowy ten tv Samsung UE75RU7172UXXH 4K UHD 75 ?

---

<div class="post-metadata">

**Autor:** ![jolka](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/jolka/32/5_2.png) [@jolka](https://ai-speaker.discourse.group/u/jolka)\
**Data wpisu:** [25 Luty 2020 13:08 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/23 "2020-02-25T13:08:35Z")

</div>

> [@kindziol](#):
>
> Może za nowy ten tv Samsung

tak dokładnie, WIP oznacza → Work In Progress, czyli prace nad wsparciem dla nowych Samsung TV trwają:

> <https://github.com/home-assistant/core/pull/31537>
>
> \<!--
> You are amazing! Thanks for contributing to our project!
> Please, DO N…OT DELETE ANY TEXT from this template! (unless instructed).
> \--\>
> \## Breaking change
> 
> Specifying the port in \`configuration.yaml\` is no longer needed and thus the port config option has been deprecated.
> 
> \## Proposed change
> Use library \_samsungtvws\_ to cover websocket televisions. legacy televisions are still covered by current \_samsungctl\_. The two libraries are exposed by a newly introduced bridge class.
> 
> \<!-- 
> Describe the big picture of your changes here to communicate to the
> maintainers why we should accept this pull request. If it fixes a bug
> or resolves a feature request, be sure to link to that issue in the
> additional information section.
> \--\>
> 
> 
> \## Type of change
> \<!--
> What type of change does your PR introduce to Home Assistant?
> NOTE: Please, check only 1! box! 
> If your PR requires multiple boxes to be checked, you'll most likely need to
> split it into multiple PRs. This makes things easier and faster to code review.
> \--\>
> 
> \- \[\] Dependency upgrade
> \- \[x\] Bugfix (non-breaking change which fixes an issue)
> \- \[\] New integration (thank you!)
> \- \[x\] New feature (which adds functionality to an existing integration)
> \- \[x\] Breaking change (fix/feature causing existing functionality to break)
> \- \[\] Code quality improvements to existing code or addition of tests
> 
> \## Example entry for \`configuration.yaml\`:
> \<!--
> Supplying a configuration snippet, makes it easier for a maintainer to test
> your PR. Furthermore, for new integrations, it gives an impression of how
> the configuration would look like.
> Note: Remove this section if this PR does not have an example entry.
> \--\>
> 
> \`\`\`yaml
> \# Example configuration.yaml
> 
> \`\`\`
> 
> \## Additional information
> \<!--
> Details are important, and help maintainers processing your PR.
> Please be sure to fill out additional details, if applicable.
> \--\>
> 
> \- This PR fixes or closes issue: fixes #31252 and fixes #31504
> 
> \- This PR is related to issue: 
> \- Link to documentation pull request: https://github.com/home-assistant/home-assistant.io/pull/12247
> 
> \## Checklist
> \<!--
> Put an \`x\` in the boxes that apply. You can also fill these out after
> creating the PR. If you're unsure about any of them, don't hesitate to ask.
> We're here to help! This is simply a reminder of what we are going to look
> for before merging your code.
> \--\>
> 
> \- \[x\] The code change is tested and works locally.
> \- \[x\] Local tests pass. \*\*Your PR cannot be merged unless tests pass\*\*
> \- \[\] There is no commented out code in this PR.
> \- \[\] I have followed the \[development checklist\]\[dev-checklist\]
> \- \[x\] The code has been formatted using Black (\`black --fast homeassistant tests\`)
> \- \[\] Tests have been added to verify that the new code works.
> 
> If user exposed functionality or configuration variables are added/changed:
> 
> \- \[x\] Documentation added/updated for \[www.home-assistant.io\]\[docs-repository\]
> 
> If the code communicates with devices, web services, or third-party tools:
> 
> \- \[\] The \[manifest file\]\[manifest-docs\] has all fields filled out correctly.  
> Updated and included derived files by running: \`python3 -m script.hassfest\`.
> \- \[\] New or updated dependencies have been added to \`requirements\_all.txt\`.  
> Updated by running \`python3 -m script.gen\_requirements\_all\`.
> \- \[\] Untested files have been added to \`.coveragerc\`.
> 
> The integration reached or maintains the following \[Integration Quality Scale\]\[quality-scale\]:
> \<!--
> The Integration Quality Scale scores an integration on the code quality
> and user experience. Each level of the quality scale consists of a list
> of requirements. We highly recommend getting your integration scored!
> \--\>
> 
> \- \[\] No score or internal
> \- \[\] 🥈 Silver
> \- \[\] 🥇 Gold
> \- \[\] 🏆 Platinum
> 
> \<!--
> Thank you for contributing \<3
> 
> Below, some useful links you could explore:
> \--\>
> \[dev-checklist\]: https://developers.home-assistant.io/docs/en/development\_checklist.html
> \[manifest-docs\]: https://developers.home-assistant.io/docs/en/creating\_integration\_manifest.html
> \[quality-scale\]: https://developers.home-assistant.io/docs/en/next/integration\_quality\_scale\_index.html
> \[docs-repository\]: https://github.com/home-assistant/home-assistant.io

więcej ludzi to zgłosiło do HA:

> <https://github.com/home-assistant/core/issues/31504>
>
> \<!-- READ THIS FIRST:
> - If you need additional help with this template, pleas…e refer to https://www.home-assistant.io/help/reporting\_issues/
> - Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases
> - Do not report issues for integrations if you are using custom components or integrations.
> - Provide as many details as possible. Paste logs, configuration samples and code into the backticks.
> DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed without comment.
> \--\>
> \## The problem
> \<!-- 
> Describe the issue you are experiencing here to communicate to the
> maintainers. Tell us what you were trying to do and what happened instead.
> \--\>
> Can't integrate my Samsunt TV with HA
> 
> \## Environment
> \<!--
> Provide details about the versions you are using, which helps us to reproduce
> and find the issue quicker. Version information is found in the
> Home Assistant frontend: Developer tools -\> Info.
> \--\>
> 
> \- Home Assistant release with the issue: 0.105.0
> \- Last working Home Assistant release (if known): 104
> \- Operating environment (Hass.io/Docker/Windows/etc.): Hass.io/Home Assistant
> \- Integration causing this issue: Samsung TV
> \- Link to integration documentation on our website: https://www.home-assistant.io/integrations/samsungtv/
> 
> \## Problem-relevant \`configuration.yaml\`
> \<!--
> An example configuration that caused the problem for you. Fill this out even
> if it seems unimportant to you. Please be sure to remove personal information
> like passwords, private URLs and other credentials.
> \--\>
> removed integration from configuration.yaml. 
> \`\`\`
> 
> \`\`\`
> 
> \## Traceback/Error logs
> \<!--
> If you come across any trace or error logs, please provide them.
> \--\>
> 
> \`\`\`Error handling request
> Traceback (most recent call last):
> File "/usr/local/lib/python3.7/site-packages/aiohttp/web\_protocol.py", line 418, in start
> resp = await task
> File "/usr/local/lib/python3.7/site-packages/aiohttp/web\_app.py", line 458, in \_handle
> resp = await handler(request)
> File "/usr/local/lib/python3.7/site-packages/aiohttp/web\_middlewares.py", line 119, in impl
> return await handler(request)
> File "/usr/src/homeassistant/homeassistant/components/http/real\_ip.py", line 39, in real\_ip\_middleware
> return await handler(request)
> File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban\_middleware
> return await handler(request)
> File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 135, in auth\_middleware
> return await handler(request)
> File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle
> result = await result
> File "/usr/src/homeassistant/homeassistant/components/config/config\_entries.py", line 160, in post
> return await super().post(request, flow\_id)
> File "/usr/src/homeassistant/homeassistant/components/http/data\_validator.py", line 50, in wrapper
> result = await method(view, request, \*args, \*\*kwargs)
> File "/usr/src/homeassistant/homeassistant/helpers/data\_entry\_flow.py", line 89, in post
> result = await self.\_flow\_mgr.async\_configure(flow\_id, data)
> File "/usr/src/homeassistant/homeassistant/data\_entry\_flow.py", line 130, in async\_configure
> result = await self.\_async\_handle\_step(flow, cur\_step\["step\_id"\], user\_input)
> File "/usr/src/homeassistant/homeassistant/data\_entry\_flow.py", line 172, in \_async\_handle\_step
> result: Dict = await getattr(flow, method)(user\_input)
> File "/usr/src/homeassistant/homeassistant/components/samsungtv/config\_flow.py", line 129, in async\_step\_user
> result = await self.hass.async\_add\_executor\_job(self.\_try\_connect)
> File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
> result = self.fn(\*self.args, \*\*self.kwargs)
> File "/usr/src/homeassistant/homeassistant/components/samsungtv/config\_flow.py", line 92, in \_try\_connect
> with Remote(config.copy()):
> File "/usr/local/lib/python3.7/site-packages/samsungctl/remote.py", line 11, in \_\_init\_\_
> self.remote = RemoteWebsocket(config)
> File "/usr/local/lib/python3.7/site-packages/samsungctl/remote\_websocket.py", line 30, in \_\_init\_\_
> self.\_read\_response()
> File "/usr/local/lib/python3.7/site-packages/samsungctl/remote\_websocket.py", line 67, in \_read\_response
> response = self.connection.recv()
> File "/usr/local/lib/python3.7/site-packages/websocket/\_core.py", line 310, in recv
> opcode, data = self.recv\_data()
> File "/usr/local/lib/python3.7/site-packages/websocket/\_core.py", line 327, in recv\_data
> opcode, frame = self.recv\_data\_frame(control\_frame)
> File "/usr/local/lib/python3.7/site-packages/websocket/\_core.py", line 340, in recv\_data\_frame
> frame = self.recv\_frame()
> File "/usr/local/lib/python3.7/site-packages/websocket/\_core.py", line 374, in recv\_frame
> return self.frame\_buffer.recv\_frame()
> File "/usr/local/lib/python3.7/site-packages/websocket/\_abnf.py", line 383, in recv\_frame
> frame.validate(self.skip\_utf8\_validation)
> File "/usr/local/lib/python3.7/site-packages/websocket/\_abnf.py", line 182, in validate
> raise WebSocketProtocolException("Invalid close opcode.")
> websocket.\_exceptions.WebSocketProtocolException: Invalid close opcode.
> 
> \`\`\`
> 
> \## Additional information
> !\[samsung\](https://user-images.githubusercontent.com/57272517/73889482-15f2eb80-4870-11ea-825b-21a7da55daa0.png)
> 
> Manually adding the integration also does not work in the latest version.

> <https://github.com/home-assistant/core/issues/32055>
>
> \<!-- READ THIS FIRST:
> - If you need additional help with this template, pleas…e refer to https://www.home-assistant.io/help/reporting\_issues/
> - Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases
> - Do not report issues for integrations if you are using custom components or integrations.
> - Provide as many details as possible. Paste logs, configuration samples and code into the backticks.
> DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed without comment.
> \--\>
> \## The problem
> \<!-- 
> Describe the issue you are experiencing here to communicate to the
> maintainers. Tell us what you were trying to do and what happened instead.
> \--\>
> When I turn on my Samsung TV, hass discovers that and offers me to do a pairing. When I click notifications, then Configuration-\>Integratiojns-\>Discovered, there is my TV:
> Samsung TV: UE43MU6172
> 
> I click Configure, then a dialog appears:
> 
> \`Do you want to set up Samsung TV UE43MU6172? If you never connected Home Assistant before you should see a popup on your TV asking for authorization. Manual configurations for this TV will be overwritten.\`
> 
> I click Submit, but then it just displays: Unknown error occurred in red and that's it. So I cancel it, and below you can find HASS log 
> 
> 
> 
> \## Environment
> \<!--
> Provide details about the versions you are using, which helps us to reproduce
> and find the issue quicker. Version information is found in the
> Home Assistant frontend: Developer tools -\> Info.
> \--\>
>   | armv7l
> \-- | --
> dev | false
> docker | true
> hassio | true
> os\_name | Linux
> python\_version | 3.7.6
> timezone | Europe/Prague
> version | 0.105.5
> virtualenv | false
> 
> 
> 
> \- Home Assistant release with the issue: 
> \- Last working Home Assistant release (if known): 
> \- Operating environment (Hass.io/Docker/Windows/etc.): 
> \- Integration causing this issue: 
> \- Link to integration documentation on our website: 
> 
> \## Problem-relevant \`configuration.yaml\`
> \<!--
> An example configuration that caused the problem for you. Fill this out even
> if it seems unimportant to you. Please be sure to remove personal information
> like passwords, private URLs and other credentials.
> \--\>
> 
> \`\`\`yaml
> 
> \`\`\`
> 
> \## Traceback/Error logs
> \<!--
> If you come across any trace or error logs, please provide them.
> \--\>
> 
> \`\`\`txt
> Traceback (most recent call last):
> File "/usr/local/lib/python3.7/site-packages/aiohttp/web\_protocol.py", line 418, in start
> resp = await task
> File "/usr/local/lib/python3.7/site-packages/aiohttp/web\_app.py", line 458, in \_handle
> resp = await handler(request)
> File "/usr/local/lib/python3.7/site-packages/aiohttp/web\_middlewares.py", line 119, in impl
> return await handler(request)
> File "/usr/src/homeassistant/homeassistant/components/http/real\_ip.py", line 39, in real\_ip\_middleware
> return await handler(request)
> File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban\_middleware
> return await handler(request)
> File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 135, in auth\_middleware
> return await handler(request)
> File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle
> result = await result
> File "/usr/src/homeassistant/homeassistant/components/config/config\_entries.py", line 160, in post
> return await super().post(request, flow\_id)
> File "/usr/src/homeassistant/homeassistant/components/http/data\_validator.py", line 50, in wrapper
> result = await method(view, request, \*args, \*\*kwargs)
> File "/usr/src/homeassistant/homeassistant/helpers/data\_entry\_flow.py", line 89, in post
> result = await self.\_flow\_mgr.async\_configure(flow\_id, data)
> File "/usr/src/homeassistant/homeassistant/data\_entry\_flow.py", line 130, in async\_configure
> result = await self.\_async\_handle\_step(flow, cur\_step\["step\_id"\], user\_input)
> File "/usr/src/homeassistant/homeassistant/data\_entry\_flow.py", line 172, in \_async\_handle\_step
> result: Dict = await getattr(flow, method)(user\_input)
> File "/usr/src/homeassistant/homeassistant/components/samsungtv/config\_flow.py", line 170, in async\_step\_confirm
> result = await self.hass.async\_add\_executor\_job(self.\_try\_connect)
> File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
> result = self.fn(\*self.args, \*\*self.kwargs)
> File "/usr/src/homeassistant/homeassistant/components/samsungtv/config\_flow.py", line 92, in \_try\_connect
> with Remote(config.copy()):
> File "/usr/local/lib/python3.7/site-packages/samsungctl/remote.py", line 11, in \_\_init\_\_
> self.remote = RemoteWebsocket(config)
> File "/usr/local/lib/python3.7/site-packages/samsungctl/remote\_websocket.py", line 30, in \_\_init\_\_
> self.\_read\_response()
> File "/usr/local/lib/python3.7/site-packages/samsungctl/remote\_websocket.py", line 67, in \_read\_response
> response = self.connection.recv()
> File "/usr/local/lib/python3.7/site-packages/websocket/\_core.py", line 310, in recv
> opcode, data = self.recv\_data()
> File "/usr/local/lib/python3.7/site-packages/websocket/\_core.py", line 327, in recv\_data
> opcode, frame = self.recv\_data\_frame(control\_frame)
> File "/usr/local/lib/python3.7/site-packages/websocket/\_core.py", line 340, in recv\_data\_frame
> frame = self.recv\_frame()
> File "/usr/local/lib/python3.7/site-packages/websocket/\_core.py", line 374, in recv\_frame
> return self.frame\_buffer.recv\_frame()
> File "/usr/local/lib/python3.7/site-packages/websocket/\_abnf.py", line 383, in recv\_frame
> frame.validate(self.skip\_utf8\_validation)
> File "/usr/local/lib/python3.7/site-packages/websocket/\_abnf.py", line 182, in validate
> raise WebSocketProtocolException("Invalid close opcode.")
> websocket.\_exceptions.WebSocketProtocolException: Invalid close opcode.
> \`\`\`
> 
> \## Additional information
> 
> Nothing pops up on the TV
> TV firmware v. 1280

---

<div class="post-metadata">

**Autor:** ![Marco](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/marco/32/388_2.png) [@Marco](https://ai-speaker.discourse.group/u/Marco)\
**Data wpisu:** [25 Luty 2020 14:00 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/24 "2020-02-25T14:00:49Z")

</div>

Może spróbuj za pomocą SmartThings go połączyć.

> **[Smartthings](https://www.home-assistant.io/integrations/smartthings/)**
>
> Instructions on setting up Samsung SmartThings within Home Assistant.

---

<div class="post-metadata">

**Autor:** ![pab11o](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@pab11o](https://ai-speaker.discourse.group/u/pab11o)\
**Data wpisu:** [25 Luty 2020 15:00 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/25 "2020-02-25T15:00:25Z")

</div>

Ja też nie ogarnołem tematu

---

<div class="post-metadata">

**Autor:** ![kindziol](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@kindziol](https://ai-speaker.discourse.group/u/kindziol)\
**Data wpisu:** [25 Luty 2020 21:58 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/26 "2020-02-25T21:58:43Z")

</div>

Witam ponownie.  
Myślę, że nie warto już kombinować @Marco. Z resztą nie wiem czy dobrze rozumie ale HACS mam tylko SamsungTV Tizen. Może warto poczekać na jakieś poprawki . Już sam nie wiem.  
Może w Naszej sprawie poprosić @jolka o wypowiedź ?

---

<div class="post-metadata">

**Autor:** ![Marco](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/marco/32/388_2.png) [@Marco](https://ai-speaker.discourse.group/u/Marco)\
**Data wpisu:** [26 Luty 2020 10:49 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/27 "2020-02-26T10:49:01Z")

</div>

> [@kindziol](#):
>
> Myślę, że nie warto już kombinować

Jak chcesz ale SmartThings masz w integracjach bramki a nie w HACS.

---

<div class="post-metadata">

**Autor:** ![jolka](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/jolka/32/5_2.png) [@jolka](https://ai-speaker.discourse.group/u/jolka)\
**Data wpisu:** [26 Luty 2020 14:28 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/28 "2020-02-26T14:28:26Z")

</div>

modeli Samsung Smart TV jest sporo, tu jest lista przetestowanych i działających z HA:

> **[Samsung Smart TV](https://www.home-assistant.io/integrations/samsungtv/#models-tested-and-working)**
>
> Instructions on how to integrate a Samsung Smart TV into Home Assistant.

tu jest lista przetestowanych i jeszcze nie działających z HA:

> **[Samsung Smart TV](https://www.home-assistant.io/integrations/samsungtv/#models-tested-but-not-yet-working)**
>
> Instructions on how to integrate a Samsung Smart TV into Home Assistant.

To jest zmiana którą przygotowuje developer żeby nowsze modele działały z HA być może wtedy ten telewizor zacznie działać z HA

> <https://github.com/home-assistant/home-assistant/pull/31537>

Przepływ pracy w projekcie HA jest taki, że:

- jak ten developer skończyto kodować to zniknie z opisu zamiany nazwa WIP (work in progress)
- kolejny developer który potrafi kodować i ma już odpowiednią reputację w projekcie sprawdzi jego kod (zrobiony zostanie code review),
- kod ten zostanie poddany sprawdzeniu przez kilka niezależnych narzędzi do sprawdzania kodu pod kontem poprawności działania i wpływu na inne komponenty (zależności),
- w trakcie tego procesu dojdzie sporo zmian i poprawek które zostaną uzgodnione i naniesione przez osoby rozwijające ten kod
- jak wszystko będzie OK to kod ten zostanie dodany do gałęzi DEV Home Assistant
- cześć ludzi ma system na DEV i jeżeli nie będzie ten kod powodował błędów to trafi do gałęzi RC (release candidate)
- po około tygodniu w RC jeżeli nie będzie żadnych regresji kod zostanie dołączony do gałęzi Master
- z gałęzi Master trafi do najbliższego wydania HA

Przepływ pracy w projekcie AIS (w kontekście HA) wygląda tak:

- my pobieramy regularnie mastera HA do naszej gałęzi AIS beta
- HA wydaje fix-y na produkcje (a my nie chcemy tego robić) dlatego fix-y z HA Master wgrywamy na AIS beta i nie wydajemy AIS na stabilnym kanale dopóki HA go łata (fixuje)
- jak HA wyda kolejną wersję na Master to przestaje wydawać łaty dla poprzedniej, wtedy my tą poprzednią wydajemy na kanale stabilnym i już ją nie łatamy (żeby działała nonstop)

Cały proces jest dość skomplikowany i czasochłonny, to może potrwać miesiąc albo więcej (aż będzie gotowe). Na końcu jednak powinno powstać coś co działa i nie powoduje problemów.

Moim zdaniem:  
Jeżeli ktoś “ogarnia” kody Pythona i API Home Assistanta to nie ma powodu żeby czekał - może to sam zaprogramować a następnie swoje rozwiązanie dodać do projektu HA czy AIS. W innym przypadku chyba lepiej poczekać aż wyjdzie odpowiednia funkcjonalność na stabilnie działający oficjalnym komponencie 🙂

---

<div class="post-metadata">

**Autor:** ![kindziol](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@kindziol](https://ai-speaker.discourse.group/u/kindziol)\
**Data wpisu:** [26 Luty 2020 21:23 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/29 "2020-02-26T21:23:34Z")

</div>

Dziękuję @jolka za konkretne wyjaśnienie. Myślę, że wole poczekać na stabilny system w którym zacznie pracować mój tv.

pozdr.

---

<div class="post-metadata">

**Autor:** ![mariusz\_70](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@mariusz\_70](https://ai-speaker.discourse.group/u/mariusz_70)\
**Data wpisu:** [28 Luty 2020 13:05 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/30 "2020-02-28T13:05:28Z")

</div>

@kindziol przeglądając ten wątek:

> [@Alfawise, Broadlink - uniwersalny pilot/kontroler zdalnego sterowania IR](https://ai-speaker.discourse.group/t/alfawise-broadlink-uniwersalny-pilot-kontroler-zdalnego-sterowania-ir/190):
>
> Czy ktoś z Was posiada uniwersalnego pilota zdalnego sterowania takiego jak “[Alfawise KS1](https://pl.gearbest.com/smart-home-controls/pp_009110089147.html)” lub “[Broadlink RM mini 3](https://pl.gearbest.com/alarm-systems/pp_009753807797.html?wid=1433363)” za pomocą którego steruje urządzeniami w domu ? Zastanawiam się czy jest możliwość aby dodać go do bramki “AI-Speaker” i głosowo strować za jej pomocą poszczególnymi urządzeniami ?

zauważyłem że robiłeś konfigurację dla tunera satelitarnego UNO4kSE więc wykorzystaj jego moc do sterowania nowy telewizorem.  
UNO4kSE do tuner z linuxem a linux to potężne możliwości.  
Ten tuner potrafi odtwarzać treści multimedialne z sieci (filmy,muzykę,fotki z dysków sieciowych i wyświetlać je na ekranie tv,możesz wyświetlać całe zasoby youtube bez reklam, czy wysłać do swojego wujka który mieszka na Karaibach i posiada podobny tuner wiadomość tekstową np. z życzeniami świątecznymi która wyświetlą mu się na jego tv itp.)a także wyświetlać obraz z kamer ip które masz na swojej posesji. I teraz integrując go z asystentem możemy zrealizować wiele ciekawych projektów.  
Wyprzedzając Twoje pytanie jak to zrobić napisze tak:  
Pamiętaj to forum poświęcone jest asystentowi AIS a informacje typu konfiguracja satelity z tv szukaj na satelitarnych forach tematycznych żeby nie zaśmiecać tego forum.  
Mogę podać Ci kilka informacji żebyś wiedział czego szukać:  
1 - właściwa konfiguracja CEC

> **[Jak włączyć HDMI-CEC na telewizorze i dlaczego powinieneś (Jak)](https://pl.if-koubou.com/articles/how-to/how-to-enable-hdmi-cec-on-your-tv-and-why-you-should.html)**
>
> Aby jeszcze bardziej dezorientować, producenci często nie nazywają tej funkcji "HDMI-CEC". Podobnie jak w przypadku Miracast, każdy producent chce nazwać go własną marką, mimo że jest to interoperacyjny standard.

dzięki temu włączając satelitę dedykowanym do niej pilotem i włączy się telewizor i odwrotnie  
2 - API Enigma2 - to daje nam wiele możliwości  
[https://dream.reichholf.net/wiki/Enigma2:WebInterface#RemoteControl](https://dream.reichholf.net/wiki/Enigma2:WebInterface#RemoteControl)  
opis dotyczy tunerów ze stajni Dreambox (takie ja posiadam) ale z VU+ też działa  
przykładowy link do zał/wył tunera satelitarnego (tylko adres ip wpisz właściwy):  
[http://192.168.1.1/web/remotecontrol?command=116](http://192.168.1.1/web/remotecontrol?command=116)  
zmiana natężenia głosu na full:  
[http://192.168.17.13/web/vol?set=set100](http://192.168.17.13/web/vol?set=set100)  
zmiana natężenia głosu na 30%:  
[http://192.168.78.11/web/vol?set=set30](http://192.168.78.11/web/vol?set=set30)  
czy włączenie kanału TVN:  
[http://192.168.8.3/web/zap?sRef=1:0:1:3DCD:640:13E:820000:0:0:0:](http://192.168.8.3/web/zap?sRef=1:0:1:3DCD:640:13E:820000:0:0:0:)  
lub POLSAT:  
[http://192.168.1.113/web/zap?sRef=1:0:1:3391:3390:71:820000:0:0:0:](http://192.168.1.113/web/zap?sRef=1:0:1:3391:3390:71:820000:0:0:0:)  
jeśli w/w linki wkleisz do przeglądarki internetowej i nie zadziałają prawdopodobnie w ustawieniach satelity w sekcji SIEĆ masz włączone uwierzytelnianie w sieci lokalnej - wyłącz je.  
a tu jak dodać podgląd z kamery ip do listy kanałów ulubionych:  
[https://www.sat-4-all.com/board/topic/212385-wiadomosci-na-ekranie-webif/](https://www.sat-4-all.com/board/topic/212385-wiadomosci-na-ekranie-webif/)  
Jak już to ogarniesz będzie można głosowo w całości sterować satelitą i tv (zmieniać natężenie głosu,zmieniać kanały itp.) do tego celu wykorzystałem **rest\_command** i **skrypty** oraz **automatyzacje**.  
A poco automatyzacje dla tunera sat? Tak dla zachęty żebyś się nie poddawał:  
wzorując się na tym temacie:  
[Dzwonek z Biedronki + kamera = zdjęcie na Slack'a](https://ai-speaker.discourse.group/t/dzwonek-z-biedronki-kamera-zdjecie-na-slacka/52)  
możemy zbudować wideodomofon który będzie miał 75 cali (bo taki własnie masz nowy telewizor) wówczas należy tak ustawić bramkę aby zamiast wysyłać fotkę z kamery na slacka wysłała polecenie do tunera sat aby włączył podgląd z dedykowanej kamery na tv, oczywiście zadziała to tylko kiedy tv i sat będą włączone, inny przykład - wykorzystamy alarm,bramkę i satelitę - kiedy kładziemy się do snu uzbrajamy alarm i jeśli jakaś niepożądana osoba wzbudzi zewnętrzne czujki ruchu wówczas bramka dostaje sygnał że załączył się alarm i dalej wysyła polecenie do satelity że ma się włączyć i przełączyć na dedykowany kanał z podglądem z danej kamery i tym sposobem nie musimy sprawdzać wychodząc na zewnątrz co się dzieje tylko wykorzystujemy do tego celu tv.Możliwości jest dużo więcej.  
Możesz też zintegrować swoją satelitę z bramką za pomocą tego komponentu:  
[Enigma2 (OpenWebif) - Home Assistant](https://www.home-assistant.io/integrations/enigma2/)  
Powodzenia.

---

<div class="post-metadata">

**Autor:** ![kindziol](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@kindziol](https://ai-speaker.discourse.group/u/kindziol)\
**Data wpisu:** [28 Luty 2020 17:45 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/31 "2020-02-28T17:45:52Z")

</div>

Witam @mariusz_70 .  
Tak posiadam pilot Broadlink i jeśli chodzi o niego to działa, działa głosowo ale najlepiej przez utworzenie sceny. Tylko jest problem techniczny ponieważ zasilany jest z sieci i nie mam jak bardzo go ustawić żeby widział moje urządzenia. Jeśli chodzi o mój UNO4kSE to super. Dodałem go przez [https://www.home-assistant.io/integrations/enigma2/](https://www.home-assistant.io/integrations/enigma2/) i już go mam na swojej bramce. Próby ze sterowaniem głosem, kanałami i napisem, wszystko działa. Postaram się ogarnąć sterowanie głosem ale jak nie dam rady to będę Cię truł @mariusz_70. Tylko powiedz mi jeszcze jedno, dlaczego obraz z tv, który jest widziany na bramce jest z opóźnieniem ? I to jest wszystko super, tylko teraz mam pytanie jak włączyć soundbar JBL bo z niego mam dźwięk ?  
I jeszcze małe pytanie dotyczące kamer, jak je posłać do tunerka , żeby je zobaczyć na tv ?

---

<div class="post-metadata">

**Autor:** ![mariusz\_70](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@mariusz\_70](https://ai-speaker.discourse.group/u/mariusz_70)\
**Data wpisu:** [28 Luty 2020 18:21 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/32 "2020-02-28T18:21:13Z")

</div>

> [@kindziol](#):
>
> I jeszcze małe pytanie dotyczące kamer, jak je posłać do tunerka , żeby je zobaczyć na tv ?

użyj programu do edycji listy kanałów - dreamboxEDIT

[![](https://global.discourse-cdn.com/free1/uploads/ai_speaker/original/2X/1/14d28a27abad48733693cf5a86ef41671af4ccc5.jpeg "IPTV stream in dreamboxedit einfügen / IPTV stream w dreamboxedit") ](https://www.youtube.com/watch?v=BG3LNKRG7Hs&t=3s)

---

<div class="post-metadata">

**Autor:** ![kindziol](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@kindziol](https://ai-speaker.discourse.group/u/kindziol)\
**Data wpisu:** [28 Luty 2020 18:36 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/33 "2020-02-28T18:36:30Z")

</div>

Dzięki @mariusz_70, kamerka dodana.

---

<div class="post-metadata">

**Autor:** ![kindziol](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@kindziol](https://ai-speaker.discourse.group/u/kindziol)\
**Data wpisu:** [28 Luty 2020 21:51 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/34 "2020-02-28T21:51:43Z")

</div>

@mariusz_70  
Mam problem bo chcę dodać drugi tunerek, tym razem nbox na e2 i niestety nie ma go po dopisaniu ustawień. Czy da się go dodać do bramki ?  
I jeszcze jedno pytanie, czy da się zmienić rozmiar wyświetlanego obrazu. A tak naprawdę czy możesz mi pomóc. Chciałbym głosowo włączyć sat i tv i soundbar, zmieniać kanał i po podaniu komendy na chwilę zobaczyć obraz z kamery na tv.

---

<div class="post-metadata">

**Autor:** ![pab11o](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@pab11o](https://ai-speaker.discourse.group/u/pab11o)\
**Data wpisu:** [28 Luty 2020 22:02 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/35 "2020-02-28T22:02:56Z")

</div>

Mam do sprzedania tunerek goldenmedia na linuxie jak by ktoś chciał kupić 😃

---

<div class="post-metadata">

**Autor:** ![pab11o](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@pab11o](https://ai-speaker.discourse.group/u/pab11o)\
**Data wpisu:** [21 Marzec 2020 15:15 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/36 "2020-03-21T15:15:12Z")

</div>

W końcu działa integracja z tv Samsung

---

<div class="post-metadata">

**Autor:** ![kindziol](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@kindziol](https://ai-speaker.discourse.group/u/kindziol)\
**Data wpisu:** [21 Marzec 2020 15:21 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/37 "2020-03-21T15:21:38Z")

</div>

@pab11o

A możesz dokładniej na ten temat samsunga.

---

<div class="post-metadata">

**Autor:** ![Cezary.K](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Cezary.K](https://ai-speaker.discourse.group/u/Cezary.K)\
**Data wpisu:** [1 Lipiec 2020 19:07 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/38 "2020-07-01T19:07:50Z")

</div>

Podkusiło mnie zainstalowanie integracji Samsung TV. Niedawno na bramce integracja zaproponowała się sama. Wykryto nowe urządzenie Samsung TV. Na telewizorze pojawił się kod, należało potwierdzić parowanie i już. Niby działa ale tylko w okrojonej funkcjonalności.  
Problemem jest jednak wykrywaniem “nowego” TV po każdym jego pojawieniu się w sieci LAN. Wiec jak potwierdzę przyciskiem zatwierdź, to dodaję kolejny raz ten sam TV. I tym samym powstaje kolejna encja media\_player.TV bez możliwości usunięcia.  
Czy ktoś wie jak pozbyć się dziadostwa z konfiguracji bramki?

 ![obraz](https://global.discourse-cdn.com/free1/uploads/ai_speaker/original/2X/7/72c17fa1c846e6dcdf9205f36f3e5196b39b1846.png)

---

<div class="post-metadata">

**Autor:** ![badzio](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/badzio/32/313_2.png) [@badzio](https://ai-speaker.discourse.group/u/badzio)\
**Data wpisu:** [1 Lipiec 2020 20:54 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/39 "2020-07-01T20:54:32Z")

</div>

Ja mam odwrotny problem - co kilka (kilkanascie minut) na TV pojawia mi sie pytanie o autoryzacje podlaczenia nowego urzadzenia. Wiem ze wychodzi to z bramki AIS , w interfejsie AIS mam tylko jedna integracje Samsung TV - ale komunikat z prosba o akceptacje polaczenia na TV co kilka minut jest mega irytujacy.

---

<div class="post-metadata">

**Autor:** ![Cezary.K](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Cezary.K](https://ai-speaker.discourse.group/u/Cezary.K)\
**Data wpisu:** [1 Lipiec 2020 21:06 UTC](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274/40 "2020-07-01T21:06:23Z")

</div>

OK właśnie jestem po aktualizacji bramki. Skutecznie usunęła integrację z Samsung TV wraz z encjami.  
Problem rozwiązany.

[Poprzednia strona](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274.md?page=1)

[Następna strona](https://ai-speaker.discourse.group/t/integracja-samsung-tv/274.md?page=3)
