I am pretty green, so please be patient with me and let me know if this is the correct place for this question.
I am wanting to tap into an LED on a machine and monitor its status via GPIO. Depending on the flash pattern, a different status is determined and reported to a simple web page. If no LED, the machine is off/inactive; solid ON means normal operation; flashing denotes an error.
I have found tutorials about making an LED react to, but not about determining a state based on reading the input voltage from LED to the pi.
Any recommendations about wiring the LED to the GPIO and/or how to read the state is most welcome.