home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.65k stars 30.79k forks source link

Switch not working #100955

Closed Roei639 closed 10 months ago

Roei639 commented 1 year ago

The problem

Hello, every switcher that is installed does not work in Home Assistant. Tried removing the integration and the component from the Switcher app and reconnecting - doesn't work.

Log:

Call api for Socket Oven failed, api: 'control_device', args: (<Command.ON: '1'>,), response/error: SwitcherBaseResponse(unparsed_response=b'')

What version of Home Assistant Core has the issue?

2023.9.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Switcher

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @thecode, mind taking a look at this issue as it has been labeled with an integration (switcher_kis) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `switcher_kis` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign switcher_kis` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


switcher_kis documentation switcher_kis source (message by IssueLinks)

thecode commented 1 year ago

This is related to the device FW, see: https://github.com/home-assistant/core/issues/94872#issuecomment-1599346646

And a workaround here (step 3 & 6 are not needed): https://github.com/home-assistant/core/issues/92269#issuecomment-1600372457

Roei639 commented 1 year ago

This is related to the device FW, see: #94872 (comment)

And a workaround here (step 3 & 6 are not needed): #92269 (comment)

The current and latest version of the switcher socket is 5.09 and it doesn't work.

ArtiumAizin commented 1 year ago

I ran into the same problem, the fix for me was disable 5Ghz WIFI network, connect the switcher device to 2.4Ghz fixed the problem and the Home Assistant integration quickly found the device.

leranp commented 1 year ago

Same problem, it looks like there is a problem with the switcher servers, maybe it is because a cyber attack

idofl commented 12 months ago

Update: Got it resolved by looking at similar questions on the HA group in FB.

  1. Switch OG app to Local, and reopen the app
  2. While app in Local, turn on the boiler and turn it off.
  3. Disable Local in app.
  4. Test HA - works.

I ran into the same problem (integration stopped working), but the suggested fix of re-adding the device didn't work for me. The device's Firmware is 5.15 and my HA Core is 2023.11.2 Switcher works just fine using its dedicated app, just not from HA. I can see its exact status in HA (on/off, power, etc), just not able to turn it on/off.

zivgin commented 11 months ago

Like wise. I can see the status of the switch, but can't control it. That's the all point of a switch... to be able to SWITCH it.

Unfortunately, i wasn't aware when i bought it ): I hope this will be resolved soon and that it's more of a software capability rather then HW limitation.

saar-win12 commented 11 months ago

Same here, Same error working with docker BTW, Sometimes it works, sometimes it doesn't.

benf-io commented 11 months ago

@idofl 's workaround worked for me. FYI

KrakovBen commented 10 months ago

Same here :/

Call api for Switcher Touch failed, api: 'control_device', args: (<Command.ON: '1'>,), response/error: SwitcherBaseResponse(unparsed_response=b'')

poiromaniax commented 10 months ago

Update: Got it resolved by looking at similar questions on the HA group in FB.

  1. Switch OG app to Local, and reopen the app
  2. While app in Local, turn on the boiler and turn it off.
  3. Disable Local in app.
  4. Test HA - works.

I ran into the same problem (integration stopped working), but the suggested fix of re-adding the device didn't work for me. The device's Firmware is 5.15 and my HA Core is 2023.11.2 Switcher works just fine using its dedicated app, just not from HA. I can see its exact status in HA (on/off, power, etc), just not able to turn it on/off.

This works perfectly for me - thank you!

alws34 commented 10 months ago

Update: Got it resolved by looking at similar questions on the HA group in FB.

  1. Switch OG app to Local, and reopen the app
  2. While app in Local, turn on the boiler and turn it off.
  3. Disable Local in app.
  4. Test HA - works.

I ran into the same problem (integration stopped working), but the suggested fix of re-adding the device didn't work for me. The device's Firmware is 5.15 and my HA Core is 2023.11.2 Switcher works just fine using its dedicated app, just not from HA. I can see its exact status in HA (on/off, power, etc), just not able to turn it on/off.

that didnt work for me.. still fails on multiple devices.... i also tried to completely re-configure all devices via the app.. no luck..