Cross post from reddit https://www.reddit.com/r/homeassistant/comments/cradty/tasmota_help/
Hello everyone. In the process of trying to switch my Keurig over from a previous custom Arduino firmware to Tasmota. I am having some issues though. This is the code I am transitioning from https://github.com/w1ll1am23/mqtt_keurig/blob/738abfc0593508d12589851c1ebd060c70dc4b68/keurig.ino
There are 2 status LEDs and a relay. The prior code reported the power state of the Keurig based on the power LED being on which is detected by a photoresistor connected to a digital pin. Same goes for the water level status.
I have Tasmota setup as a generic device and I can get the relay to toggle state, but I don’t know how I can get the LED states? All of the existing Keurig functions still work (buttons and LEDS) all the relay does is toggle for 1 second to simulate the button press. I accomplished that with the pulsetime1 1 command. That is as far as I have made it.
So are there any Tasmota experts out there that can help me figure this out? Thanks.