core icon indicating copy to clipboard operation
core copied to clipboard

Tuya integration won’t work, local Tuya works

Open bgeza opened this issue 1 year ago • 11 comments

The problem

Hi All, could you please help me, why I cannot get any device from Tuya integration, but I can pull any of my devices from cloud in localTuya integration? Unfortunately I get no error message in Tuya integration, it say “success”, but no devices are showing up :frowning: Thanks in advance. cheers

What version of Home Assistant Core has the issue?

2024.1.2

What was the last working version of Home Assistant Core?

N/A

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tuya

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

bgeza avatar Jan 07 '24 03:01 bgeza

Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of tuya can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign tuya Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tuya documentation tuya source (message by IssueLinks)

home-assistant[bot] avatar Jan 07 '24 09:01 home-assistant[bot]

Hi @bgeza

This sounds like a request for support? We use GitHub for tracking issues with Home Assistant Core itself, not for providing support. If you are in need of support, you should try our Community Forum or join our Discord chat server. If you still think this is a bug, than please provide the home-assistant.log

Thanks! 👍

mib1185 avatar Jan 07 '24 09:01 mib1185

Tuya dont update, need to restart intregation all the time

Is updating on the cloud but not in homeassistant interface

Restart server resolve....

nelsonamen avatar Jan 09 '24 21:01 nelsonamen

Hi,

thanks for the answer. Yes, the integration should be restarted, but unfortunately nothing happens: tried to reload integration, restart home assistant cli, restart HAOS, but no luck :( What makes me feel unconfortable is, that creating the tuya integration at the end says "success". Maybe I'm doing wrong something?

Thanks and Regards.

On Tue, Jan 9, 2024 at 10:21 PM nelsonamen @.***> wrote:

Tuya dont update, need to restart intregation all the time

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/107430#issuecomment-1883814517, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3MGLFTC63LHRY6S7SBQMO3YNWYFPAVCNFSM6AAAAABBQAV5ZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTHAYTINJRG4 . You are receiving this because you were mentioned.Message ID: @.***>

bgeza avatar Jan 10 '24 04:01 bgeza

Hi, Nelsonamen is right, I need to reboot the tuya integration to get it work. This happen day afte day. Hope New update will fix that. I will try to write a cron job to get this integration rebooted once a day in night.

nicksimoneau avatar Jan 14 '24 03:01 nicksimoneau

hi,

thanks, but this didn't solve my issue: as I told you, tried to reload integration, restart home assistant cli, restart HAOS, but no luck :(

Plus, I can pull any device from the cloud in localtuya integration based on dev id and local key.

On Sun, Jan 14, 2024 at 4:05 AM nicksimoneau @.***> wrote:

Hi, Nelsonamen is right, I need to reboot the tuya integration to get it work. This happen day afte day. Hope New update will fix that. I will try to write a cron job to get this integration rebooted once a day in night.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/107430#issuecomment-1890831812, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3MGLFQJRLOJWMOPM3UHSMTYONDQDAVCNFSM6AAAAABBQAV5ZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQHAZTCOBRGI . You are receiving this because you were mentioned.Message ID: @.***>

bgeza avatar Jan 14 '24 03:01 bgeza

I have the same problem, my scenes and devices from the Tuya integration disappeared from Home Assistant...

image

My devices work when using the Tuya Smart mobile app

Here is the only related log I could find:

Logger: tuya_iot
Source: /usr/local/lib/python3.11/site-packages/tuya_iot/openmq.py:166
First occurred: 4 February 2024 à 14:57:11 (1 occurrences)
Last logged: 4 February 2024 à 14:57:11

error while get mqtt config

bokub avatar Feb 05 '24 08:02 bokub

Nevermind, my issue was actually the same as #108154

It's fixed now !

bokub avatar Feb 05 '24 12:02 bokub

Hola Bokub, Cómo lo resolvistes me pasa lo mismo.

HAdofc avatar Feb 05 '24 22:02 HAdofc

@HAdofc this is an English only community. Please use the English language only.

frenck avatar Feb 05 '24 22:02 frenck

Hi bokub, how do you fix the problem? Regards

HAdofc avatar Feb 05 '24 22:02 HAdofc

Well, I posted my answer in #108154, just go there and read !

bokub avatar Feb 06 '24 06:02 bokub

Closing as a duplicate of #80278

frenck avatar Feb 06 '24 09:02 frenck