Skip to content

Commit 9279ae4

Browse files
committed
clarify mqtt publish command "status 8"
1 parent 7927eae commit 9279ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ void callback(String topic, byte* message, unsigned int length) {
281281
void wakeup() {
282282
dbSerial.println("Wakeup: retrieve all device states");
283283
MQTTClient.publish("cmnd/sonoffs/STATE", ""); // retrieve all device states
284-
MQTTClient.publish("cmnd/sonoffs/STATUS", "8"); // retrieve all device states
284+
MQTTClient.publish("cmnd/sonoffs/STATUS", "8"); // retrieve shutter positions and other sensor data
285285
MQTTClient.loop();
286286
}
287287

0 commit comments

Comments
 (0)