This device is not showing a switch I configured on the device. I would like it to show as a sensor.
I have created it in HA via MQTT template but feel I should not have to?
My goal is to have a switch associated with a relay pin to trigger brewing, and this currently seems to work. But I want another “sensor” pin that is driven high/low by the brewing LED. Currently, if I pull D2/GPIO4 low, the MQTT sensor shows idle, and brewing when not pulled low, but I am not seeing this entity in the HA Tasmota integration. What am I doing wrong?
Yes, the MQTT sensor is working but I believe I should not have to that. I was under the impression that it would create the sensor, like it does for this device…
I converted MQTT sensors from legacy to modern but no change in what I see in the Tasmota integration for this device. If I add a relay to that switch then the switch shows up in the integration with on/off controls but that is not what I want. I just want a sensor to display the state of the switch, which MQTT gives me. Is this not possible?
It does not appear possible to achieve what I want without adding a relay to ESP8266 Tasmota to match the switch. This would require then adding a sensor to HA based on the state of the switch to achieve what I want. 60/40 as to which is easier…
Rather than having to manually create a MQTT sensor though, I am trying to get it to show under the Tasmota auto discovered device as a sensor, not a switch. I can get a switch if I add a relay to the switch in the Tasmota configuration on the device, but I don’t want that. I just want a sensor…
Sorry for the misunderstanding. I don’t think you can create the sensor in Tasmota even with rules. Have you considered ESPHOME. You can setup the pin as a binary sensor. Good Luck.
Now I just have to disassemble my KitchenAid Coffeemaker, remove the Sonoff inching relay w/120V:5V transformer and install this ESP8266 module with an additional connection to the power/brewing status LED.
Question: can I power the module via the 5V/GND pins instead of the USB connector???