Can you explaine me how to set values for Dummy Switch with mqtt command?
I have this config on my esp: This command:
Code: Select all
mosquitto_pub -h xxx.xxx.xxx.xxx -t "sonoff_esp/Boot_State/OnBoot_On" -m 1
Moderators: grovkillen, Stuntteam, TD-er
Code: Select all
mosquitto_pub -h xxx.xxx.xxx.xxx -t "sonoff_esp/Boot_State/OnBoot_On" -m 1
Code: Select all
sonoff_esp/cmd
Code: Select all
TaskValueSet,2,1,1
how can I do it?you can use retained messages since the broker will always store these and then they'll be re-imported on boot.
I do it when flash the device. But nothing changed. If it will works for me, I don't ask how to do this!In advanced settings:
MQTT Retain Msg: on
Message Delay: 1000 [ms]
It will be greate. Don't rush you, It's not urgently.grovkillen wrote: ↑21 Feb 2018, 22:06 I will make a guide for others to follow, don't have the time right now but soon.
Users browsing this forum: Google [Bot] and 119 guests