LYWSD02-LYWSD03MMC-MQTT
LYWSD02-LYWSD03MMC-MQTT copied to clipboard
Add Retain flag
I've found usefull using retain flag by adding "-r" at:
mqtt="mosquitto_pub -h $host -p $port -r"
Can you add this preference to mqtt.conf file?
can i ask how will this script affect battery on LYWSD03MMC if run at intervals of 15min or half hour?