Closed raphaeleduardo42 closed 6 months ago
Hi there,
Containers in the stack can reach each other by their name, so you'll have to set the snapshot url in moonraker.conf
to http://webcam:8080/snapshot
.
The webcam URLs in mainsail do not need to be changed.
-Markus
Just worked @mkuf really thx
I've been trying to make timelapse to work for a couple of days. Gathering more information, I'd maybe found why but my lack of knowledge stop me trying to fix it.
The first error message I recieved was, when trying to render:
Going trough, it showed me that the TIMELAPSE_TAKE_FRAME gcode lead to this erro at the logs:
The error could be replicated when trying to get frame inside the container:
Even though the webcam is working, and accessable outside the container. When trying to access using the machine IP it worked flawless, so maybe this is related on how the containers are interacting with themselves.
When trying to acess the webcam inside the moonraker container trough curl it does work. Also using
http://webcam:8080/snapshot
as snapshot url from webcam on mainsail make work theTIMELAPSE_TAKE_FRAME
but also vanish the stream.