localtuya
integration
Our great sponsors
localtuya | integration | |
---|---|---|
40 | 45 | |
2,617 | 4,638 | |
- | 4.0% | |
5.1 | 8.6 | |
13 days ago | 4 days ago | |
Python | Python | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
localtuya
- How to read the power consumption of a Smart Plug using Tuya API?
-
Looking for a few products and ideas Lighting/Plugs mostly.
Tuya devices, and the Tuya-based Monster, Greeni, etc stuff can be connected to HA using the Tuya Integration, or converted to local-only using Tuya Cloudcutter and connected to HA using Local Tuya, or even flashed with Tasmota, ESPHome/Libre Tiny, or OpenBeken.
- Are there people that are interested in reverse engineering the Tuya Smart app?
-
My first tuya fail. How to distinct tuya only from normal devices?
It's still on my list of things to try so I don't have personal experience, but I think https://github.com/rospogrigio/localtuya can help you. Maybe start with reading the readme to see what limitations exist for Tuya devices.
-
Turn on/off Tuya smart plug with ESP32
localtuya
-
Cloud Sh!t
You can control them locally with this integration for Home Assistant: https://github.com/rospogrigio/localtuya
- Die Lampe.
-
Smart light bulbs
We got some cheap Tuya bulbs from Kogan. Unfortunately they were too new to flash with tuya-convert, but they can still be controlled locally through Home Assistant with localtuya.
-
Fed up with Tuya strip lights. Never works properly. Is there any other way to add them to homekit. Tuya homebridge plugins are not great.
There is the [Local Tuya](https://github.com/rospogrigio/localtuya) integration for Home Assistant. This will eliminate the cloud dependency of the Tuya devices you have. Once you have them in Home Assistant you can expose them to HomeKit just like HomeBridge does.
-
Alexa routines accessible in home assistant?
Don't the Treatlife devices just use the Tuya backend? If so, you can add them directly to HA using the cloud based official Tuya Integration, or the local-only Local Tuya via HACS.
integration
-
Thoughts, learnings and regrets after three years on Home Assistant
I have HACS[0] installed in my Docker image, I use it for exactly one integration and the initial setup seemed a little dodgy but it's been pain-free for a couple of years now.
[0]: https://hacs.xyz/
- Is there a way to see actual print time after a print is done?
-
MyQ now free? Possibly included with premium connectivity?
Yeah! So first, get HACS if you don’t already have it (https://hacs.xyz), then the custom Tesla integration (https://github.com/alandtse/tesla) - side note: you’ll need to be able to get a refresh token for your account (iOS app: https://apps.apple.com/us/app/auth-app-for-tesla/id1552058613)… once you have the integration setup, create an automation. It should trigger when your vehicle tracker enters home zone and you can set device > myQ to open. Lmk if you need more help or have questions
- Noob question
-
Natural Light setting is fickle - Lutron Aurora
Adaptive lighting is not a default for Home Assistant. It's an addon. You can install it through HACS (which is an addon itself) https://hacs.xyz/
-
How to access all of the things from a single point
Once you have that, you can also install a lot of additional services that would require separate docker containers from the Addon Store (like PiHole) or HACS, which is where you'll get all the unofficially supported integrations. Frigate is an option in the latter, so I don't think you need a separate PC application, unless it's just to view.
-
Hello I have a problem with install home assistant (truecharts stable) on my server …. This is the problem.
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 411, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 446, in __run_body rv = await self.method(([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1140, in nf res = await f(args, *kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1272, in nf return await func(args, *kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 481, in do_create await self.middleware.call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1345, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1305, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1206, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, *kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(self.args, *self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/helm.py", line 44, in helm_action raise CallError(f'Failed to {tn_action} chart release: {stderr.decode()}') middlewared.service_exception.CallError: [EFAULT] Failed to install chart release: Error: INSTALLATION FAILED: template: home-assistant/templates/common.yaml:5:3: executing "home-assistant/templates/common.yaml" at : error calling include: template: home-assistant/charts/common/templates/loader/_apply.tpl:20:5: executing "tc.common.loader.apply" at : error calling include: template: home-assistant/charts/common/templates/spawner/_configmap.tpl:16:10: executing "tc.common.spawner.configmap" at : error calling include: template: home-assistant/charts/common/templates/class/_configmap.tpl:33:6: executing "tc.common.class.configmap" at : error calling tpl: error during tpl function execution for "configuration.yaml.default: |-\n # Configure a default setup of Home Assistant (frontend, api, etc)\n default_config:\n\n # Text to speech\n tts:\n - platform: google_translate\n\n group: !include groups.yaml\n automation: !include automations.yaml\n script: !include scripts.yaml\n scene: !include scenes.yaml\nhttp.default: |2-\n\n http:\n use_x_forwarded_for: true\n trusted_proxies:\n {{- if hasKey .Values \"ixChartContext\" }}\n - {{ .Values.ixChartContext.kubernetes_config.cluster_cidr }}\n {{- else }}\n {{- range .Values.homeassistant.trusted_proxies }}\n - {{ . }}\n {{- end }}\n {{- end }}\ninit.sh: |-\n #!/bin/sh\n if test -f \"/config/configuration.yaml\"; then\n echo \"configuration.yaml exists.\"\n if grep -q recorder: \"/config/configuration.yaml\"; then\n echo \"configuration.yaml already contains recorder\"\n else\n cat /config/init/recorder.default >> /config/configuration.yaml\n fi\n if grep -q http: \"/config/configuration.yaml\"; then\n echo \"configuration.yaml already contains http section\"\n else\n cat /config/init/http.default >> /config/configuration.yaml\n fi\n else\n echo \"configuration.yaml does NOT exist.\"\n cp /config/init/configuration.yaml.default /config/configuration.yaml\n cat /config/init/recorder.default >> /config/configuration.yaml\n cat /config/init/http.default >> /config/configuration.yaml\n fi\n\n echo \"Creating include files...\"\n for include_file in groups.yaml automations.yaml scripts.yaml scenes.yaml; do\n if test -f \"/config/$include_file\"; then\n echo \"$include_file exists.\"\n else\n echo \"$include_file does NOT exist.\"\n touch \"/config/$include_file\"\n fi\n done\n\n cd \"/config\" || echo \"Could not change path to /config\"\n echo \"Creating custom_components directory...\"\n mkdir \"/config/custom_components\" || echo \"custom_components directory already exists\"\n\n echo \"Changing to the custom_components directory...\"\n cd \"/config/custom_components\" || echo \"Could not change path to /config/custom_components\"\n\n echo \"Downloading HACS\"\n wget \"https://github.com/hacs/integration/releases/latest/download/hacs.zip\" || exit 0\n\n if [ -d \"/config/custom_components/hacs\" ]; then\n echo \"HACS directory already exist, cleaning up...\"\n rm -R \"/config/custom_components/hacs\"\n fi\n\n echo \"Creating HACS directory...\"\n mkdir \"/config/custom_components/hacs\"\n\n echo \"Unpacking HACS...\"\n unzip \"/config/custom_components/hacs.zip\" -d \"/config/custom_components/hacs\" >/dev/null 2>&1\n\n echo \"Removing HACS zip file...\"\n rm \"/config/custom_components/hacs.zip\"\n echo \"Installation complete.\"\nrecorder.default: |2-\n\n recorder:\n purge_keep_days: 30\n commit_interval: 3\n db_url: {{ ( printf \"%s?client_encoding=utf8\" ( .Values.postgresql.url.complete | trimAll \"\\"\" ) ) | quote }}": template: home-assistant/templates/common.yaml:19:18: executing "home-assistant/templates/common.yaml" at <.Values.ixChartContext.kubernetes_config.cluster_cidr>: nil pointer evaluating interface {}.cluster_cidr
-
Alexa routines accessible in home assistant?
Yup! There's a community integration you can install called Alexa Media Player. The easiest way to install it is by using HACS.
-
This is why Linus says not to buy Cloud-based services
There's also an extended 'store' called HACS (Home Assistant Community Store) which basically has third-party, but still FOSS so you can audit the code, integrations which further expand. https://hacs.xyz/
-
What are your favorite Tesla accessories?
[HACS](https://hacs.xyz/
What are some alternatives?
tuya-home-assistant - Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
home-assistant-goodwe-inverter - Experimental version of Home Assistant integration for Goodwe solar inverters
tuya-connector-nodejs - nodejs sdk
meross-homeassistant - Custom component that leverages the Meross IoT library to integrate with Homeassistant
tuya-convert - A collection of scripts to flash Tuya IoT devices to alternative firmwares
hass-opensprinkler - OpenSprinkler Integration for Home Assistant
tuya-home-android-sdk - Tuya Smart Life App SDK is designed to promote the development of apps with multiple smart device features, such as device pairing, device control, firmware updates, scheduled tasks, and smart scenes.
hacs-hubitat - A Hubitat integration for Home Assistant
tuyagateway - Local Python Gateway for Tuya devices
ical-sensor-homeassistant - an iCal Sensor for Home Assistant
ha_tuya_custom - Tuya Custom Component for testing
SonoffLAN - Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant