peterbuga / HASS-sonoff-ewelink

Home Assistant component to control Sonoff/eWeLink devices with original firmware
MIT License
791 stars 296 forks source link

Error 400 , "msg": "params incomplete" #207

Closed aladin2000 closed 4 years ago

aladin2000 commented 4 years ago

Using 105.0B2 for HASS andlast version of custom...

It Used to work once and them I got that error message for debug

Error during setup of component sonoff

python3 -d sonoff-debug.py -u 'MyUser@MydomainMail' -p 'My Password' { "error": 400, "msg": "params incomplete" }

do not know how to fix it - Any Clue ?

peterbuga commented 4 years ago

what code version are you using?

greyfenrir commented 4 years ago

have the same issue. Looks similar to this. I'm newbie here so step by step:

  1. hass 0.103.0 installed on RPI 3. some devices works (e.g. tuya)
  2. sonoff basicr3 relay updated to 3.3.0 (as it marked as supported).
  3. sonoff directory from HASS-sonoff-ewelink (today taken from master) placed into /custom_components, no error in logs (after websocket-client addition)
  4. sonoff config with login(email)/pass/debug only. Also I tried eu/us regions.
  5. absolutely nothing on webUI (overview/debug/etc).
  6. sonoff-debug returns the same json as in TS case.
greyfenrir commented 4 years ago

additionally: described situation was three days ago (Feb 12), today all is ok.

pawelbura commented 4 years ago

I have exactly the same error output with sonoff-debug.py script my pull request is fixing this (some parameters were missing)