# Various bug reports

**URL:** <https://community.gladysassistant.com/t/releve-de-bugs-divers/6271>\
**Category:** Configuration\
**Created:** [April 20, 2021, 7:11pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271 "2021-04-20T19:11:46Z")\
**Posts on this page:** 20\
**Page:** 7

<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:** [July 4, 2021, 5:10am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/121 "2021-07-04T05:10:22Z")

</div>

Hello, for Tasmota, it doesn’t work per device. The service knows how to decode the features as Tasmota reports them.

Are there any features that are missing or not working?  
Make a list. I might have a few days available next week.

---

<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:** [July 6, 2021, 7:46pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/122 "2021-07-06T19:46:48Z")

</div>

Hello @AlexTrovato,  
I use Tasmota for my RFID reader (RC522), RF and IR sending and receiving, and contact switches (as sensors). Here are the commands and received values:

- IrSend (sent via HTTP command);
- RfSend (sent via HTTP command);
- IRrcv: {«&nbsp;IrReceived&nbsp;»:{«&nbsp;Protocol&nbsp;»:«&nbsp;value&nbsp;»,«&nbsp;Bits&nbsp;»:value,«&nbsp;Data&nbsp;»:value}};
- RFrcv: {«&nbsp;RfReceived&nbsp;»:{«&nbsp;Data&nbsp;»:«&nbsp;hex-value&nbsp;»,«&nbsp;Bits&nbsp;»:value,«&nbsp;Protocol&nbsp;»:value,«&nbsp;Pulse&nbsp;»:value}};
- RFID: MQT: tele/tasmota\_XXXX/SENSOR = {«&nbsp;Time&nbsp;»:«&nbsp;value&nbsp;»,«&nbsp;RC522&nbsp;»:{«&nbsp;UID&nbsp;»:«&nbsp;value&nbsp;»,«&nbsp;Data&nbsp;»:«&nbsp;value&nbsp;»,«&nbsp;Type&nbsp;»:«&nbsp;value&nbsp;»}};
- Switchs: MQT: tele/tasmota\_XXXX/SENSOR = {«&nbsp;Time&nbsp;»:«&nbsp;value&nbsp;»,«&nbsp;Switch3&nbsp;»:«&nbsp;OFF&nbsp;»,«&nbsp;Switch4&nbsp;»:«&nbsp;ON&nbsp;»};
- Buttons: MQT: stat/tasmota\_XXXX/RESULT = {«&nbsp;Button1&nbsp;»:{«&nbsp;Action&nbsp;»:«&nbsp;DOUBLE&nbsp;»}} (or single, triple, quad, penta and hold)

That’s it. For now, I work around the «&nbsp;lack&nbsp;» by using the «&nbsp;Rule&nbsp;» function to tell Tasmota to post to Gladys in MQTT.  
If I can help…

---

<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:** [July 10, 2021, 7:36am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/123 "2021-07-10T07:36:06Z")

</div>

Okay, this is going to be more complicated than expected. I remember why I hadn’t implemented these IR and RF features.

The values are not numeric but strings.

I will therefore have to work on the core of Gladys to properly handle this type of value.

I will certainly ask you to test the image containing the improvements as soon as everything is ready.

Just one question, for IR and/or RF, is sending commands via HTTP sufficient?

Because to properly integrate this into Gladys, we will need to make very big changes to the Tasmota service.

---

<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:** [July 10, 2021, 12:53pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/124 "2021-07-10T12:53:16Z")

</div>

To ensure I don’t make a mistake, could you send me the result of the MQTT command `cmnd/tasmota_XXXX/status` please?

---

<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:** [July 11, 2021, 1:47pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/125 "2021-07-11T13:47:32Z")

</div>

> [@AlexTrovato](#):
>
> Ok, this is going to be more complicated than expected, I remember why I didn’t implement these IR and RF features.

If this is a problem, don’t worry about it, using the ‹&nbsp;rule&nbsp;› function works very well (but is less ‹&nbsp;user friendly&nbsp;› in the spirit of Gladys)

> [@AlexTrovato](#):
>
> The values are not numeric, but character strings.

That would be too easy 😉

> [@AlexTrovato](#):
>
> I will certainly ask you to test the image containing the improvements as soon as everything is ready.

No problem, I’ll do my best!

> [@AlexTrovato](#):
>
> Is sending commands via HTTP sufficient?

Yes, no problem! It should be able to work in MQTT but it requires publishing to a specific topic and Gladys is not too happy 😉

> [@AlexTrovato](#):
>
> Can you send me the result of the MQTT command

Which device(s)? RFID, switches, buttons, IR/RF send or IR/RF rcv?  
The RFID module returns

```auto
15:25:24.193 CMD: cmnd/tasmota_C5B00A/status
15:25:24.201 MQT: stat/tasmota_C5B00A/STATUS = {"Status":{"Module":0,"DeviceName":"Barrière_Scan","FriendlyName":["Barriere_Scan"],"Topic":"tasmota_C5B00A","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0}}
15:25:24.318 MQT: stat/tasmota_C5B00A/STATUS11 = {"StatusSTS":{"Time":"2021-07-11T15:25:24","Uptime":"14T22:08:30","UptimeSec":1289310,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"MqttCount":298,"Wifi":{"AP":1,"SSId":"XXXXX","BSSId":"XXXXX","Channel":6,"RSSI":90,"Signal":-55,"LinkCount":79,"Downtime":"0T00:11:52"}}}
15:25:24.416 MQT: stat/tasmota_C5B00A/STATUS8 = {"StatusSNS":{"Time":"2021-07-11T15:25:24"}}

```

The module with button returns

```auto
15:45:25.892 CMD: cmnd/tasmota_067277/status
15:45:25.899 MQT: stat/tasmota_067277/STATUS = {"Status":{"Module":8,"DeviceName":"Liseuse","FriendlyName":["Tasmota"],"Topic":"tasmota_067277","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0}}
15:45:26.052 MQT: stat/tasmota_067277/STATUS11 = {"StatusSTS":{"Time":"2021-07-11T15:45:26","Uptime":"3T04:38:40","UptimeSec":275920,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":2,"POWER":"OFF","Wifi":{"AP":1,"SSId":"XXXXXXX","BSSId":"XXXXXXX","Channel":6,"Mode":"11n","RSSI":52,"Signal":-74,"LinkCount":2,"Downtime":"0T00:00:09"}}}
15:45:26.138 MQT: stat/tasmota_067277/STATUS8 = {"StatusSNS":{"Time":"2021-07-11T15:45:26"}}

```

Not sure if this helps, should I continue?  
Thanks for everything!

---

<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:** [July 11, 2021, 4:47pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/126 "2021-07-11T16:47:22Z")

</div>

Super, actually, it’s mainly the IR and RF that interest me, as they are potential actuators.

---

<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:** [July 12, 2021, 8:31am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/127 "2021-07-12T08:31:40Z")

</div>

Here’s the Wemos that handles all this:

```auto
10:27:00.766 MQT: stat/tasmota_D186E6/STATUS = {"Status":{"Module":0,"DeviceName":"RFTransmitter","FriendlyName":["RFTransmitter"],"Topic":"tasmota_D186E6","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0}}
10:27:00.885 MQT: stat/tasmota_D186E6/STATUS11 = {"StatusSTS":{"Time":"2021-07-12T10:27:00","Uptime":"0T00:00:23","UptimeSec":23,"Heap":21,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"XXXXXX","BSSId":"XXXXXX","Channel":6,"RSSI":60,"Signal":-70,"LinkCount":1,"Downtime":"0T00:00:03"}}}
10:27:00.967 MQT: stat/tasmota_D186E6/STATUS8 = {"StatusSNS":{"Time":"2021-07-12T10:27:00","AM2301":{"Temperature":21.4,"Humidity":62.4,"DewPoint":13.9},"TempUnit":"C"}}

```

---

<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:** [August 5, 2022, 8:49am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/128 "2022-08-05T08:49:43Z")

</div>

Hello!

I again have a problem when I ask Gladys to send me an image from the cam via Telegram.  
The difference is that this time I have no response in the chat:

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

with this nice error:

```auto
2022-08-05T10:46:23+0200 <error> index.js:15 (process.<anonymous>) unhandledRejection catched: Promise {
  <rejected> NotFoundError: Answer with intent camera.get-image-room.fail and language fr not found
      at Brain.getReply (/src/server/lib/brain/brain.getReply.js:18:11)
      at MessageHandler.replyByIntent (/src/server/lib/message/message.replyByIntent.js:15:27)
      at Camera.command (/src/server/lib/device/camera/camera.command.js:32:25)
      at EventEmitter.emit (events.js:400:28)
      at Event.emit (/src/server/lib/event/index.js:18:16)
}
2022-08-05T10:46:23+0200 <error> index.js:16 (process.<anonymous>) NotFoundError: Answer with intent camera.get-image-room.fail and language fr not found
    at Brain.getReply (/src/server/lib/brain/brain.getReply.js:18:11)
    at MessageHandler.replyByIntent (/src/server/lib/message/message.replyByIntent.js:15:27)
    at Camera.command (/src/server/lib/device/camera/camera.command.js:32:25)
    at EventEmitter.emit (events.js:400:28)
    at Event.emit (/src/server/lib/event/index.js:18:16)

```

![image](https://gladys-assistant-community.b-cdn.net/uploads/default/optimized/2X/2/26921575f22ddc41a7d5cfab03fd6a1ad3edd4d5_2_690x77.png)

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [August 5, 2022, 8:57am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/129 "2022-08-05T08:57:22Z")

</div>

Try with the coin

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

---

<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:** [August 5, 2022, 9:05am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/130 "2022-08-05T09:05:22Z")

</div>

In English it’s OK  
In French it’s not working

Problem with the translation files

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [August 5, 2022, 10:02am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/131 "2022-08-05T10:02:49Z")

</div>

It works in French too

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

So your error is strange, it may sound silly, but have you tried restarting 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:** [August 5, 2022, 2:02pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/132 "2022-08-05T14:02:57Z")

</div>

@spenceur you need to ask by room, not by the camera’s name! How would you ask that in French?

However, the error you’re getting is due to another error — a French translation of the response is missing in case of an error ^^

---

<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:** [August 5, 2022, 2:11pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/133 "2022-08-05T14:11:22Z")

</div>

Show me the camera in bedroom xyz

xyz is to be replaced with my child’s name.  
For that, it doesn’t work either..

However, I do get an image when I write:  
Show me the camera bedroom xyz  
Which is ugly

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [August 7, 2022, 1:03pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/134 "2022-08-07T13:03:21Z")

</div>

You can add a sentence here [Gladys/server/config/brain/camera/questions.fr.json at master · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/blob/master/server/config/brain/camera/questions.fr.json#L4)

Like `\"Show me the camera in the %room%\"`

---

<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:** [August 12, 2022, 8:30am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/135 "2022-08-12T08:30:00Z")

</div>

Ok strange, c’est peut-être les noms des chambres de tes enfants qui «&nbsp;tricks&nbsp;» l’algo, derrière c’est une boite noire le NLP qui fait ça, il a «&nbsp;appris&nbsp;» avec le modèle, et parfois certains noms un peu spéciaux peuvent le troubler ^^

> [@cicoub13](#):
>
> You can add a sentence here

Uh, though I don’t recommend doing that on your machine; if we find an improvement why not make a PR, but it’s not the user’s job to touch the code ^^

---

<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:** [August 12, 2022, 9:46am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/136 "2022-08-12T09:46:17Z")

</div>

The first names of my children are as «&nbsp;simple&nbsp;» as can be ^^

Isn’t it more the sequence of the words «&nbsp;de&nbsp;» and «&nbsp;la&nbsp;» that it

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [August 12, 2022, 10:06am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/137 "2022-08-12T10:06:25Z")

</div>

> [@pierre-gilles](#):
>
> why not open a PR

Yes, that’s what I meant, but I expressed it poorly 🙄

---

<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:** [August 12, 2022, 11:48am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/138 "2022-08-12T11:48:00Z")

</div>

> [@spenceur](#):
>
> Isn’t it rather the sequence of the words «&nbsp;de&nbsp;» and «&nbsp;la&nbsp;» that he doesn’t like?

I think we can add this phrasing to the model in a PR, yes! Anyone making a PR? 🙂

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [August 12, 2022, 1:14pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/139 "2022-08-12T13:14:35Z")

</div>

> <https://github.com/GladysAssistant/Gladys/pull/1586>
>
> \### Description of change
> 
> Add question \`"Montre moi la caméra de la %room%"\` …to 🇫🇷 camera brain
> 
> See https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/138

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [August 12, 2022, 7:26pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/140 "2022-08-12T19:26:31Z")

</div>

Lucky luke

[Previous page](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271.md?page=6)

[Next page](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271.md?page=8)
