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
71.82k stars 30.08k forks source link

Access Token Error and Motion blinds are unavailable #126682

Open brodly opened 5 days ago

brodly commented 5 days ago

The problem

Not sure when this started occurring but I have 4 alta blinds connected via motion blind and all devices are reported as unavailable. I have removed the integration and re-added. The auto detection of my bridge works and I am able to provide the API key and it finds my devices, I just not able to control devices via HA. Devices work fine with the Bliss app on my phone. I have provided log files which appear to show that I am getting access token error when sending commands as well as occasional interface errors

What version of Home Assistant Core has the issue?

core-2024.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

motion_blinds

Link to integration documentation on our website

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

Diagnostics information

home-assistant_motion_blinds_2024-09-25T17-06-45.216Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: motionblinds.motion_blinds
Source: components/motion_blinds/gateway.py:69
First occurred: 11:59:01 AM (28 occurrences)
Last logged: 12:00:08 PM

Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': '500291f7ce850008', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240924185927553', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': '500291f7ce850008', 'deviceType': '10000000', 'msgID': '20240924115926643', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'
Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': '500291f7ce850005', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240924190008165', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': '500291f7ce850005', 'deviceType': '10000000', 'msgID': '20240924120007217', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'
Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': '500291f7ce850006', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240924190008177', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': '500291f7ce850006', 'deviceType': '10000000', 'msgID': '20240924120007230', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'
Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': '500291f7ce850007', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240924190008190', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': '500291f7ce850007', 'deviceType': '10000000', 'msgID': '20240924120007242', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'
Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': '500291f7ce850008', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240924190008204', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': '500291f7ce850008', 'deviceType': '10000000', 'msgID': '20240924120007284', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'
logger: homeassistant.components.motion_blinds.gatewaySource: components/motion_blinds/gateway.py:136integration: Motionblinds (documentation, issues)First occurred: 11:59:32 AM (2 occurrences)Last logged: 12:00:38 PMCould not find working interface for Motionblinds host 192.168.1.211, using interface 'any'


### Additional information

_No response_
home-assistant[bot] commented 5 days ago

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

Code owner commands Code owners of `motion_blinds` 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 motion_blinds` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


motion_blinds documentation motion_blinds source (message by IssueLinks)

brodly commented 4 days ago

Update: just deleted my account and recreated, added bridge via Bliss app and then added the HA integration. Everything seemed to work, but once I removed my bridge from the wall and plugged it back in the issue returned. Had to repeat the process again and it seems to be stable. Not sure if this is an issue with the integration or the mfg side