Skip to content

maghiel/tuya-lsc_camera_fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Who is this for?

As came to my attention lately, it's unclear to some users whether to use this custom integration. Some users might be even still using this integration while they shouldn't be. I can't blame them ;)

So, here's a little clarification:

tuya-lsc_camera_fix was ment and used as a temporary fix for some Tuya devices (specifically low-power devices) until fixes were merged upstream. They have been for quite a while now.
The sole reason for not archiving this repository is giving users that aren't fast with upgrading their Home Assistant or are stuck with an old version the possibility to still use their, otherwise unsupported, devices.

IN OTHER WORDS:

Running Home Assistant Core 2025.3 or higher:
There's absolutely no reason for you to install this integration. If you have it installed, remove it and move to the official Tuya integration.

Running Home Assistant Core > 2024.11 < 2025.3:
This integration might fix your issues. Nevertheless, please consider upgrading!

UPDATE 20250214:

Scratch the update below. This component now also fixes #136472 by adding support for some Temperature and Humidity Sensors (with External Probe).
Thus, as Tuya keeps messing around (to be nice), this component will likely serve a while longer as testing platform and /or temporary replacement.
Can't be bothered to update the README right now ;)

UPDATE 20250213:

PR #136960 has been merged into /home-assistant/core/tree/dev, closing issue #132844. This means the official Tuya Integration will have this fix incorporated in a future Home Assistant release, rendering this custom integration obsolete.

I will not archive this repo at least until then, and probably a bit longer for those not so fast with upgrading.

Tuya - LSC Camera Fix (tuya-lsc_camera_fix)

Custom Tuya component for Home Assistant which fixes support for some LSC Connect cameras. Can be used as replacement or alongside the build-in Tuya integration.

All credits go to @Neirop for his research on the solution. Also see home-assistant/core#132844

The fix

Most Tuya cameras are in the category "sp". About two months ago Tuya suddenly changed the category on some camera's, mostly of the LSC Smart Connect brand sold by Action stores in Europe, to "dghsxj". Thanks to @MPParsley contact with customer support we now know "dghsxj" is a new (but undocumented) category for Low power consumption cameras.

This custom component simply adds that category to CAMERAS and creates all the same device properties as in the "sp" category.

Installation

Manual installation

Upload the tuya-lsc_camera_fix directory to your ~/homeassistant/custom_components/ directory.

HACS

Make sure you have HACS installed.

  • Navigate to HACS
  • Click the 3-dot menu in the top-right corner, choose Custom Repositories. In the form fill out the following:
    • Repository: this repo; maghiel/tuya-lsc_camera_fix/
    • Type: Integration
    • Click Add

The repo will now be downloaded. Restart Home Assistant after a successful download.

  • Navigate to Settings > Devices & Services
  • Click Add Integration
  • Search for Tuya LSC Camera Fix and install the integration.

About

Custom component for Home Assistant which fixes support for some LSC Connect cameras. Can be used as replacement or alongside the build-in Tuya integration.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages