mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 06:03:27 +00:00
* 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>
Tuya for Scrypted
This is a Tuya controller that integrates Tuya devices, specifically cameras, into Scrypted.
The plugin will discover all the cameras within Tuya (or Smart Life) app to Scrypted, including motion events for devices that support this feature.
Features
- Supports Tuya Camera Streaming.
- Supports Tuya Doorbell Cameras with ring notifications.
(Once Tuya Upgrades Security) 2-Way communication (for devices that support WebRTC).(will not add support as of this time.)
Authenticating
Authenticating with Tuya or Smart Life (recommended)
Authenticating with Tuya Developer Account (deprecated)
Access Id, Access Key, and User Id
In order to retrieve Access Id and Access Key, you must follow the guide below:
Once you have retreived both the Access Id and Access Key from the project, you can get the User Id by going to Tuya Cloud IoT -> Select the Project -> Devices -> Link Tuya App Account -> and then get the UID.
Tuya Pulsar
You need to enable Messages Service in your project in order to receive real time notifications to Scrypted. (motion events, online/offline, light switch ect...) The way this is achieved is by following this guide.
- NOTE: You do not need to set an alert notification of your phone.