Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
964 stars 227 forks source link

no remote control via mqtt #451

Open Heiner1967 opened 3 years ago

Heiner1967 commented 3 years ago

Hi, first of all, this is a great project and works super.

I do have it working, the webpage is fine as well and in mqtt the status messages are recieved.

However i stugle to put via mqtt a comand in to stop/unstop or mute unmute. From the documentation I understand it should be possible.

How exactly shall it work?

I use fhem to publish mqtt mesaages but tried as well to do so via MQTT.fx and via MQTT Explorer.

Shall the code acccept Mqtt comands?

Thanks for letting me know.

ahome-wugu commented 2 years ago

There is a typo in the src defaultprefs.h on line "mqqprefix = xxx" , change it to "mqttprefix = xxx", it works for me after modify this typo, fyi !

Edzelf commented 2 years ago

Fixed.