Commit Graph

8405 Commits

Author SHA1 Message Date
Koushik Dutta
961cb36a97 openvino: wip segmentation 2026-01-17 12:16:55 -08:00
Raman Gupta
a4d28791ed server: python rpc should use create_task instead of run_coroutine_threadsafe (#1953)
run_coroutine_threadsafe is designed for scheduling coroutines from a
different thread onto the event loop. Since readLoop is already running
as an async function on the event loop, using create_task is the correct
and more efficient approach.

This removes unnecessary thread-safe queue overhead for every RPC message.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 09:34:44 -08:00
Koushik Dutta
c1895df062 videoanalysis: fixup detection set 2026-01-12 15:10:36 -08:00
Koushik Dutta
bb902467eb videoanalysis: improve logging 2026-01-12 10:06:35 -08:00
Koushik Dutta
7202e99ab0 detect: publish betas 2026-01-10 15:30:07 -08:00
Koushik Dutta
38bac58fc6 openvino: new model, use huggingface as model source 2026-01-10 15:02:20 -08:00
Koushik Dutta
af8abb6072 rebroadcast: publish rtmp support beta 2026-01-09 12:45:48 -08:00
Koushik Dutta
7ef868e42d rebroadcast: rtmp window acks 2026-01-09 12:35:11 -08:00
Koushik Dutta
0185680791 rebroadcast: remove some bit shifting in favor of read/write uintbe 2026-01-08 21:35:04 -08:00
Koushik Dutta
1349bb7433 rebroadcast: slop rtmp implementation 2026-01-08 21:29:05 -08:00
Koushik Dutta
85074aaa7a detect: pubish betas 2026-01-08 09:37:00 -08:00
Koushik Dutta
beb7ec60ba detect: pubish betas 2026-01-08 09:13:42 -08:00
Koushik Dutta
126c96904b amcrest: publish 2026-01-08 08:31:57 -08:00
Koushik Dutta
70b7b4fa98 coreml: publish beta 2026-01-08 08:30:48 -08:00
Koushik Dutta
2cd73b5a6a openvino: new test model 2026-01-07 10:16:05 -08:00
Koushik Dutta
d6f13c7128 openvino: migrate to hugging face, remove old models. 2026-01-06 16:58:22 -08:00
Koushik Dutta
df1b389ef2 diagnostics: relax person detect for new models 2026-01-06 15:12:19 -08:00
Koushik Dutta
976204c439 coreml: change default model 2026-01-06 15:11:46 -08:00
Joey Stout
1adee0beb8 tuya: bump the tuya plugin and fix for devices (#1963)
* replace tool to use `ffmpeg` and bump v0.0.8

* format code

* wip

* wip: update components

* wip: remove websocket for cameras since they are not supported

* wip: allow changing between different login methods

It will prefer logging in with `Tuya (Smart Life) App` if there was no previous `userId`. Else, it will fall back to `Tuya Developer Account`.

* wip: fetch rtsp from Tuya Sharing SDK

* wip

* feat: add support for light accessory in camera

* fix: resolve indicator not updating

* wip: prevent setting motion if device has no motion detection

* improve mqtt reconnect, also update status

* bump version

* update commit

* bump to beta 3

* quick fix

* changelog

* fixchangelog

* bump version

* fix: resolve mqtt connection issues

* chore: bump version

* fix: use correct property for checking connection state

* chore: update changelog

* chore: bump version

* fix: ensure timeout is actually correct and bound corretly

* chore: update changelog

* bump version

* fix: fix setTimeout undefined function

* chore: update changelog

* fix: fix issue with camera not found

---------

Co-authored-by: ErrorErrorError <16653389+ErrorErrorError@users.noreply.github.com>
Co-authored-by: Erik Bautista Santibanez <erikbautista15@gmail.com>
2026-01-05 11:27:17 -08:00
radinsky
f5a10dd1cc wyze: add preset support (get/goto) and relevant webhook control (#1951)
* wyze: add preset support (get/goto) and relevant webhook control

* Update PTZ presets publishing

* Remove unnecessary ptzCapabilities emit

* removed unnecessary/debug leftovers

* Remove HttpRequestHandler and unused proprietry webhook gotopreset
2026-01-02 13:20:38 -08:00
Jackson Tomlinson
293a940771 amcrest: handle HTTP/1.0 responses in event listener (#1957)
Some Dahua/Amcrest NVRs (e.g., AMDV7208M) respond with HTTP/1.0 instead of
HTTP/1.1. The event listener was only checking for 'HTTP/1.1 200 OK',
causing it to throw 'expected boundary' errors and crash when receiving
HTTP/1.0 responses.

This fix adds support for both HTTP versions.

Fixes motion detection not working on older Dahua OEM NVRs.
2026-01-01 20:51:54 -08:00
Koushik Dutta
67728883cc core: publish oauth login fix 2025-12-31 12:15:35 -08:00
Koushik Dutta
5d02217a3e snapshot: make web hosted images bypass hotlink protection 2025-12-27 19:27:30 -08:00
Koushik Dutta
63a88e727a Merge branch 'main' of github.com:koush/scrypted 2025-12-27 19:07:57 -08:00
Koushik Dutta
1145caeb58 snapshot: make web hosted images bypass hotlink protection 2025-12-27 19:07:50 -08:00
apocaliss92
2cc7ab08fd reolink: add nvr support (#1947)
* work nvr

* Fix interfaces persisting

* Work

* Fix adopt imploding scrypted

* Skip undefined battery level values

* Preserve auth sessions on restart

* Move nvr creation in proper function

* Restore original createDevice with isNvr addition

* Typo

---------

Co-authored-by: Gianluca Ruocco <gianluca.ruocco@xarvio.com>
2025-12-27 09:21:54 -08:00
The Beholder
bfb8c233f4 openvino: avoid CLIP startup timeout by loading HF cache first (#1949)
Scrypted could restart the OpenVINO plugin on startup in offline/firewalled setups because CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32") triggers HuggingFace Hub network checks/retries that exceed the plugin startup watchdog.
Update predict/clip.py to:
- Load the CLIP processor from the local HF cache first (local_files_only=True) so startup is fast/offline-safe.
- Refresh the processor cache online asynchronously in a background thread (asyncio.to_thread) so update checks don’t block startup.
- Add simple log prints to indicate cache load vs refresh success/failure.
2025-12-26 18:38:13 -08:00
Koushik Dutta
ebe6bcc58f client: add worker/fork support to web client 2025-12-16 12:22:03 -08:00
Koushik Dutta
3b0042c922 diagnostics: fix ai slop tests 2025-12-15 16:33:35 -08:00
Koushik Dutta
2f4cd9807b diagnostics: clip/det tests 2025-12-14 15:07:11 -08:00
Koushik Dutta
1711d2a6f7 diagnostics: clip/det tests 2025-12-14 15:04:01 -08:00
Koushik Dutta
2818120b68 diagnostics: url tests 2025-12-13 10:05:51 -08:00
Koushik Dutta
61cf589800 sdk: update tool calls to include id 2025-12-09 16:03:26 -08:00
Koushik Dutta
2c267f6b26 coreml: disable auto restart to work around coreml caching bug filling macos disk until reboot 2025-12-09 12:25:31 -08:00
Koushik Dutta
aa85e7ec19 rebroadcast: avoid mjpeg codecs and warn 2025-12-06 12:38:22 -08:00
Koushik Dutta
e585a48084 sdk: update 2025-12-04 19:35:36 -08:00
Koushik Dutta
465b4a80bb Merge branch 'main' of github.com:koush/scrypted 2025-12-02 08:54:22 -08:00
Koushik Dutta
1b7e24fda7 openvino: publish beta, add notes on 2025.4.0 2025-12-02 08:53:29 -08:00
René
8ec6c61784 docker: Update Watchtower image name in docker-compose.yml (#1937)
I guess Image name is wrong, at least the image which was mentioned here doesn’t exist.
2025-12-01 08:41:36 -08:00
Koushik Dutta
e1f9397ef9 docker: switch to nicholas-fedor/watchtower 2025-11-30 17:39:50 -08:00
Koushik Dutta
3e54db1658 reolink: publish 2025-11-27 18:24:35 -08:00
apocaliss92
a7cc8d0e11 reolink: Check deviceInfo exists (#1935)
Co-authored-by: Gianluca Ruocco <gianluca.ruocco@xarvio.com>
2025-11-27 17:38:21 -08:00
Koushik Dutta
be4b772436 install: remove gstreamer 2025-11-27 12:54:25 -08:00
Koushik Dutta
5e0afa627c reolink: publish 2025-11-27 08:49:25 -08:00
apocaliss92
70c46f9894 - reolink: check and fix netData (#1934)
- reolink: restrict homehub streams to RTSP

Co-authored-by: Gianluca Ruocco <gianluca.ruocco@xarvio.com>
2025-11-27 08:42:35 -08:00
Koushik Dutta
fe94472282 Revert "Reolink: add check for net data, enable/disable RTMP/RTSP/ONVIF/HTTPS when necessary (#1931)"
This reverts commit 370a82dc56.
2025-11-27 08:19:19 -08:00
apocaliss92
c559212b2b reolink/hikvision: Add detection sources (#1932)
* add pluginId to detection objects

* add detection sourceId to hik

---------

Co-authored-by: Gianluca Ruocco <gianluca.ruocco@xarvio.com>
2025-11-26 12:00:57 -08:00
Koushik Dutta
10b097480f reolink: publish 2025-11-26 08:42:51 -08:00
Koushik Dutta
14050d4e3a unifi-protect: fixup ws timeouts 2025-11-26 08:41:44 -08:00
apocaliss92
370a82dc56 Reolink: add check for net data, enable/disable RTMP/RTSP/ONVIF/HTTPS when necessary (#1931)
- unify methods to get specific abilities
- allow only RTSP streams for homehub devices

Co-authored-by: Gianluca Ruocco <gianluca.ruocco@xarvio.com>
2025-11-26 07:29:32 -08:00