This commit is contained in:
e2002
2022-03-03 12:34:19 +03:00
parent b60ba004f8
commit bb752f08a2
8 changed files with 204 additions and 3 deletions

24
exsamples/mqttoptions.h Normal file
View File

@@ -0,0 +1,24 @@
#define MQTT_HOST "192.168.3.100"
#define MQTT_PORT 1883
#define MQTT_USER ""
#define MQTT_PASS ""
#define MQTT_ROOT_TOPIC "yoradio/100/"
/*
Topics:
MQTT_ROOT_TOPIC/command // Commands
MQTT_ROOT_TOPIC/status // Player status
MQTT_ROOT_TOPIC/playlist // Playlist URL
MQTT_ROOT_TOPIC/volume // Current volume
Commands:
prev // prev station
next // next station
toggle // start/stop playing
stop // stop playing
start, play // start playing
boot, reboot // reboot
vol x // set volume
play x // play station x
*/