Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switcher call api failed #94872

Closed
nirmargalit opened this issue Jun 19, 2023 · 6 comments
Closed

Switcher call api failed #94872

nirmargalit opened this issue Jun 19, 2023 · 6 comments

Comments

@nirmargalit
Copy link

The problem

About a week ago, I've started to get the following error from Home Assistant regarding my Switcher Touch.
This has been working well since I have installed the Switcher (I think at least one year).
If I turn on the Switcher via the Switcher app, the state of the Switcher switch in Home Assistant is changing.
If I try to turn it on via Home Assistant, I'm getting this error:

2023-06-19 19:55:44.422 ERROR (MainThread) [homeassistant.components.switcher_kis.switch] Call api for Switcher_Touch_1270 failed, api: 'control_device', args: (<Command.ON: '1'>,), response/error: SwitcherBaseResponse(unparsed_response=b'')

FWIW:
1/ This happened while I was not at home, and when I came back home I forgot about this and upgraded the core
2/ #88667 seems somewhat similar, however, removing from app and readding didn't resolve my issue.

What version of Home Assistant Core has the issue?

2023.6.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Switcher

Link to integration documentation on our website

https://www.home-assistant.io/integrations/switcher_kis/

Diagnostics information

home-assistant_switcher_kis_2023-06-19T17-05-41.231Z.log
config_entry-switcher_kis-49e1855b2256d9d59a04d38eb57d2186.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2023-06-19 20:05:16.247 ERROR (MainThread) [homeassistant.components.switcher_kis.switch] Call api for Switcher_Touch_1270 failed, api: 'control_device', args: (<Command.ON: '1'>,), response/error: SwitcherBaseResponse(unparsed_response=b'')

Additional information

No response

@home-assistant
Copy link

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
Copy link
Member

thecode commented Jun 19, 2023

What is the current firmware version of the device? was it updated recently?

@nirmargalit
Copy link
Author

nirmargalit commented Jun 20, 2023 via email

@thecode
Copy link
Member

thecode commented Jun 20, 2023

Firmware is 5.15 How do I check when was it last updated? I never invoked a firmware update. Thanks!

Contact Switcher and check with them why it was update. 5.x is known to have problem with local control, see #92269

@avimalka
Copy link

I had they very same issue, I switched it to local(from the settings in the app) and back a few times, and suddenly it started working again.

@nirmargalit
Copy link
Author

I hate voodoo though this actually worked!
Thanks Avinoam!

@github-actions github-actions bot locked and limited conversation to collaborators Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants