Open mneumark opened 4 years ago
Wow, I totally remember responding to this issue, but apparently I either did not, or my mobile app failed. SO SORRY!
There IS pre/post snapshot scripting. See the camera profile:
Hopefully this works for you. Click on the blue question mark for more info about the settings. Turning on/off lighting is specifically mentioned in the help, though I have no example scripts for this. I've heard other people using these scripts to turn on/off lighting, so it should be possible (that's why I added them in fact).
Let me know if that helps, and I must again apologize for not responding (or rather not double checking).
If this is a feature request describe it here
I wanted to do a timelapse while printing glow in the dark PLA. Only issue is that the glow only lasts for a while after the light turns off. I have a smart light over the enclosure so I want to keep the enclosure light on while printing, but before the shot is taken (say X amount of seconds before/after the shot is taken) I want to turn the light off, and then after the shot is taken, turn the light back on.
If I could trigger a shell script or at least call a REST API, I could do what I needed to.
Version of Octolapse
Octolapse Version: v0.4.0
Version of OctoPrint
OctoPrint Version: 1.4.2
When you ran into the problem, did you have diagnostic logging enabled?
Diagnostic Logging was Enabled: _REPLACE_THISYES_OR_NO
What were you doing when the problem occurred
What should have happened?
_REPLACE_THISPUT_YOUR_DESCRIPTION_HERE
What happened instead?
_REPLACE_THISPUT_YOUR_DESCRIPTION_HERE
Operating System running OctoPrint and Octolapse
OS Name: _REPLACE_THISOS_NAME_GOES_HERE Os Version: _REPLACE_THISOS_VERSION_GOES_HERE
Printer model & used firmware incl. version
Printer Model: _REPLACE_THISPRINTER_MODEL_GOES_HERE Printer Firmware Version: _REPLACE_THISPRINTER_FIRMWARE_VERSION_GOES_HERE
Browser and version of browser, operating system running browser
Browser: _REPLACE_THISBROWSER_VERSION_GOES_HERE Browser OS: _REPLACE_THISBROWSER_OS_GOES_HERE
Link to the gcode file you were printing when the problem occurred
Link to Gcode File: _REPLACE_THISGCODE_FILE_LINK_GOES_HERE
Link to settings.json
Link to settings.json with all passwords removed: _REPLACE_THISSETTINGS_JSON_LINK_GOES_HERE
Link to plugin_octolapse.log
Link to plugin_octolapse.log: LINK_GOES_HERE
Link to octoprint.log
Link to octoprint.log: _REPLACE_THISLINK_GOES_HERE
Link to contents of Javascript console in the browser
Link to javascript console output: _REPLACE_THISLINK_GOES_HERE
Screenshots and/or videos of the problem:
Screenshot/Video Links: _REPLACE_THISLINKs_GO_HERE
Please consider becoming a patron
If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.
You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.