prasad-edlabadka / homebridge-tuya-ir

Allows homebridge to control Tuya Smart IR based devices
Apache License 2.0
50 stars 22 forks source link

after the latest updates it shows this on one device #65

Closed 1HyperZ closed 1 year ago

1HyperZ commented 1 year ago

[14/07/2022, 22:36:17] [TuyaIR] Failed to change device status due to error raw_key can not be null its supposed to be controlling the tv

hashmaker1982 commented 1 year ago

version 0.2.1 come back to that version of plugin

1HyperZ commented 1 year ago

version 0.2.1 come back to that version of plugin

Now everything stop working and it doesn't even show the error in the log

prasad-edlabadka commented 1 year ago

Can you send some logs? There hasn't changed anything for DIY devices.

hashmaker1982 commented 1 year ago

for me come back to that version of plugin resolve my problem , btw, check in the tuya iot project if there are all your remotes , if not just delete from tuya app and re associate.

1HyperZ commented 1 year ago

Can you send some logs? There hasn't changed anything for DIY devices.

What exactly should I send?

Chrisrokc commented 1 year ago

Same error here. I am only seeing the following in the Homebridge Logs. Is there a debug mode to show additional logs?

[16/07/2022, 15:56:15] [TuyaIR] Failed to change device status due to error raw_key can not be null

Magna66 commented 1 year ago

same error here for the DIY devices, and same log one line only Failed to change device status due to error raw_key can not be null

prasad-edlabadka commented 1 year ago

DIY fixed in v1.0.5. Please check and let me know

Magna66 commented 1 year ago

Nope not fixed. [7/23/2022, 6:33:22 PM] [TuyaIR] Failed to change device status due to error raw_key can not be null same error returning to version 0.2.1

prasad-edlabadka commented 1 year ago

Which device are you trying to use? DIY for AC is not supported.

Magna66 commented 1 year ago

Which device are you trying to use? DIY for AC is not supported.

Not AC, it is a humidifier, just an on/off with version 0.2.1, in fact AC carrier and sanyo fan working fine with the new version 1.0.5 or 1.0.4, it is only the humidifier works with version 0.2.1, other version it shows Failed to change device status due to error raw_key can not be null. I set homebridge on debug mode, and I got the following log when I try to on the humidifier:

[7/23/2022, 9:09:54 PM] [TuyaIR] Calling endpoint https://openapi.tuyaus.com/v1.0/infrareds/eb66e8254d3170396bwhgl/remotes/eb691dbb633a02e9c8upsu/raw/command with payload {"code":1} [7/23/2022, 9:09:54 PM] [TuyaIR] API call successful. {"code":1102,"msg":"raw_key can not be null","success":false,"t":1658581794861,"tid":"be9eb8920a8811edaf8fbae27635b1d4"} [7/23/2022, 9:09:54 PM] [TuyaIR] Failed to change device status due to error raw_key can not be null

Ir device id: eb66e8254d3170396bwhgl , humidifier device id: eb691dbb633a02e9c8upsu

Hope that can help, and thank you for all your effort and support.

prasad-edlabadka commented 1 year ago

Humidifier is not tested with the plug-in. If it's a DIY device please set DIY flag to true. This will retrieve the IR code for humidifier.

Magna66 commented 1 year ago

Humidifier is not tested with the plug-in. If it's a DIY device please set DIY flag to true. This will retrieve the IR code for humidifier.

Tried that, did not work. Anyway version 0.2.1 is the best, working fine with everything. Will stick to that version. Thanks and best regards.

prasad-edlabadka commented 1 year ago

Fixed in v1.0.6. Please test and let me know.

Magna66 commented 1 year ago

Thank you so much, yes it is fixed. All devices working fine.