workers / wine_inventory / src / pince_shelf / integration / motion_runtime.py¶
Path: workers/wine_inventory/src/pince_shelf/integration/motion_runtime.py
Lane: workers
Executable: yes
Purpose¶
Component: motion_runtime
Lane: workers
Path: workers/wine_inventory/src/pince_shelf/integration/motion_runtime.py
Role: Motion orchestrator (debounce-until-quiet)
Entry points¶
__main__guard detected
Key symbols¶
Classes¶
- (none detected)
Functions¶
_cleanup_pid_file(cfg)_load_cfg()_load_motion_state(state_file)_lock_file(cfg)_pid_file(cfg)_probe_visibility(cfg)_run_pipeline()_single_instance_lock(cfg)_sleep_with_log(seconds, reason)_state_file(cfg)_wait_until_quiet_window(cfg)main()
Configuration & environment¶
- (no env vars detected by regex)
Dependencies (imports)¶
__future__contextlibfcntljsonloggingpathlibpince_shelf.clipince_shelf.config.settingspince_shelf.utils.loggerpince_shelf.utils.pathspince_shelf.utils.tapo_managerpince_shelf.visiontimetyping
Operational notes (fill in)¶
- Headless/interactive:
- Systemd unit (if any):
- Schedules/triggers:
- Debug artifacts:
- Failure modes: