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

Motionblinds AccessToken error with HA core 2024.4.4 integration: motion_blinds #116367

Open
ndrw833 opened this issue Apr 29, 2024 · 7 comments
Open

Comments

@ndrw833
Copy link

ndrw833 commented Apr 29, 2024

The problem

Hello,
In mot able to control my shutters in the HA Motionblinds integration, however I can see the status and the state of the shutters perfectly, like I only have read access to the system in Home Assistant. I can control the shutters from Google Home and from the "officical" SmartHome Bridge Connector application (FW A1.0.9_B0.2.0 FW).
It was never working.
Multicast

I tried to readd the device to the Wifi, and to the Motionblinds integration with the TokenCode from MotionBlinds app, but still not able to control from HA, I keep seeing the following:

Logger: motionblinds.motion_blinds
Source: components/motion_blinds/coordinator.py:67
First occurred: 9:26:46 AM (10 occurrences)
Last logged: 9:27:00 AM

Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': 'b0b21c7655280006', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240429072654057', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': 'b0b21c7655280006', 'deviceType': '10000000', 'msgID': '20240429092653675', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'
Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': 'b0b21c7655280007', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240429072655681', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': 'b0b21c7655280007', 'deviceType': '10000000', 'msgID': '20240429092655211', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'
Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': 'b0b21c7655280008', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240429072657215', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': 'b0b21c7655280008', 'deviceType': '10000000', 'msgID': '20240429092656748', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'
Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': 'b0b21c7655280009', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240429072658772', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': 'b0b21c7655280009', 'deviceType': '10000000', 'msgID': '20240429092658386', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'
Received actionResult: 'AccessToken error', when sending message: '{'msgType': 'WriteDevice', 'mac': 'b0b21c765528000a', 'deviceType': '10000000', 'AccessToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'msgID': '20240429072700391', 'data': {'operation': 5}}', got response: '{'msgType': 'WriteDeviceAck', 'mac': 'b0b21c765528000a', 'deviceType': '10000000', 'msgID': '20240429092659924', 'token': 'xxxxxxxxxxxxxxxx', 'actionResult': 'AccessToken error'}'

System Information

version core-2024.4.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.25-haos
arch x86_64
timezone Europe/Budapest
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1399
Downloaded Repositories 6
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.2
update_channel stable
supervisor_version supervisor-2024.04.0
agent_version 1.6.0
docker_version 25.0.5
disk_total 30.8 GB
disk_used 12.5 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Studio Code Server (5.15.0), Samba share (12.3.1), Terminal & SSH (9.13.0), Check Home Assistant configuration (3.11.0), Home Assistant Google Drive Backup (0.112.1), MariaDB (2.7.0), Nginx Proxy Manager (1.0.1), Mosquitto broker (6.4.0), File editor (5.8.0), ESPHome (2024.4.1)
Dashboards
dashboards 3
resources 0
views 4
mode storage
Recorder
oldest_recorder_run April 19, 2024 at 6:51 AM
current_recorder_run April 28, 2024 at 2:17 PM
estimated_db_size 301.05 MiB
database_engine sqlite
database_version 3.44.2
![Log](https://github.com/home-assistant/core/assets/96190227/be1296f4-cb17-4361-89fb-990cae16537a) ![Shutters](https://github.com/home-assistant/core/assets/96190227/4cbb86de-8cbe-4f4b-91a7-9eea34f7a08f) ![Shutter1](https://github.com/home-assistant/core/assets/96190227/d8048b6c-0ada-456c-a6b8-9b4dcc370a2c)

What version of Home Assistant Core has the issue?

core-2024.4.4

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

Motionblinds

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

@ndrw833
Copy link
Author

ndrw833 commented Apr 29, 2024

Log
Shutter1
Shutters

@home-assistant
Copy link

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)

@starkillerOG
Copy link
Contributor

You can try power cycling the bridge.
But since it has never worked for you, it is more likely that the key you put in is wrong.

Please note that “-” characters need to be included in the key when providing it to Home Assistant. The key needs to be similar to 12ab345c-d67e-8f

Please check again from the app if you copied the key correctly, maybe a mistake like I (i) vs l (L).

@ndrw833
Copy link
Author

ndrw833 commented Apr 29, 2024 via email

@ndrw833
Copy link
Author

ndrw833 commented Apr 29, 2024

image (1)
image

@ndrw833
Copy link
Author

ndrw833 commented Apr 29, 2024

image

@ndrw833
Copy link
Author

ndrw833 commented May 2, 2024

Is there another way to extract my Motionblinds integration AccessToken?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants