MQTT subscribing to talkback

Jacques van der Mescht 2021 年 5 月 30 日
最新アクティビティ Jacques van der Mescht さんによる返信 (2021 年 5 月 31 日)

Is there a way via MQTT to access the talkback. I want to read the talkback variable using MQTT and not REST. I have a ESP8266 which I am logging data, but also have a relay which I want to switch. I am using MQTT to log the data, but don't wanna use REST to access/read the talkback. Hope there is a way which I missed. Thanks so long.

Jacques van der Mescht
Jacques van der Mescht 2021 年 5 月 31 日

Thanks. Have been using a separate field. Just wanted to know if it was possible to update it via mqtt and "save" a field.

Vinod
Vinod 2021 年 5 月 30 日 (編集日時: 2021 年 5 月 30 日)

Why not use a separate field of the channel to switch your relay? This way you can just use the MQTT API.

What benefit do you get from TalkBack for your application?