control tasmota power switchs with mqtt
T282828
mosquitto_sub -h localhost -t stat/powerswitch_01/POWER -u Ta5d6ff"Tffd700${Te6edf3switchuserTffd700}Ta5d6ff" -P Ta5d6ff"Tffd700${Te6edf3switchpassTa5d6ff"Ta5d6ff}
This will get the switch status, which is useful when debugging if the messages are even making it to the mqtt server. Replace T383838localhost with the right host if it's not on the local system.
Navigation