ArduCam IR support?

Many of us have ArduCam NOIR cams (https://www.arducam.com/product/arducam-m12-night-vision-ir-cut-raspberry-pi-camera/) hooked to our Pis to monitor our Octoprints. My Arducam has a selectable IR filter for nightvision but to toggle it, I need to ssh into the pi which is a pain.

At night, it'd be nice to shut off the power to the workshop while the printer is still printing but allow for the IR camera to still see the print.

From the Arducam manual:

Usage
You need to be root (or at least be able to use sudo).

Standalone: You can use the library as a standalone command:
$ sudo ./CameraLED.py
Usage: ./CameraLED.py (state|toggle|on|off)

$ sudo ./CameraLED.py state

State: 0

$ sudo ./CameraLED.py toggle

State: 1

$ sudo ./CameraLED.py toggle

State: 0

$ sudo ./CameraLED.py on

State: 1

sudo ./CameraLED.py off

State: 0

and what exactly is the question :smiley:

Have a mechanism for better support of cameras that allow for some control of their IR LEDs or IR-cutoff filters? I'm not sure if this is achievable through a plug-in as that might be an option.

Well the best idea I have is adding your shell command to the config.yaml

1 Like