I'm using a number of OAK4 Pro W cameras in a context where the bright blue LED indicator light on the front of the camera is going to be extremely distracting.

I dug through the docs and DepthAI source looking for some kind of programmatic control to dim or extinguish the indicator light, but found nothing...

Is there a way to turn off the light?

I'd love to avoid using a strip of tape.

Thanks!

    kitschpatrol
    echo "0,0,0,0" > /dev/status_led where values are 8bit "a r g b". You can set the alpha to 0 to turn it off.

    Thanks,
    Jaka

    Great, thanks Jaka!

    So a reasonable way to set this with DepthAI v3 might be something like:

    import depthai as dai
    
    device = dai.Device()
    
    with dai.Pipeline(device) as pipeline:
        script = pipeline.create(dai.node.Script)
        script.setScript("""
        import os
        while True:
            color = node.io['in'].get().getData()
            os.system(f"echo 1,{color[0]},{color[1]},{color[2]} > /dev/status_led")    
        """)
    
        script_input = script.inputs["in"].createInputQueue()
    
        pipeline.start()
    
        # Turn off status light at startup
        buffer = dai.Buffer()
        buffer.setData((0, 0, 0))
        script_input.send(buffer)
    
        while pipeline.isRunning():
            pass

    Also it's not a problem, but FWIW the "alpha" value doesn't seem to have any effect on the status LED — though I'm not sure what alpha should mean in this context anyway since the color value's not composited over anything.

    This turns the light to full white:

    echo 1,255,255,255 > /dev/status_led

    Light remains full white:

    echo 0,255,255,255 > /dev/status_led

    Alpha value doesn't appear in the stream from the device:

    head -c 40 /dev/status_led
    255 255 255255 255 255255 255 255255 255

    I'm testing with an OAK4-D R7 / OS RVC4 1.11.0 (debug) / Agent 0.9.0.