trying to read a switch from tasmota
output to MQT is
13:35:13 MQT: tele/B_Humid/SENSOR = {“Time”:“2020-03-23T13:35:13”,“Switch1”:“OFF”,“AM2301”:{“Temperature”:15.8,“Humidity”:55.6,“DewPoint”:6.9},“TempUnit”:“C”}
thanks but have the humidity reading working need to read the switch status as its on a tank have the relay working and the pmw on it but it the last thing i need to read
You should have a line that starts with stat check the tasmota console or try stat/B_Humid/SENSOR with no transformation needed. You may also need to set the custom on/off value to 1 and the other to 0.