bwp91 / homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.
MIT License
382 stars 126 forks source link

Sonoff TX Ultimate Error #507

Open lcmds opened 11 months ago

lcmds commented 11 months ago

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.

Homebridge UI

[v1.6.1]

Linux Debian / Node.js Version | v18.16.0

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.

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

duarteffc commented 9 months ago

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

bwp91 commented 9 months ago

@lcmds @duarteffc

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

duarteffc commented 9 months ago

@bwp91 I am using Hybrid mode

lcmds commented 9 months ago

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

duarteffc commented 9 months ago

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.

lcmds commented 9 months ago

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 commented 9 months ago

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"}.

Shadowxrp commented 7 months ago

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

duarte54 commented 3 weeks ago

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

Thank you