v0.8.962
This commit is contained in:
24
examples/mqttoptions.h
Normal file
24
examples/mqttoptions.h
Normal 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
|
||||
*/
|
||||
Reference in New Issue
Block a user