# Receive a notification when Gladys updates

**URL:** <https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896>\
**Category:** Demandes livrées\
**Tags:** notifications, feature-core\
**Created:** [January 27, 2023, 9:42am UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896 "2023-01-27T09:42:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [January 27, 2023, 9:42am UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/1 "2023-01-27T09:42:42Z")

</div>

Would it be possible to display in Gladys a notification to let us know that Gladys has just been updated?

There is also a feature request for notifications related to devices which, according to @pierre-gilles, is far from easy to implement  
[https://community.gladysassistant.com/t/notification-du-chat-par-le-navigateur/6361?u=tlse-vins](https://community.gladysassistant.com/t/notification-du-chat-par-le-navigateur/6361?u=tlse-vins)

---

<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:** [January 27, 2023, 9:57am UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/2 "2023-01-27T09:57:06Z")

</div>

@Tlse-vins I created a new thread so as not to mix two conversations 🙂

It all depends on what you mean by «&nbsp;notification&nbsp;».

- If it’s via the current Gladys message API (in the chat + Telegram), yes that would be doable
- If it’s a small «&nbsp;toast&nbsp;» in the UI when you log in to Gladys (like a message you can dismiss the first time you log in after an update), why not
- If it’s a notification in the sense of:

 ![Screenshot 2023-01-27 at 16.55.51](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/586707bcc2ebe0028ca2c38df7e1f6eb06d195e8.png)

Then that’s a whole discussion that needs to be addressed 🙂 I think it’s a nice piece of work.

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [January 27, 2023, 10:09am UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/3 "2023-01-27T10:09:45Z")

</div>

Your screenshot is representative of what I imagine.  
«&nbsp;New Gladys version 4.15.0 — more information on the forum&nbsp;»

---

<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:** [January 27, 2023, 11:27am UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/4 "2023-01-27T11:27:09Z")

</div>

This looks like it’s going to turn into a debate 😅 which is a good thing!  
Personally, I often find notifications intrusive… I like little toasts (in the broad sense of the term, actually!)

---

<div class="post-metadata">

**Author:** ![lmilcent](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lmilcent/32/7023_2.png) [@lmilcent](https://community.gladysassistant.com/u/lmilcent)\
**Post date:** [January 27, 2023, 1:48pm UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/5 "2023-01-27T13:48:07Z")

</div>

Default toast and notification via a scene if desired?

I find it useful to have a visual indication that your instance has been updated. Even without following the forum, you get the info that way.

---

<div class="post-metadata">

**Author:** ![l.dolle](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/l.dolle/32/17380_2.png) [@l.dolle](https://community.gladysassistant.com/u/l.dolle)\
**Post date:** [January 21, 2025, 12:28am UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/6 "2025-01-21T00:28:18Z")

</div>

Hi everyone,  
I received an SMS today (from Free) about Gladys restarting. I wondered why. Power outage?..  
When I got home, I saw that Gladys had been updated.  
That gave me the following idea:  
It would be cool to have an «&nbsp;Update&nbsp;» trigger that would allow me to alert myself by SMS.  
What do you think?

---

<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:** [January 21, 2025, 7:41am UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/7 "2025-01-21T07:41:31Z")

</div>

Why not, if you want to see this in Gladys → feature request 🙂 (We might edit that one, I’ll let you talk to @Tlse-vins about it)

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [January 21, 2025, 7:47am UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/8 "2025-01-21T07:47:19Z")

</div>

Yes, it’s possible to modify the request so that it addresses more use cases.

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [January 21, 2025, 9:33am UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/9 "2025-01-21T09:33:20Z")

</div>

On my side I added Telegram notifications to Watchtower, which allows me to see which containers have been updated with a [basic report](https://containrrr.dev/watchtower/notifications/#report_templates). Admittedly it sends notifications every day but at least I know what’s going on.  
Voici ce que ça donne dans mon docker compose :

```auto
version: '3.3'

services:
  watchtower:
    image: containrrr/watchtower
    restart: always
    container_name: watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/localtime:/etc/localtime:ro
    environment:
      TZ: Europe/Paris
      WATCHTOWER_LIFECYCLE_HOOKS: "true"
      WATCHTOWER_NOTIFICATIONS: "shoutrrr"
      WATCHTOWER_NOTIFICATION_URL: >
        telegram://BOT_TOKEN@telegram/?channels=CHAT_ID
      WATCHTOWER_CLEANUP: "true"
# WATCHTOWER_SCHEDULE: 0 0 20 * * *
      WATCHTOWER_NOTIFICATION_REPORT: "true"
      WATCHTOWER_NOTIFICATION_TEMPLATE: |
        {{- if .Report -}}
          {{- with .Report -}}
        {{len .Scanned}} Scanned, {{len .Updated}} Updated, {{len .Failed}} Failed
              {{- range .Updated}}
        - {{.Name}} ({{.ImageName}}): {{.CurrentImageID.ShortID}} updated to {{.LatestImageID.ShortID}}
              {{- end -}}
              {{- range .Fresh}}
        - {{.Name}} ({{.ImageName}}): {{.State}}
            {{- end -}}
            {{- range .Skipped}}
        - {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}
            {{- end -}}
            {{- range .Failed}}
        - {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}
            {{- end -}}
          {{- end -}}
        {{- else -}}
          {{range .Entries -}}{{.Message}}{{"\n"}}{{- end -}}
        {{- end -}}

```

and this is what it looks like (I have 3 Docker instances with Watchtower on each) :

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/9/6/96c5ce63af59297a2ccb1abcc1a51c6b93a363fd.png)

---

<div class="post-metadata">

**Author:** ![lmilcent](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lmilcent/32/7023_2.png) [@lmilcent](https://community.gladysassistant.com/u/lmilcent)\
**Post date:** [January 21, 2025, 3:58pm UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/10 "2025-01-21T15:58:27Z")

</div>

Nice notification message 🤩  
I’ll snag it for my servers, it’s more explicit and less verbose than the default logs 😁

I’m in favor of the notification being integrated or via a scene trigger.

Finally, having the info in Gladys with a link to the release notes, or directly integrated into the notification (

---

<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:** [May 10, 2025, 12:56pm UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/11 "2025-05-10T12:56:49Z")

</div>

Hello everyone!

Gladys will now send a notification to administrators when Gladys has been updated, in their language and with a link to the release post:

 ![Screenshot 2025-05-10 at 14.28.01](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/3/c/3cecb7298ee0ba11b8749b7d99731f0189f5e31a.png)

The PR:

> <https://github.com/GladysAssistant/Gladys/pull/2300>
>
> \### 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
> 
> https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896

---

<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:** [May 11, 2025, 3:08pm UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/12 "2025-05-11T15:08:46Z")

</div>

This new feature is available in Gladys Assistant 4.58 :

> [@Gladys Assistant 4.58: Matter, mais pas que ! grinning\_face\_with\_smiling\_eyes](https://community.gladysassistant.com/t/gladys-assistant-4-58-matter-pas-pas-que/9503):
>
> Salut la communauté wave Je suis très heureux de vous présenter Gladys Assistant 4.58, une nouvelle version majeure qui apporte le support de Matter, ainsi que plein d’autres nouveautés pratiques ! Tous les détails sont sur le blog : N’hésitez pas à me faire part de vos retours slightly_smiling_face

---

<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:** [May 11, 2025, 3:08pm UTC](https://community.gladysassistant.com/t/recevoir-une-notification-quand-gladys-sest-mise-a-jour/7896/13 "2025-05-11T15:08:48Z")

</div>


