Hi there, it's been quite a while I'm trying to get my smart water valve to work through MQTT;
I can easily get its connection status (online/offline), its actual 1 or 0 status (get) but I see there must be some issue with the commands sending;
if I use Tasmota syntax "cmnd/MYVALVE/POWER on" I see through the webapp log section that it recognizes it as a tasmota command but it doesn't activate or deactivate my valve;
whenever I use its "regular" syntax MYVALVE/channel/set:
if it's been toggled to "ON" and I leave it blank (no payload) the log tab returns with the following:
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT in topic SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT topic not handled: SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT client in mqtt_incoming_data_cb data is for ch 0
Info:GEN:CHANNEL_Set channel 0 has changed to 0 (flags 0)
and my valve moves...that means it's toggled (see below picture)
whenever my valve has been toggled to "0" no matter what payload I use, I have no reaction and log tab shows nothing
the third condition I noticed is that if my valve it's been toggled to "0", and I leave the syntax empty again, I get the following:
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT in topic SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT topic not handled: SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT client in mqtt_incoming_data_cb data is for ch 0
Info:GEN:No change in channel 0 (still set to 0) - ignoring
valve can be moved easily though the main web interface acting on the "toggle0" button
HTTP interface works perfectly
so I guess if there's something I miss in the syntax when I want to send a "1" in place of a "0" through MQTT.
thanks a lot in advance for your help!
Leo
I can easily get its connection status (online/offline), its actual 1 or 0 status (get) but I see there must be some issue with the commands sending;
if I use Tasmota syntax "cmnd/MYVALVE/POWER on" I see through the webapp log section that it recognizes it as a tasmota command but it doesn't activate or deactivate my valve;
whenever I use its "regular" syntax MYVALVE/channel/set:
if it's been toggled to "ON" and I leave it blank (no payload) the log tab returns with the following:
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT in topic SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT topic not handled: SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT client in mqtt_incoming_data_cb data is for ch 0
Info:GEN:CHANNEL_Set channel 0 has changed to 0 (flags 0)
and my valve moves...that means it's toggled (see below picture)

whenever my valve has been toggled to "0" no matter what payload I use, I have no reaction and log tab shows nothing

the third condition I noticed is that if my valve it's been toggled to "0", and I leave the syntax empty again, I get the following:
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT in topic SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT topic not handled: SmartWaterValve-1FBE44A7/0/set
Info:MQTT:MQTT client in mqtt_incoming_data_cb data is for ch 0
Info:GEN:No change in channel 0 (still set to 0) - ignoring
valve can be moved easily though the main web interface acting on the "toggle0" button

HTTP interface works perfectly
so I guess if there's something I miss in the syntax when I want to send a "1" in place of a "0" through MQTT.
thanks a lot in advance for your help!
Leo