-
-
Notifications
You must be signed in to change notification settings - Fork 101
-
Hello, Is there a way to perhaps pass some environmental value in the docker compose file to enable debug logs? That would've been really helpful. On a side note; any help in debugging the issue of the webcam not creating archives would be much appreciated! Thanks. |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments · 10 replies
-
Could you post your webcam setup? When should there be an image being taken for archiving? Based on motion? How big of a motion? Based on time? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Here's my update: I have checked my docker file and it is as it should be, according to the source code of the project. The paths seem correct. services:
terrariumpi:
image: theyosh/terrariumpi:latest # Or use a specific version
volumes:
- /opt/terrariumpi/logs:/TerrariumPI/log
- /opt/terrariumpi/data:/TerrariumPI/data
- /opt/terrariumpi/media:/TerrariumPI/media
- /opt/terrariumpi/scripts:/TerrariumPI/scripts
- /opt/terrariumpi/webcam-archive:/TerrariumPI/webcam/archive
- /opt/terrariumpi/DenkoviRelayCommandLineTool:/TerrariumPI/3rdparty/DenkoviRelayCommandLineTool
- /boot/config.txt:/boot/config.txt # For Buster and Bullseye
- /boot/cmdline.txt:/boot/cmdline.txt # For Buster and Bullseye
- /boot/firmware/config.txt:/boot/firmware/config.txt # For Bookworm
- /boot/firmware/cmdline.txt:/boot/firmware/cmdline.txt # For Bookworm
- /run/udev:/run/udev # For Bookworm
- /etc/modules:/etc/modules
- /dev:/dev
network_mode: host
restart: unless-stopped
privileged: true
cap_add:
- NET_ADMIN
stop_grace_period: 1m
stop_signal: SIGINT
init: true
environment:
TZ: "Europe/Zurich"
ENABLE_I2C: "true"
ENABLE_1_WIRE: "false"
ENABLE_CAMERA: "true"
ENABLE_SERIAL: "false"
ENABLE_CO2_SENSORS: "false"
AUTO_REBOOT: "true" I also enabled debug mode overnight, by using a logging.custom.cfg file.
And here is my Motion settings: |
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
Motion detection is working like expected. With a live stream. the name and time is put into the stream directly. And for motion detection I grab a frame of the live stream. And this will trigger a motion detection. I have to see if I can ignore that space in the image. And about the trigger part, I have to look into it. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Another question: You have not added this webcam to an enclosure? It is running 'stand alone'? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Ah actually I just realized it wasn't added to the enclosure! 🤦♂️ |
Beta Was this translation helpful? Give feedback.
All reactions
-
So I think I have fixed both issues.
Problem for you is that you run in Docker. So updating/testing is a bit hard for you. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Perfect, thanks so much! By adding the webcam to the enclosure I can now see that the archive is working again. However it's still capturing the clock ticking at the top. So I am going to disable archiving for now until there's a new docker image ready to pull. |
Beta Was this translation helpful? Give feedback.
So I think I have fixed both issues.
Problem for you is that you run in Docker. So updating/testing is a bit hard for you.