homebridge-ewelink icon indicating copy to clipboard operation
homebridge-ewelink copied to clipboard

Sonoff TX Ultimate Error

Open lcmds opened this issue 1 year ago • 9 comments

What issue do you have? Please be as thorough and explicit as possible.

I'm getting this error when I try to turn my lights on using Homebridge UI through the Accessories TAB. [Office Lights ] device update failed as unknown WS response [400] at default.sendUpdate (file:///var/lib/homebridge/node_modules/homebridge-ewelink/lib/connection/ws.js:339:19) at default.sendUpdate (file:///var/lib/homebridge/node_modules/homebridge-ewelink/lib/connection/ws.js:344:15). Device Model T5-1C-86 (SN-ESP32D0-T5-01). Let me know if you need further information.

Details of your setup.

  • Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?

Homebridge UI

  • Which version of Homebridge/HOOBS do you have?

[v1.6.1]

  • Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

Linux Debian / Node.js Version | v18.16.0

  • Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version?

homebridge-ewelink v11.0.0 Actually, the TX Ultimate switches are pretty new and I have all versions installed 1,2 and 3 gang. It turns out that this one never worked through the Homebridge UI.

  • Which eWeLink devices do you have that are causing issues? Please include product models if applicable.

T5-3C-86 (SN-ESP32D0-T5-01) T5-2C-86 (SN-ESP32D0-T5-01) T5-1C-86 (SN-ESP32D0-T5-01)

Please paste any relevant logs below.

[7/24/2023, 12:21:09 PM] [eWeLink] [Office Lights ] device update failed as unknown WS response [400] at default.sendUpdate (file:///var/lib/homebridge/node_modules/homebridge-ewelink/lib/connection/ws.js:339:19) at default.sendUpdate (file:///var/lib/homebridge/node_modules/homebridge-ewelink/lib/connection/ws.js:344:15).

Node.js Version v18.16.0

lcmds avatar Jul 24 '23 11:07 lcmds

I'm having the same issue on my side. Tried different versions of the plugin and even of the node. Nothing worked.

duarteffc avatar Sep 04 '23 21:09 duarteffc

@lcmds @duarteffc

am i correct in assuming that you are using the plugin in lan only mode?

bwp91 avatar Sep 04 '23 21:09 bwp91

@bwp91 I am using Hybrid mode

duarteffc avatar Sep 04 '23 21:09 duarteffc

@bwp91 same thing here, I'm using Hybrid mode.

lcmds avatar Sep 04 '23 22:09 lcmds

I was able to make it work. Actually, after turning it on once from the eWeLink app, it started working on the Home app again.

duarteffc avatar Sep 05 '23 06:09 duarteffc

I followed the instructions, but the issue persists. I can control the device through the eWeLink app, but there are no logs on Homebridge, and I try to control it from the Homebridge I get the same error.

lcmds avatar Sep 05 '23 07:09 lcmds

I've updated to the latest Beta version. It still no working when I turn it On/Off via homebridge webapp, but the error now comes with more messages as you can see bellow.

[9/12/2023, 9:27:37 AM] [eWeLink] [Office Lights ] sending update {"switch":"on"}. [9/12/2023, 9:27:37 AM] [eWeLink] [Office Lights ] reverting to web socket as device not reachable via LAN mode at default.sendUpdate (file:///var/lib/homebridge/node_modules/homebridge-ewelink/lib/connection/lan.js:157:15). [9/12/2023, 9:27:37 AM] [eWeLink] [Office Lights ] device update failed as unknown WS response [400] at default.sendUpdate (file:///var/lib/homebridge/node_modules/homebridge-ewelink/lib/connection/ws.js:337:19) at default.sendUpdate (file:///var/lib/homebridge/node_modules/homebridge-ewelink/lib/connection/ws.js:341:15). [9/12/2023, 9:27:37 AM] [eWeLink] [Office Lights ] receiving update {"switches":[{"outlet":0,"switch":"off"}],"online":true,"updateSource":"WS"}.

lcmds avatar Sep 12 '23 08:09 lcmds

If any of you find a fix please let us know , my tx ultimate isn’t working either. probably not supported

Shadowxrp avatar Nov 02 '23 20:11 Shadowxrp

I'm having the same issue with my TX ultimate. any solutions yet?

Thank you

duarte54 avatar Jun 04 '24 13:06 duarte54