hi @Ingo67 PowerApps (or my knowledge thereof) is a bit limited to do this kind of analysis in the app without using azure or ai builder.
having said that if you can isolate the image to have the colors as just blue (i assume a blue can be zoomed into when light is off) for on and white for light on then you can convert those images every 5 seconds in power apps.
Lets get the strings for 3 images:
Base: Set(_JSON,JSON(Image2.Image,JSONFormat.IncludeBinaryData));
Compare1: Set(_JSON2,JSON(Image2_1.Image,JSONFormat.IncludeBinaryData));
Compare2: Set(_JSON3,JSON(Image2_2.Image,JSONFormat.IncludeBinaryData))
Assume base is the blue you can compare the json string of the others to blue. note these are single color comparisons.
Image 1 (Light is on)

Image 2 (light is off)

Image 3 (something else)

Json strings

Check the images
Set(_Check1,ForAll(Sequence(Len(JSON_Label.Text),1),{checkval:If(Mid(_JSON,Value,1)=Mid(_JSON2,Value,1),1,0)}));
Set(_Check2,ForAll(Sequence(Len(JSON_Label.Text),1),{checkval:If(Mid(_JSON,Value,1)=Mid(_JSON3,Value,1),1,0)}))
Blue image = 63.64% (light ison)
Mixed Images = 59.68% (something else - maybe cam moved)

White image: 100% light is on
Its not the cleanest but it will work if you get to isolate the colors. Maybe you can work with this or someone else can give more insight.