# Wir brauchen euch: TV-Geräte mit Google verwalten

**URL:** <https://community.gladysassistant.com/t/besoin-de-vous-gestion-de-la-tv-avec-google/8171>\
**Category:** Développement\
**Tags:** feature-integration, google-home\
**Created:** [20. Mai 2023 um 18:32 UTC](https://community.gladysassistant.com/t/besoin-de-vous-gestion-de-la-tv-avec-google/8171 "2023-05-20T18:32:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [20. Mai 2023 um 18:32 UTC](https://community.gladysassistant.com/t/besoin-de-vous-gestion-de-la-tv-avec-google/8171/1 "2023-05-20T18:32:54Z")

</div>

Hallo,  
ich habe kürzlich an der Integration der TV-Funktionen mit Google Home gearbeitet:

- TV ein-/ausschalten
- nächster/vorheriger Kanal
- letzter Kanal
- relative Lautstärke (erhöhen/verringern)
- stumm/Stummschaltung aufheben
- Mediensteuerung: Abspielen/Stoppen/Pausieren/Nächster/Vorheriger

Falls jemand von euch motiviert ist, das zu testen, hier ist das Image: `atrovato/gladys:google-home`.  
Man benötigt Gladys Plus, um es zu testen, aber es gibt keine Auswirkungen auf die Datenbank (obwohl ich immer empfehle, vor dem Testen eines Images ein Backup zu erstellen).

Ich habe es mit einem TV über Broadlink getestet, es scheint ordnungsgemäß zu funktionieren.

Einige technische Informationen:

- es gibt eine Optimierung der Verarbeitung der von Google empfangenen Befehle, Gladys-Ereignisse werden nur ausgegeben, wenn die Funktion gefunden wird

[https://github.com/atrovato/Gladys/pull/97](https://github.com/atrovato/Gladys/pull/97)

- ich habe die Google-Dokumentation für die Integration befolgt [Cloud-to-cloud &nbsp;|&nbsp; Google Home Developers](https://developers.home.google.com/cloud-to-cloud/guides/tv)

> <https://github.com/atrovato/Gladys/pull/44>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[\] If your changes affects code, did your write the tests?
> \- \[\] Are tests passing? (\`npm test\` on both front/server)
> \- \[\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to \[the community\](https://community.gladysassistant.com/) for testing before merging.
> \- \[\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[\] Did you add fake requests data for the demo mode (\`front/src/config/demo.js\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

Vielen Dank an alle.

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [10. Januar 2024 um 17:56 UTC](https://community.gladysassistant.com/t/besoin-de-vous-gestion-de-la-tv-avec-google/8171/2 "2024-01-10T17:56:48Z")

</div>

Hallo zusammen,  
ich melde mich nochmal zu diesem Punkt.

Ich habe gerade das Test-Image aktualisiert (in einer Stunde verfügbar): `atrovato/gladys:google-home`.

Ich suche immer noch Tester… vielen Dank im Voraus.

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [10. Januar 2024 um 19:43 UTC](https://community.gladysassistant.com/t/besoin-de-vous-gestion-de-la-tv-avec-google/8171/3 "2024-01-10T19:43:28Z")

</div>

Bei der Art von Produkt wird es schwierig sein zu sehen, ob @pierre-gilles großzügig genug ist, um es dir zu schenken ^^’

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [10. Januar 2024 um 22:32 UTC](https://community.gladysassistant.com/t/besoin-de-vous-gestion-de-la-tv-avec-google/8171/4 "2024-01-10T22:32:52Z")

</div>

Lol nein, es geht um die Integration eines TV-Geräts von Gladys (ich verwende eine Infrarot-Fernbedienung mit meinem Broadlink und dem Gladys-Dienst) mit der Google Home-App und damit die Sprachsteuerung des TVs!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [11. Januar 2024 um 09:18 UTC](https://community.gladysassistant.com/t/besoin-de-vous-gestion-de-la-tv-avec-google/8171/5 "2024-01-11T09:18:48Z")

</div>

@AlexTrovato Hast du die Integration in der Praxis getestet?

Tatsächlich denke ich nicht, dass du Tester für diese Integration haben wirst, denn ich würde niemandem empfehlen, Gladys Plus auf einer Testinstanz zu starten (das zerstört die Produktion, wenn man das macht).

Ich habe weder Fernseher noch Broadlink, also kann ich es auch nicht testen.

Wenn du dir sicher bist, dass es keine Auswirkungen auf andere Google Home-Geräte hat, können wir meiner Meinung nach zusammenführen 🙂

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [11. Januar 2024 um 15:31 UTC](https://community.gladysassistant.com/t/besoin-de-vous-gestion-de-la-tv-avec-google/8171/6 "2024-01-11T15:31:02Z")

</div>

@AlexTrovato,

Ich habe ein „Gladys Plus“-Testkonto. Allerdings kenne ich diese Funktion nicht so gut. Was braucht man, um zu testen? Ich habe einen Samsung-Fernseher, falls nötig habe ich Broadlink und ich habe eine Google-Box. Wenn ich dir beim Testen helfen kann und du mir dabei helfen kannst, bin ich bereit!! ^^

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [24. Januar 2024 um 18:43 UTC](https://community.gladysassistant.com/t/besoin-de-vous-gestion-de-la-tv-avec-google/8171/7 "2024-01-24T18:43:07Z")

</div>

Hallo, Entschuldigung für die Verzögerung.

@pierre-gilles Ich bin mir recht sicher, aber die Verbesserung der Fehlerbehandlung kann allgemeine Auswirkungen auf die Google-Integration haben.

@Terdious Zum Testen musst du nach der Installation des Testbildes in deiner Testumgebung ein Gerät vom Typ Fernseher mit Broadlink erstellen und die Funktionen aufzeichnen, die du verwalten möchtest. Die verwalteten Funktionen sind: Strom, Kanäle, Lautstärke, Medien (Wiedergabe/Pause/Stopp/Nächster/Vorheriger).  
Dann siehst du ein TV-Gerät in deinem Google Home mit den kompatiblen Funktionen, die du in Gladys aufgezeichnet hast.  
Von Google Home aus solltest du dann deine TV (per Sprache und Finger) steuern können.

Danke 🙂
