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.
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.
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:
That’s it. For now, I work around the « lack » by using the « Rule » function to tell Tasmota to post to Gladys in MQTT.
If I can help…
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.
To ensure I don’t make a mistake, could you send me the result of the MQTT command cmnd/tasmota_XXXX/status please?
If this is a problem, don’t worry about it, using the ‹ rule › function works very well (but is less ‹ user friendly › in the spirit of Gladys)
That would be too easy ![]()
No problem, I’ll do my best!
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 ![]()
Which device(s)? RFID, switches, buttons, IR/RF send or IR/RF rcv?
The RFID module returns
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
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!
Super, actually, it’s mainly the IR and RF that interest me, as they are potential actuators.
Here’s the Wemos that handles all this:
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"}}
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:
with this nice error:
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)

In English it’s OK
In French it’s not working
Problem with the translation files
@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 ^^
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
You can add a sentence here Gladys/server/config/brain/camera/questions.fr.json at master · GladysAssistant/Gladys · GitHub
Like \"Show me the camera in the %room%\"
Ok strange, c’est peut-être les noms des chambres de tes enfants qui « tricks » l’algo, derrière c’est une boite noire le NLP qui fait ça, il a « appris » avec le modèle, et parfois certains noms un peu spéciaux peuvent le troubler ^^
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 ^^
The first names of my children are as « simple » as can be ^^
Isn’t it more the sequence of the words « de » and « la » that it
Yes, that’s what I meant, but I expressed it poorly ![]()
I think we can add this phrasing to the model in a PR, yes! Anyone making a PR? ![]()
Lucky luke