I’ve installed the HA Tuya integration and set it up. All of my devices are visible and I’m able to read their states and use them for automations. Everything appears to function as normal.
But I’m getting the following error message in my log files.
Platform tuya does not generate unique IDs. ID tuya...._humidity already exists - ignoring sensor.t_h_sensor_humidity
I get this message for each of my devices (Tuya wifi thermometers and humidity sensors), but I’m not sure how I managed to get duplicates of everything as I only imported them by using the integration and not manually.
Does anyone know of any likely reasons for them to be imported multiple times or how to clear the duplicates without having to deleted and re add edverything?
To be honest I binned all of my tuya wifi devices and went to zigbee a couple of months after posting this. Tuya is good if you want to control everything from your phone but I found that it wasn’t worth the effort for home assistant when there were alternatives available that didn’t depend on a cloud provider.
I’m also finding that support for tuya problems on this forum is patchy. There’s some politics involved that I’ve decided to stay out of.
I’m not sure how many if the problems that I had rekat5to this message, or if it’s just one of those things that shows up in a log file but doesn’t really have any impact. My main concern was clearing out my log files so that I could better find the error messages that related to actual problems, which were getting lost in a sea of unimportant message.
I get also these messages in the log. I noticed that you get this messages when you reload the integration. Then the integration tries to reload all the devices, but only new devices are really added and the error is caused by the existing devices that will not be overwritten thanks to the fact thad ID’s are definitely unique which you can see in the message. So to my opinion it is not more then a little bit strange behaviour of the reload function to generate these messages. I think you can not avoid this, it is in the code.
I don’t understand this statement. It sounds if there is something wrong with Tuya and I believe you should then substantiate it.
Tuya is cloud dependend and if you don’t like that (and there are good reasons for that) then you can consider to install Local Tuya. But then you need HACS and have the courage to go to a lot of steps to complete the installation. So far I didn’t do that and hope there will be in the future a standard Local Tuya integration.
I am running now already for more than two years a lot of Tuya devices and so far I didn’t run into big problems. The great advantage of Tuya: devices: they are cheap and most of the time the quality is good or at least acceptable.
There isn’t really much here to substantiate, this isn’t a dedicated tuya forum, people tend to recommend going local rather than linking to the tuya cloud, and will offer help to do so when tuya questions come up.
i couldn’t get on with tuya, and decided to take everyone’s advice and to go local. I dumped my tuya WiFi devices and went to ZHA instead. taking out the middleman simplified trouble shooting, and most of the same devices were available at similar prices, the only downside is the decreased range of zigbee when compared to wifi, I had to put more repeaters in to solve that.
long story short, I never did solve the original problem, changing to zha meant that it wasn’t relevant any more, and you may get more help with tuya on the tuya forum.
Of course, ZHA is excellent, no discussion and I understand your move to ZHA.
So far as I see, there is in the HA community no dedicated Tuya forum.
You only can filter on categories and tags and there is a Tuya tag. So you can find a lot about Tuya and with the category filter you can focus on one or more categories. For me that satisfies. And … not ‘everyone’ is saying that you must go local