# Gladys Assistant v4.25.1: Tasmota and bug fixes!

**URL:** <https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244>\
**Category:** Actualités\
**Created:** [July 3, 2023, 8:25am UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244 "2023-07-03T08:25:02Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [July 3, 2023, 8:25am UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/1 "2023-07-03T08:25:02Z")

</div>

Hello everyone!

A quick post to introduce Gladys Assistant v4.25.1, released last Friday and which should already be deployed on your instances 🕶

**Tasmota improvements around consumption tracking**

There were several unit issues with the Tasmota integration on the consumption tracking features, and this is now fixed in Gladys:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/e/e473ca69629f166749b28645dfa37cf18deee52f.png)

Thanks @Terdious for the PR, and @GBoulvin for the testing 🙏

**Fix for a camera-related bug (ffmpeg)**

For some users, when their camera didn’t respond well to Gladys requests, the ffmpeg processes remained active and accumulated on the user’s system, consuming RAM unnecessarily.

This update limits requests to fetch a camera image to 10 seconds.

Beyond that, the process is terminated to avoid saturating RAM.

Thanks to @lmilcent for reporting the bug 🙏

**Fix for a bug in the scene editor interface**

The «&nbsp;Execute only when the threshold is passed&nbsp;» button was no longer clickable.

This is now fixed.

**Fix for a bug in the new «&nbsp;Devices&nbsp;» widget**

The new «&nbsp;Devices&nbsp;» widget was introduced in the latest Gladys release, and there was a bug with roller shutters that could not be controlled.

This is now fixed in this version.

**Improvement to m² units**

All units with an exponent now show the exponent and not just a «&nbsp;2&nbsp;»

 ![Screenshot 2023-07-03 at 10.22.50](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/021171c2e0120eeed9fd85759800c01f14124b64.png)

The full changelog is available [here](https://github.com/GladysAssistant/Gladys/releases/tag/v4.25.1).

**How to update?**

If you installed Gladys with the official Raspberry Pi OS image, your instances will update **automatically** in the coming hours. This can take up to 24 hours — don’t worry.

If you installed Gladys with Docker, make sure you are using Watchtower (See the [documentation](https://gladysassistant.com/fr/docs/installation/docker#mise-%C3%A0-jour-automatique-avec-watchtower))

---

<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:** [July 3, 2023, 8:30am UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/2 "2023-07-03T08:30:16Z")

</div>



---

<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:** [July 3, 2023, 8:48am UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/3 "2023-07-03T08:48:57Z")

</div>

Awesome, thanks everyone!!

---

<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:** [July 3, 2023, 12:48pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/4 "2023-07-03T12:48:53Z")

</div>

Thanks for this new summer release 🙂

I’ll be able to test the fix with an image refresh every second 👿

---

<div class="post-metadata">

**Author:** ![Einstein8854](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/einstein8854/32/9474_2.png) [@Einstein8854](https://community.gladysassistant.com/u/Einstein8854)\
**Post date:** [July 3, 2023, 12:59pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/5 "2023-07-03T12:59:08Z")

</div>

hello,  
small question: since upgrading to 4.25 I’ve noticed that my Gladys container restarts consistently every 8-9 hours.  
Has anyone else noticed the same?  
Gladys? Docker?

---

<div class="post-metadata">

**Author:** ![tiboys](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tiboys/32/17668_2.png) [@tiboys](https://community.gladysassistant.com/u/tiboys)\
**Post date:** [July 3, 2023, 2:02pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/6 "2023-07-03T14:02:24Z")

</div>

> [@Einstein8854](#):
>
> small question: since switching to 4.25 I notice that my Gladys container restarts systematically every 8-9 h.

Not for me apparently.

 ![Capture d'écran 2023-07-03 à 16.01.11](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/282fa96a7b1f165828c9882ef26399fbfb186a63.png)

Thanks for this very useful update 👍

---

<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:** [July 3, 2023, 3:49pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/7 "2023-07-03T15:49:13Z")

</div>

Not for me either

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/cf3d34f39f62df0127219bb29d665414c139ee00.png)

Thank you for this work

---

<div class="post-metadata">

**Author:** ![Einstein8854](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/einstein8854/32/9474_2.png) [@Einstein8854](https://community.gladysassistant.com/u/Einstein8854)\
**Post date:** [July 3, 2023, 5:35pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/8 "2023-07-03T17:35:41Z")

</div>

For me too, the container was created 2 days ago but restarts every 8–9 hours.

```auto
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9423a0d2c8ae koenkk/zigbee2mqtt:latest "docker-entrypoint.s…" 33 hours ago Up 30 hours gladys-z2m-zigbee2mqtt
213df88766f2 gladysassistant/gladys:v4 "docker-entrypoint.s…" 2 days ago Up 2 hours gladys
382d1aca2515 eclipse-mosquitto:2 "/docker-entrypoint.…" 2 weeks ago Up 30 hours gladys-z2m-mqtt
7b0f1fffd08d eclipse-mosquitto:2 "/docker-entrypoint.…" 2 weeks ago Up 30 hours eclipse-mosquitto
3022ae50d1f0 nodered/node-red:latest "./entrypoint.sh" 4 weeks ago Up 30 hours (healthy) node_red
a82e3156b2b2 portainer/portainer-ce:latest "/portainer" 5 weeks ago Up 30 hours 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 0.0.0.0:9443->9443/tcp, :::9443->9443/tcp, 9000/tcp portainer
6bc764d42070 containrrr/watchtower "/watchtower --clean…" 3 months ago Up 30 hours 8080/tcp
       watchtower

```

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [July 3, 2023, 6:48pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/9 "2023-07-03T18:48:40Z")

</div>

Hi, think about adding logs, otherwise it’s hard to guess what’s happening on your machine 🙂

---

<div class="post-metadata">

**Author:** ![Einstein8854](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/einstein8854/32/9474_2.png) [@Einstein8854](https://community.gladysassistant.com/u/Einstein8854)\
**Post date:** [July 4, 2023, 9:32am UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/10 "2023-07-04T09:32:52Z")

</div>

hello,  
I mainly thought it was a problem with Docker.  
But good catch on your part — I checked the logs and I think I found the anomaly!  
Apparently it’s the Nextcloud service.  
I stopped the service (which I wasn’t using) and since then no more restarts every 8 hours.  
I have the impression that it was causing excessive RAM usage. In fact, on the Gladys server I had Firefox and MQTT Explorer crashing after a certain time and they wouldn’t restart, and since I stopped the Nextcloud service in Gladys there are no more problems.  
Log excerpt attached if that helps. I haven’t started Gladys development yet (I installed an env and intend to, but for now I’m working on Delphi/Pascal, SQL and Python development).

```auto
2023-07-03T23:59:02+0200 <info> bot.poll.js:36 (MessageHandler.poll) Fail to request new Nextcloud Talk messages, retry
2023-07-03T23:59:02+0200 <warn> bot.poll.js:37 (MessageHandler.poll) TypeError: Invalid URL
    at new NodeError (node:internal/errors:399:5)
    at new URL (node:internal/url:560:13)
    at dispatchHttpRequest (/src/server/services/nextcloud-talk/node_modules/axios/lib/adapters/http.js:176:20)
    at new Promise (<anonymous>)
    at http (/src/server/services/nextcloud-talk/node_modules/axios/lib/adapters/http.js:112:10)
    at Axios.dispatchRequest (/src/server/services/nextcloud-talk/node_modules/axios/lib/core/dispatchRequest.js:51:10)
    at Axios.request (/src/server/services/nextcloud-talk/node_modules/axios/lib/core/Axios.js:142:33)
    at Function.wrap [as request] (/src/server/services/nextcloud-talk/node_modules/axios/lib/helpers/bind.js:5:15)
    at MessageHandler.poll (/src/server/services/nextcloud-talk/lib/bot/bot.poll.js:34:31)
    at Timeout._onTimeout (/src/server/services/nextcloud-talk/lib/bot/bot.poll.js:52:27)
    at listOnTimeout (node:internal/timers:569:17)
    at processTimers (node:internal/timers:512:7) {
  input: '/ocs/v2.php/apps/spreed/api/v1/chat/?timeout=15\u0026lookIntoFuture=0\u0026includeLastKnown=1',
  code: 'ERR_INVALID_URL'
}
2023-07-03T23:59:03+0200 <info> bot.poll.js:36 (MessageHandler.poll) Fail to request new Nextcloud Talk messages, retry
2023-07-03T23:59:03+0200 <warn> bot.poll.js:37 (MessageHandler.poll) TypeError: Invalid URL
    at new NodeError (node:internal/errors:399:5)
    at new URL (node:internal/url:560:13)
    at dispatchHttpRequest (/src/server/services/nextcloud-talk/node_modules/axios/lib/adapters/http.js:176:20)
    at new Promise (<anonymous>)
    at http (/src/server/services/nextcloud-talk/node_modules/axios/lib/adapters/http.js:112:10)
    at Axios.dispatchRequest (/src/server/services/nextcloud-talk/node_modules/axios/lib/core/dispatchRequest.js:51:10)
    at Axios.request (/src/server/services/nextcloud-talk/node_modules/axios/lib/core/Axios.js:142:33)
    at Function.wrap [as request] (/src/server/services/nextcloud-talk/node_modules/axios/lib/helpers/bind.js:5:15)
    at MessageHandler.poll (/src/server/services/nextcloud-talk/lib/bot/bot.poll.js:34:31)
    at Timeout._onTimeout (/src/server/services/nextcloud-talk/lib/bot/bot.poll.js:52:27)
    at listOnTimeout (node:internal/timers:569:17)
    at processTimers (node:internal/timers:512:7) {
  input: '/ocs/v2.php/apps/spreed/api/v1/chat/?timeout=15\u0026lookIntoFuture=0\u0026includeLastKnown=1',
  code: 'ERR_INVALID_URL'
}

```

---

<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:** [July 4, 2023, 3:04pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/11 "2023-07-04T15:04:21Z")

</div>

After the last message from @Einstein8854, I went to Settings \> Services to turn off nextcloud-talk (which I don’t use) and since I hadn’t been there for a long time the list has gotten quite long!

 ![Screenshot_20230704_165628_Chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/60aa9635f104d1e1305c2874f06f295385fdb106.jpeg)

Some items raise questions:

- example: ???
- Z-Wave: in error

I know that Z-Wave is obsolete but is it normal that it’s showing an error? Does this affect Gladys’ performance?

Can I disable example? Does it serve any other purpose?

---

<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:** [July 4, 2023, 3:10pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/12 "2023-07-04T15:10:33Z")

</div>

By the way, I notice something odd: the service names are not displayed the same way depending on whether I’m on mobile or on the computer (both via Gladys+)

 ![Capture d’écran 2023-07-04 170816](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/b2cd1bd69b4a4a61c67ec7ada0866f3761734901.jpeg)  
 ![Capture d’écran 2023-07-04 170752](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/8/847cc4a632dfee65eceec42db1a712df6e09b0ca.jpeg)

---

<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:** [July 4, 2023, 4:43pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/13 "2023-07-04T16:43:12Z")

</div>

> [@b3n.0](#):
>
> I went to take a look in Settings\>Services to turn off nextcloud-talk (which I don’t use)

Honestly, it doesn’t change anything at all 😃

> [@b3n.0](#):
>
> Some people ask me:
> 
> - example : ???
> - zwave : in error  
> I know that Z-Wave is obsolete but is it normal that it’s in error? Does that affect Gladys’ performance?

Example is a sample service mainly intended for developers to show an example. It’s not worth paying attention to, there’s nothing running in it 🙂

Don’t worry about Z-Wave, there isn’t a single line of Z-Wave code left in Gladys 🙂 It must be a leftover. It has no impact on Gladys.

> [@b3n.0](#):
>
> By the way, I notice something odd: the service names don’t display the same way depending on whether I’m on mobile or on the computer (both via Gladys+)

Strange, it must be a translations loading issue. Can you create a GitHub issue? I can’t guarantee I’ll look at it in the short term, it’s really very minor ^^

---

<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:** [July 5, 2023, 8:09am UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/14 "2023-07-05T08:09:44Z")

</div>

It seemed to me that Gladys shouldn’t go down if a service fails; do you have any idea why a service such as Nextcloud (not configured, moreover) would cause Gladys to crash?

When I went to disable the service, I noticed that the Bluetooth service on my system was in an error state as well:

 ![1000010369](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/be75ddaa68d276323ad01a9f1d75f9d9dd25de0f.jpeg)

I can’t find any specific logs.  
![1000010379|346x500](upload://d9uEru3zh

---

<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:** [July 5, 2023, 4:53pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/15 "2023-07-05T16:53:00Z")

</div>

> [@spenceur](#):
>
> I thought Gladys wasn’t supposed to go down if a service goes down; do you have any idea why a service like Nextcloud (not configured, what’s more) would cause Gladys to crash?

Can you create a separate topic with all the information? (crash logs in particular)

---

<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:** [July 5, 2023, 5:35pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/16 "2023-07-05T17:35:23Z")

</div>

Was your message intended for @Einstein8854, I suppose? 😃

Because I don’t have any info (logs, date or anything) about the Bluetooth :-/

---

<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:** [July 6, 2023, 8:04am UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/17 "2023-07-06T08:04:58Z")

</div>

No, it was for you

---

<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:** [July 6, 2023, 10:25am UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/18 "2023-07-06T10:25:30Z")

</div>

Well, that’s what happened to @Einstein8854 — in my case I just disabled the service just in case ^^'.

But my Bluetooth service is showing an error, yet there was no crash of gladys

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [July 6, 2023, 11:18am UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/19 "2023-07-06T11:18:51Z")

</div>

Thanks @Einstein8854 for reporting the Nextcloud Talk issue, for those who have it can any of you access its database and check the value of the `NEXTCLOUD_TALK_TOKEN` variables? Normally, if the poll is running it’s because you’ve already tried to configure the service and there’s a value  
I’ll try to fix the problem quickly

---

<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:** [July 6, 2023, 12:41pm UTC](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244/20 "2023-07-06T12:41:38Z")

</div>

@bertrandda Normally a crash when starting a service shouldn’t cause Gladys to crash — do you see what might have slipped through? 🙂

[Next page](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244.md?page=2)
