MQTT subscribing to talkback

Jacques van der Mescht on 30 May 2021
Latest activity Reply by Jacques van der Mescht on 31 May 2021

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 on 31 May 2021

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 on 30 May 2021 (Edited on 30 May 2021)

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?