Octoprint Enclosure Plugin LED and Fan control

Hello,

has anyone successfully connected the Artisan to Octoprint and the enclosure controlled the LED and fan?

Or is it not possible because the host action command is deactivated in the firmware?

Can you activate it?

I would like to turn the LED on and off for my camera.

Thanks

If you can activate the light with Luban you should be able to do it with octoprint either.

Could not find the Artisan repository on github, maybe M1010 works for you, try to send it via terminal then you should see if it is possible.

This is from 2.0:

Here for Artisan:

I have already tried the codes, they are not recognized

"Recv: echo:Unknown command: “M1010 S3 P100”

If I manually switch on the LED on the control unit, the following is displayed in the terminal

[hmi_set_enclosure_light] light level 100

However, when I run this code manually, it shows me “Unknown command:” again.

Hello,
Support contacted me today. The G-code is different than the Snapmaker 2.0! With these codes it works perfectly.

The G-code for the control of the enclosure fan and LED is as follows:

M2000W1P100
M2000 W1P0

M2000 W2 P100
M2000 W2 P0

Where W1 is the LED and W2 is the fan

1 Like