# Kamera per Namen aufrufen, statt per Raumbezeichnung

**URL:** <https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066>\
**Category:** Demandes livrées\
**Tags:** feature-core, telegram\
**Created:** [14. März 2022 um 21:22 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066 "2022-03-14T21:22:51Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [14. März 2022 um 21:22 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/1 "2022-03-14T21:22:51Z")

</div>

Wenn man Gladys bittet, den Stream einer Kamera anzuzeigen, muss man sie mit dem „Raumnamen“ aufrufen, in dem sie sich befindet. Das Problem ist, dass Gladys, wenn mehrere Kameras in einem Raum sind, nur den Stream einer Kamera sendet und immer dieselbe. Daher wäre es besser, diesen Stream mit dem „Kameranamen“ aufzurufen, damit keine Mehrdeutigkeit mehr besteht. Und die Kirsche auf dem Kuchen wäre es, alle Streams der Kameras zu erhalten, die sich in einem Raum befinden, wenn man Gladys bittet, uns die Kameras dieses Raumes zu zeigen. Und das würde es ermöglichen, Bilder von den Kameras abzurufen und sie per Telegram zu senden, für eine Nutzung als Alarmanlage (z. B. Anzeige des Raumes bei einem Einbruch). Gladys müsste die Kamera vor dem Senden aktualisieren, um ein Bild zum Zeitpunkt T zu haben.  
Jetzt bleibt nur noch zu wählen\*\*

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [16. Februar 2023 um 08:00 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/2 "2023-02-16T08:00:33Z")

</div>

Na los, ich habe eine meiner Stimmen hierher verschoben ^^ 😉

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [23. März 2023 um 21:42 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/3 "2023-03-23T21:42:41Z")

</div>

Guten Abend,  
Ich habe gerade den Titel dieses Tickets geändert, da es nicht nur für Telegram gilt.  
😉

---

<div class="post-metadata">

**Author:** ![Lokkye](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lokkye/32/5881_2.png) [@Lokkye](https://community.gladysassistant.com/u/Lokkye)\
**Post date:** [27. September 2023 um 12:36 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/4 "2023-09-27T12:36:33Z")

</div>

@Psoy : Ich habe gerade einige Tests durchgeführt, indem ich das «&nbsp;Auswahl&nbsp;»-System für die Kamera per Gladys-Chat hinzugefügt habe  
Es hat funktioniert, dass:

- es das Bild anzeigt, wenn der Name aufgerufen wird,
- es alle Bilder anzeigt, wenn der Raum aufgerufen wird.

Bisher sendet es nur das gespeicherte Bild. Ich muss noch mehr Tests durchführen, um das «&nbsp;Live&nbsp;»-Bild zurückzusenden.  
Und ich konnte es nicht mit Telegram testen, da meine Testinstanz diese Integration nicht besitzt.

Ich baue gerade ein Docker-Image «&nbsp;delogzway/gladys:chat\_display\_camera\_by\_name&nbsp;» (es wird in etwa 1 Stunde gebaut).  
Zögere nicht, mir Feedback zu geben. 🙂

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [27. September 2023 um 21:35 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/5 "2023-09-27T21:35:27Z")

</div>

Hallo @Lokkye  
Es funktioniert bei mir nicht:  
Ich habe für den Test 2 Kameras, eine heißt camgarage und die andere camjardin. Ich habe sie im selben Raum platziert: im Wohnzimmer.

1. Anfrage:  

2. Anfrage:  

3. Anfrage:  

Fazit  
Wenn ich die Kameras des Raumes aufrufe, wird nur eine angezeigt  
Wenn ich die Kameras bei ihren Namen aufrufe, findet Gladys sie nicht.

Gibt es einen Standard-Satz, den ich schreiben soll?  
Danke, dass du dich darum kümmerst 😉  
\*\*Ich funktioniere nicht mit ChatGPT für diesen Test

---

<div class="post-metadata">

**Author:** ![Lokkye](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lokkye/32/5881_2.png) [@Lokkye](https://community.gladysassistant.com/u/Lokkye)\
**Post date:** [3. Oktober 2023 um 06:28 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/6 "2023-10-03T06:28:03Z")

</div>

Hallo @Psoy,

Danke für die Tests 🙂

Ich habe gerade einige Korrekturen vorgenommen. Und ich habe ein neues Docker-Image gebaut (nicht vergessen, docker pull delogzway/gladys:chat\_display\_camera\_by\_name).  
Ich habe deine Konfiguration übernommen, um sicherzustellen, dass es funktioniert.

> [@Psoy](#):
>
> Gibt es einen Standard-Satz, den man schreiben soll?

Nein, die Sätze, die du verwendet hast, sind gut.

> [@Psoy](#):
>
> \*\* es funktioniert nicht mit chatGPT für diesen Test

Ich auch 🙂

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [3. Oktober 2023 um 16:09 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/7 "2023-10-03T16:09:19Z")

</div>

Hallo @Lokkye  
Danke, aber ich bin gerade unterwegs und kann es in den nächsten Tagen nicht testen. Sobald ich zurück bin, mache ich ein docker pull image, 😄 und teste alles nochmal. Vielen Dank nochmal.

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [17. Oktober 2023 um 16:55 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/8 "2023-10-17T16:55:59Z")

</div>

Hallo, @Lokkye  
Ich bin wieder da, ich habe gerade die Kameras getestet, sie funktionieren super gut, wenn ich die Kamera beim Namen rufe, wird sie in Telegram angezeigt und wenn ich den Raum rufe, zeigt mir Telegram alle Kameras des betreffenden Raums.  
Tolle Arbeit, ich danke dir noch einmal für alle Verbesserungen, die du uns bringst 👏 👍

---

<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:** [27. Oktober 2023 um 15:58 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/9 "2023-10-27T15:58:16Z")

</div>

@Lokkye Ich habe keinen PR zu dieser Funktion gesehen, ist das normal? 🙂

---

<div class="post-metadata">

**Author:** ![Lokkye](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lokkye/32/5881_2.png) [@Lokkye](https://community.gladysassistant.com/u/Lokkye)\
**Post date:** [5. November 2023 um 11:56 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/10 "2023-11-05T11:56:18Z")

</div>

@pierre-gilles: Mein Fehler, ich hatte vergessen, sie zu erstellen:

> <https://github.com/GladysAssistant/Gladys/pull/1928>
>
> \### 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:
> 
> \- \[x\] If your changes affects code, did your write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[x\] 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 (\[french forum\](https://community.gladysassistant.com/)/\[english forum\](https://en-community.gladysassistant.com/)) for testing before merging.
> 
> \### Description of change
> 
> Being able to call a camera by its Name, rather than by the Name of the room where it is located

---

<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:** [6. November 2023 um 08:34 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/11 "2023-11-06T08:34:58Z")

</div>

Super, ich schau mir das heute an 🙂

---

<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:** [6. November 2023 um 10:09 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/12 "2023-11-06T10:09:32Z")

</div>

Das funktioniert bei mir super 🙂

Ich habe dir ein paar Rückmeldungen zur PR gegeben:

[https://github.com/GladysAssistant/Gladys/pull/1928#pullrequestreview-1714715885](https://github.com/GladysAssistant/Gladys/pull/1928#pullrequestreview-1714715885)

---

<div class="post-metadata">

**Author:** ![Lokkye](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lokkye/32/5881_2.png) [@Lokkye](https://community.gladysassistant.com/u/Lokkye)\
**Post date:** [7. November 2023 um 07:52 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/13 "2023-11-07T07:52:47Z")

</div>

@pierre-gilles: Korrigierte Rückgabe 🙂

---

<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:** [10. November 2023 um 13:03 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/14 "2023-11-10T13:03:46Z")

</div>

Das ist für mich in Ordnung, es ist gemerged und wird in der nächsten Version von Gladys veröffentlicht!

---

<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:** [20. November 2023 um 16:30 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/15 "2023-11-20T16:30:01Z")

</div>

Diese Funktion ist in Gladys Assistant 4.31 verfügbar! 🚀

> [@Gladys Assistant 4.31: Filter nach Tags & MQTT in Szenen](https://community.gladysassistant.com/t/gladys-assistant-4-31-filtre-par-tag-mqtt-dans-les-scenes/8511):
>
> Hallo zusammen! Nach Gladys Assistant 4.30 und seinem berühmten Wecker kommt nun eine neue Version von Gladys mit einigen coolen Funktionen slight_smile Entdeckt es oben! Danke an @Lokkye und @cicoub13 für ihre Beiträge clapclap Edit: Ich nutze diesen Post, um zu sagen, dass ich hier Hilfe suche, um Inhalte für den Gladys-Blog zu schreiben!

Ich schließe dieses Thema, um die Abstimmungen freizugeben. Zögern Sie nicht, ein neues Thema zu erstellen, falls Sie auf Fehler stoßen 🙂

---

<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:** [20. November 2023 um 16:30 UTC](https://community.gladysassistant.com/t/pouvoir-appeler-une-camera-par-son-nom-plutot-que-par-le-nom-de-la-piece-ou-elle-est-situee/7066/16 "2023-11-20T16:30:04Z")

</div>


