From 067195ef807ae306bbdd82f08d4eabef11303109 Mon Sep 17 00:00:00 2001 From: aspitznyc <32138128+aspitznyc@users.noreply.github.com> Date: Fri, 5 Oct 2018 00:38:52 -0300 Subject: [PATCH] Updated SetOption0 because SaveData was deprecated --- Tips.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tips.md b/Tips.md index 9ece023b..71f609b7 100644 --- a/Tips.md +++ b/Tips.md @@ -14,7 +14,7 @@ BTW changing TOPIC can be done online using the fallback topic and is only neede ### For Flash afficionados - To stop saving parameter changes to Flash or Spiffs use command ```SaveData off```. -- To stop saving power changes only to Flash or Spiffs use command ```SaveState off```. This will disable the relay from returning to the same state after power on UNLESS you use the MQTT retain flag in which case the MQTT broker will send the last known MQTT state on restart or power on. The command ```ButtonRetain on``` will configure the button to send a MQTT command with Topic and the MQTT retain flag set. +- To stop saving power changes only to Flash or Spiffs use command ```SetOption0 off```. This will disable the relay from returning to the same state after power on UNLESS you use the MQTT retain flag in which case the MQTT broker will send the last known MQTT state on restart or power on. The command ```ButtonRetain on``` will configure the button to send a MQTT command with Topic and the MQTT retain flag set. ### Debugging - For debugging purposes you can use the serial interface with command ```SerialLog 4``` and the Arduino IDE set to 115200 baud (19200 for Sonoff Dual) and both NL & CR or the web console with command ```WebLog 4```.