# Possibilité d'exécuter une scène depuis le Dashboard

**URL:** <https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017>\
**Category:** Demandes livrées\
**Tags:** feature-core, dashboard, box-dashboard, scene\
**Created:** [Janvier 15, 2021, 9:53 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017 "2021-01-15T09:53:21Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![GBoulvin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gboulvin/32/10006_2.png) [@GBoulvin](https://community.gladysassistant.com/u/GBoulvin)\
**Post date:** [Janvier 15, 2021, 9:53 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/1 "2021-01-15T09:53:21Z")

</div>

Serait-il possible d’ajouter un bouton permettant d’exécuter «&nbsp;manuellement&nbsp;» une scène depuis le dashboard.  
En ce moment, il faut aller dans l’onglet «&nbsp;scènes&nbsp;», chercher après (il commence à y en avoir beaucoup) puis cliquer sur «&nbsp;démarrer&nbsp;».

---

<div class="post-metadata">

**Author:** ![adrien-cardinale](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/adrien-cardinale/32/6465_2.png) [@adrien-cardinale](https://community.gladysassistant.com/u/adrien-cardinale)\
**Post date:** [Janvier 20, 2021, 10:48 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/2 "2021-01-20T10:48:43Z")

</div>

Je suis d’accord ça serait bien d’avoir des boutons virtuel dans le Dashboard pour commander les scènes.

---

<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:** [Janvier 20, 2021, 5:05 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/3 "2021-01-20T17:05:56Z")

</div>

Je suis d’accord! Il faudrait avoir une box dashboard ou l’utilisateur peut sélectionner dans la configuration les scènes qu’il affiche.

---

<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:** [Août 2, 2023, 7:52 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/4 "2023-08-02T07:52:34Z")

</div>

J’ai fait une petite PR :

> <https://github.com/GladysAssistant/Gladys/pull/1840>
>
> \### Pull Request check-list
> 
> \- \[x\] If your changes affects code, did your writ…e 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)
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Add a new box to display selected scenes with run button 
> 
> \<img width="387" alt="Screenshot 2023-08-02 at 09 31 16" src="https://github.com/GladysAssistant/Gladys/assets/11317212/fe130275-cd45-49be-a976-f65b59d53434"\>
> \<img width="353" alt="Screenshot 2023-08-02 at 09 31 11" src="https://github.com/GladysAssistant/Gladys/assets/11317212/96ac0d7b-d131-4e4c-baad-c40ff0b7c2ce"\>

Voila le résultat :

 ![Screenshot 2023-08-02 at 09.31.16](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/3/3a1c1620bf237f0a522d293234c748e6ef7b5b30.png)  
 ![Screenshot 2023-08-02 at 09.31.11](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/f/f988e0eade2435b7e423711960980d8e968c6e37.png)

---

<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:** [Août 3, 2023, 6:48 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/5 "2023-08-03T18:48:57Z")

</div>

J’aime beaucoup !!

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [Août 6, 2023, 1:00 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/6 "2023-08-06T13:00:38Z")

</div>

Merci pour ce travail (super utile en plus)

---

<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:** [Août 18, 2023, 9:10 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/7 "2023-08-18T09:10:39Z")

</div>

Excellent @Lokkye, je finis de dépiler le forum et je regarde ça 🙂

---

<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:** [Août 18, 2023, 9:59 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/8 "2023-08-18T09:59:37Z")

</div>

Je viens de review la PR, pour moi le code est nickel, j’ai juste un petit feedback UX, je trouve l’état «&nbsp;cliqué&nbsp;» insuffisant pour comprendre qu’il se passe quelque chose, je verrais bien un petit spinner dans le bouton, un truc du genre, tu en pense quoi ? 🙂

Merci pour la PR ! 🙏

La review:

> <https://github.com/GladysAssistant/Gladys/pull/1840#pullrequestreview-1584258894>
>
> \### Pull Request check-list
> 
> \- \[x\] If your changes affects code, did your writ…e 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)
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Add a new box to display selected scenes with run button 
> 
> \<img width="387" alt="Screenshot 2023-08-02 at 09 31 16" src="https://github.com/GladysAssistant/Gladys/assets/11317212/fe130275-cd45-49be-a976-f65b59d53434"\>
> \<img width="353" alt="Screenshot 2023-08-02 at 09 31 11" src="https://github.com/GladysAssistant/Gladys/assets/11317212/96ac0d7b-d131-4e4c-baad-c40ff0b7c2ce"\>

---

<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:** [Septembre 4, 2023, 9:06 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/9 "2023-09-04T09:06:47Z")

</div>

Salut @Lokkye, petite relance par rapport à ma review, je ne sais pas si tu as eu le temps de voir ça 🙂

---

<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:** [Septembre 4, 2023, 1:21 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/10 "2023-09-04T13:21:21Z")

</div>

@pierre-gilles : Je n’avais pas vu ton retour, je viens de faire la modification 🙂

---

<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:** [Septembre 4, 2023, 2:00 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/11 "2023-09-04T14:00:44Z")

</div>

Merci pour le correctif, c’est parfait comme ça!

Mergé, ça partira en production dans la prochaine version de Gladys.

---

<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:** [Septembre 11, 2023, 5:56 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/12 "2023-09-11T17:56:36Z")

</div>

Cette fonctionnalité est disponible dans Gladys Assistant 4.28 !

> [@Gladys Assistant 4.28 : Expiration des états de capteurs, nouveaux appareils Zigbee, et plus!](https://community.gladysassistant.com/t/gladys-assistant-4-28-expiration-des-etats-de-capteurs-nouveaux-appareils-zigbee-et-plus/8352):
>
> Salut à tous ! C’est lundi, c’est l’heure d’une nouvelle release Gladys smile Et il y a plein de nouveautés dans Gladys Assistant 4.28 !! Expiration des états de capteurs Désormais, les «&nbsp;vieux&nbsp;» états de capteurs ne seront plus affichés sur le tableau de bord, et seront remplacé par une indication que l’état n’est plus à jour : Pratique pour trouver les capteurs qui n’envoient plus de valeurs ! La délai par défaut est de 48 heures et peut-être modif…

---

<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:** [Septembre 11, 2023, 5:56 UTC](https://community.gladysassistant.com/t/possibilite-dexecuter-une-scene-depuis-le-dashboard/6017/13 "2023-09-11T17:56:39Z")

</div>


