reCamera Intellisense
by @ichizer0
Register and control reCamera Pro devices from an agent — onboard cameras, pick AI detection models by name, configure rule-based triggers (AI / timer / GPIO...
| Symptom | Likely cause / fix |
|---|---|
| HTTP 401/403 | Token missing/invalid — re-copy from Web Console; confirm sk_ prefix. |
| Connection refused / timed out | Wrong host/port/protocol; verify LAN reachability and device power. |
| HTTPS certificate error | Add "allow_unsecured": true for self-signed LAN certs (not for the public Internet). |
| get_detection_rules returns [] | Current trigger is not inference_set — call set_detection_rules (or inspect get_record_trigger). |
| Rules set but no events | No storage slot configured (get_storage_status); schedule window inactive; region_filter/confidence_range_filter too tight; debounce_times too high. |
| fetch_record returns only {url, note} | File is a video or exceeds max_inline_bytes (default 5 MiB). Fetch the URL directly or raise the budget. |
| storage_task_submit rejects sync=true | FORMAT/FREE_UP must run async — resubmit with "sync": false and poll storage_task_status. |
| Schedule rejected | Use Day HH:MM:SS with three-letter day; Day 24:00:00 valid. |
| set_detection_model fails: "not installed" | Run get_detection_models_info and use one of the returned names/ids. |
| detect_local_device returns null | No rcisd daemon is listening on the Unix socket (default /dev/shm/rcisd.sock) within 3 s. Start the daemon or pass a different socket_path. |
| start_capture rejects output with code 30022 | output must be an on-device directory under a mounted storage slot (check get_storage_status.mount_path). Local paths like /tmp/... are not valid — omit output to use the default slot, then fetch_file the result. |
| ImportError: recamera_intellisense | Set PYTHONPATH="{baseDir}/scripts" or cd {baseDir}/scripts before python3 -m recamera_intellisense. |
clawhub install recamera-intellisense