Skip to content

Commit 7347235

Browse files
committed
adapt the initial commands for wack MCU firmwares
1 parent 707fae9 commit 7347235

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/miot/miot.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,12 @@ void Miot::setup() {
5555
rx_count_ = 0;
5656
}
5757

58-
queue_command("MIIO_mcu_version_req");
58+
// these two commands have to be the first two in that order to get
59+
// the deerma.humidifier.jsq5 mcu into its main app loop
5960
queue_net_change_command(true);
61+
queue_command("none");
62+
63+
queue_command("MIIO_mcu_version_req");
6064

6165
this->set_interval("poll", 60000, [this] {
6266
std::string cmd, part;

0 commit comments

Comments
 (0)