Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TUYA, missing protocol version: 3.5 for new Q3-2024 tuya devices #603

Open
tkarle opened this issue Dec 17, 2024 · 1 comment
Open

TUYA, missing protocol version: 3.5 for new Q3-2024 tuya devices #603

tkarle opened this issue Dec 17, 2024 · 1 comment

Comments

@tkarle
Copy link

tkarle commented Dec 17, 2024

Hi everybody!

I have added a new TUYA device in OH and keep getting "Waiting for IP" etc.
After hours, when eval found out that my brand new device (lumiere Pendelleuchte) needs the protocol version 3.5

import tinytuya

# Tuya-Gerät konfigurieren
d = tinytuya.OutletDevice('bff1248b395386e28djyqw', '192.168.178.132', 'XF<`-=G7G_......')
d.set_version(3.5)  #

# Gerätestatus abrufen
data = d.status()
print('Device Status:', data)

I get the correct returns:
Device Status: {'dps': {'20': True, '21': 'white', '22': 1000, '23': 200, '25': '0700000000000000000003e800c0', '26': 0, '34': False}

all other versions 3.1, 3.3 & 3.4 give me the error feedback:
Device Status: {'Error': 'Unexpected Payload from Device', 'Err': '904', 'Payload': None}

If I add it manually, I get the error in the UI:
HANDLER_CONFIGURATION_PENDING {protocol=Der Wert 3.5 ist nicht in den erlaubten Optionen enthalten. Erlaubte Optionen sind: [ParameterOption [value="3.1", label="3.1"], ParameterOption [value="3.3", label="3.3"], ParameterOption [value="3.4", label="3.4"]]}

Could you please add the NEW version and its dependencies, urgently?

THX a lot

@tkarle tkarle changed the title missing protocol version: 3.5 for new Q3-2024 tuya devices TUYA, missing protocol version: 3.5 for new Q3-2024 tuya devices Dec 17, 2024
@tkarle
Copy link
Author

tkarle commented Dec 17, 2024

Before with trials on version 3.1 etc I got always state mode
ONLINE
OFFLINE
....
ONLINE
OFFLINE

Perhaps this helps additionally 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant