How to get notification if RPi camera detects red light instead of green?

I’m new to HA and I’m wondering if it’s possible to set up another Raspberry with camera pointing to the house heating system’s indicator leds which tell the state of system. A bright green led is always on if everything is ok and it turns red if there is a fault in the system.

I would like to get a notification if the led turns to red.

I have one extra Pi Zero W and a camera module. My HA is running on RPi 3 B.