From 06c004c16d4009a3115fc46f5378eb6a06ca1885 Mon Sep 17 00:00:00 2001 From: e2002 Date: Thu, 3 Mar 2022 21:08:28 +0300 Subject: [PATCH] v0.4.322 --- README.md | 2 ++ yoRadio/mqttoptions.h | 46 ------------------------------------------- 2 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 yoRadio/mqttoptions.h diff --git a/README.md b/README.md index 1b45e5b..1c0e773 100644 --- a/README.md +++ b/README.md @@ -218,6 +218,8 @@ download _http://\/data/playlist.csv_ and _http://\/data **stop** - stop playing \ **start, play** - start playing \ **boot, reboot** - reboot \ + **volm** - step vol down \ + **volp** - step vol up \ **vol x** - set volume \ **play x** - play station x --- diff --git a/yoRadio/mqttoptions.h b/yoRadio/mqttoptions.h deleted file mode 100644 index ace5b9a..0000000 --- a/yoRadio/mqttoptions.h +++ /dev/null @@ -1,46 +0,0 @@ -#include "options.h" - -#define MQTT_HOST "192.168.7.3" -#define MQTT_PORT 1883 -#define MQTT_USER "" -#define MQTT_PASS "" - -/* - * HWID's: - * 0: with yellow-blue SSD1306 - * 1: white SSD1306 without controls - * 2: ST7735 with encoder - * 3: Nokia 5110 dev board - * 4: VS1053 dev - * 5: VS1053 UNO3 Shield - */ -#if HWID==0 -#define MQTT_ROOT_TOPIC "yoradio/tv/" -#elif HWID==1 -#define MQTT_ROOT_TOPIC "yoradio/work/" -#elif HWID==2 -#define MQTT_ROOT_TOPIC "yoradio/st7735/" -#elif HWID==3 -#define MQTT_ROOT_TOPIC "yoradio/nokia5110/" -#elif HWID==4 -#define MQTT_ROOT_TOPIC "yoradio/vs1053dev/" -#elif HWID==5 -#define MQTT_ROOT_TOPIC "yoradio/kitchen/" -#endif -/* -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 -*/