stefanbode / Sonoff-Tasmota

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options
GNU General Public License v3.0
126 stars 40 forks source link

Shutter MQTT - send message instead of topic #49

Closed pszafer closed 6 years ago

pszafer commented 6 years ago

Right now with shutter blinds I have to send empty message to topic shutteropen, shutterclose etc. I think it would be better if user can send mqtt message to topic like this:

mosquitto_pub -h 192.168.4.15 -u mqtt -P pass -t "cmnd/sonoff/shutteroperation" -m shutteropen

instead of

mosquitto_pub -h 192.168.4.15 -u mqtt -P pass -t "cmnd/sonoff/shutterstop" -m ''
stefanbode commented 6 years ago

This is not in sync with the rest of the behavior of TASMOTO. Therefore no change here. Also the index 1..4 will not work with your idea.