I have a Tuya webcam. Before the new updates, the old integration, discovered two scenes (one to activate the cam and one for turning it off) but now I canāt find themā¦ any help? This new Tuya integration is full of headhaceā¦
Thanks for the great work, lads! After upgrading, my ID-Locks stopped responding and is close to impossible to pair again. I sort of get them, but the 2 entities (of many) that I get up does not work. Are there any changes with S0 in version .10?
if that can help someone, I went with Zwavejs2mqtt (disabling the mqtt gateway and activating the ws server).
For now Iām using the snap package (it was easier to quickly deploy and test). I may use the packaged version later.
There is a small issue with the snap package on Pi (sudo does not work, but there is an easy fix https://github.com/zwave-js/zwavejs2mqtt/discussions/1216#discussioncomment-759534)
The old Tuya plugin stopped working for many people all of a sudden. The reason is, that Tuya is switching off their servers that provided the old API. Tuya wants everyone to move to Tuya 2.0. However, that API is not fully compatible with the old one, meaning you lose functionality when doing that. On top of that, i discovered that the new Tuya plugin is not quite finished yet. I went through the trouble of setting it up and getting my keys from the Tuya dev-suite (the fact that i have to use their dev-suite already shows how unfinished this is), only to find out that many of my lightbulbs reported wrong colors and could not be controlled any more. I have 20. The old plugin was already useless, so i had to find another solution. I found it in the form of Tuya_custom. You can install it through HACS, a portal to Github that you can install in Home Assistent. Once installed, you can use thousands of Github-projects in Home Assistant. In there you can also find Tuya_local, but this is still in a very early Alpha-stage and not yet usable. Tuya Custom works fine though, although my RGBCW-lights lost their RGB-function and are now only able to do white to warm white. This is because Tuya custom uses the new Tuya 2.0 API, which is not fully compatible. Sadly, there is no other choice available. Hope you are now somewhat more informed.
I have a Tuya dimmer. Works fine in Tuya Custom, that also uses the new Tuya 2.0 API. I can recommend it. At this moment, itās way better that the official new Tuya plugin. You can find Tuya Custom in HACS.
Correct, this is exactly my experience. The new Tuya plugin, the official one, is far from finished. I also stick to the Tuya Custom plugin for now.
I donāt see a tuya_custom only a ha_tuya_custom on GitHub:
https://github.com/ollo69/ha_tuya_custom: Tuya Custom Component for testing (github.com)
But it does not support setup thtough HACS any more.
When trying to add the URL as a custom repository the error message says āRepository is archived.ā
This is not fixed, It started with empty icon and fixed wrongly with mdi: shield-off
It needed to be mdi:shield-check
roll it back a few versions and youāll see.
This is not fixed, the actual icon has a tick not a line across. mdi:shield-check
is what is needed.
Roll it back a few versions and youāll see
There is no evidence of this.
Plenty of us have have the old Tuya 2021.9.7 working correctly using the custom HACS install on HA 2021.10 By all accounts Tuya advised that this legacy API would be unsupported at the end of the year, not this month.
It seems the Home Assistant team has made the decision to remove the original Tuya integration prematurely as they donāt want a last minute rush at the end of the year. This has had the effect of breaking many users existing setups with no official support for Tuya Covers in 2021.10
I think this was a bad call.
As are you too, after reading my reply.
If you just want to get Tuya working again right now and are happy to upgrade to the new Tuya when its more functional you can simply load the Tuya 2021.9.7 integration using HACS and everything will function as it used to before the Tuya V2 release.
The repository is here: https://github.com/andrey-yantsen/home-assistant-tuya-old
Just keep in mind that eventually when the old API is turned off (rumored to be the end of this year) this will stop working. But by then hopefully the Home Assistant version is fully featured and supports all the devices that are currently broken in the 2021.10 release.
Anyone get encryption between ESPHome and HomeAssistant working? The ādocumentationā leaves a lot to be desired for this. (as in, there is none)
Add the encryption key option to your device config and upload it:
You should then receive a notification in Home Assistant to add the key.
I havenāt actually tried this yet. Iād suggest you try one that you have easy access to first. Just in case it goes wrong and you have to serially flash the device to remove the key.
This works for me with my MQTT sensorsā¦
- platform: mqtt
name: "Grid - Total Energy"
value_template: "{{ value|float / 1000 }}"
unit_of_measurement: 'kWh'
expire_after: 86400
device_class: energy
state_class: "total_increasing"
qos: 1
state_topic: "shellies/shellyem-C45BBE6B51F3/emeter/0/total"
I did try that, didnāt know about that part where HomeAssistant will prompt for the key though. Iāve been looking through the interface trying to find where I should go ahead and tell it in advance.
Cant get that far though,- when trying to flash ESPHome:
[yaml]
...
api:
password: !secret apipass
encryption: NpQb/dsRHrgt8ZcarUl1jkSF2E4UP0alwiq6v8YtF7M=
...
[output]
**Failed config**
**api:** [source includes/standardConf.yaml:21]
password: !secret apipass
**expected a dictionary.**
encryption: **NpQb/dsRHrgt8ZcarUl1jkSF2E4UP0alwiq6v8YtF7M=** [source includes/standardConf.yaml:22]
enc key is randomly generated so I see no issue just leaving it in the paste above, obviously I wonāt use the same key!
I think this is actually by design and theyāve changed the icon used for āalarm disabledā across the board. The recent fix has aligned this with the other icons used in the UI:
FWIW, I think the new icon is better. The old one was ambiguous - does green with a tick mean āsafely armedā or āsafely disarmedā? The new one clearly shows āsafely disarmedā so, for me at least, this is a positive change.
I am trying to remove the existing Tuya integration to install the new one, but nothing happens adter I press the delete button and I am getting the following error in the log:
ImportError: cannot import name 'AuthType' from 'tuya_iot' (/usr/local/lib/python3.9/site-packages/tuya_iot/__init__.py)
The problem is I canāt install the new Tuya integration without removing the old integration. Is there any workaround for deleting it?
Not like this:
Like this:
api:
password: !secret apipass
encryption:
key: NpQb/dsRHrgt8ZcarUl1jkSF2E4UP0alwiq6v8YtF7M=
Or better still:
api:
password: !secret apipass
encryption:
key: !secret api_encryption_key
I have now tried it. Worked flawlessly. I got a reconfigure persistent notification right away.
Same here, began the migration and it tells me none of my devices will be migrated (listing all of them in the ones that wonāt be migratedā¦)
The screenshot shows only a subset of the entities, if I have to set it all up from scratch I donāt see the point of migrating to nothingā¦
Answering my own question: when the change was made these measurements stopped having a unit and so they started being inserted into InfluxDB with a different measurement name (in my case it is configured to be āstateā by default).
Iāll leave this here in case it helps anyone else.