Replies: 6 comments 5 replies
-
Maybe the websocket is not working. Can you download the diagnostics of the
integration and check if there is something like `amc` in the token scope?
geko100 ***@***.***> schrieb am Di., 11. Apr. 2023, 18:37:
… Hello,
at first thanks for the great integration.
I got the problem, that I don't get new values. Only if I reload the
integration it updates it.
What am I doing wrong?
Thanks!
—
Reply to this email directly, view it on GitHub
<#420>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOG5A7Q7CXOL4QX4XBB5ZHLXAWCDZANCNFSM6AAAAAAW2QQDF4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thats a part of the Log and I censored some sensitive parts (as I think) with ??????????????? "config_entry": { |
Beta Was this translation helpful? Give feedback.
-
You need the right scope for the token. Check the description here:
https://developer.husqvarnagroup.cloud/apis/automower-connect-api#websocket
geko100 ***@***.***> schrieb am Di., 11. Apr. 2023, 19:41:
… Thats a part of the Log and I censored some sensitive parts (as I think)
with ???????????????
I didn't find anything with 'amc':
"config_entry": {
"entry_id": "??????????????????????",
"version": 2,
"domain": "husqvarna_automower",
"title": "husqvarna_automower",
"data": {
"auth_implementation": "husqvarna_automower_??????????????????????",
"token": {
"access_token": "*REDACTED*",
"scope": "iam:read",
"expires_in": 86399,
"refresh_token": "*REDACTED*",
"provider": "husqvarna",
"user_id": "??????????????????????",
"token_type": "Bearer",
"expires_at": 1681276329.826706
}
},
"options": {
"enable_camera": true,
"gps_top_left": [
??????????????????????,
??????????????????????
],
"gps_bottom_right": [
??????????????????????,
??????????????????????
],
"mower_img_path":
"/config/custom_components/husqvarna_automower/resources/mower.png",
"map_img_path":
"/config/custom_components/husqvarna_automower/resources/garten.png"
},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"unique_id": "husqvarna_automower",
"disabled_by": null
},
—
Reply to this email directly, view it on GitHub
<#420 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOG5A7X2L4SALNE7U3LZDALXAWJTVANCNFSM6AAAAAAW2QQDF4>
.
You are receiving this because you commented.Message ID:
<Thomas55555/husqvarna_automower/repo-discussions/420/comments/5583766@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Thanks. I deleted everything and did it again and now I got this at scope: "scope": "iam:read amc:api", Tomorrow I will see if it works. |
Beta Was this translation helpful? Give feedback.
-
Now it works better. I see the right status and also the mower on the map but only with very less updates, only every hour I think or something. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/Thomas55555/husqvarna_automower#debugging
geko100 ***@***.***> schrieb am Di., 18. Apr. 2023, 15:43:
… Sorry, but how to I get those Debug log?
—
Reply to this email directly, view it on GitHub
<#420 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOG5A7X6AE3QTPEXH3FWNHTXB2K6LANCNFSM6AAAAAAW2QQDF4>
.
You are receiving this because you commented.Message ID:
<Thomas55555/husqvarna_automower/repo-discussions/420/comments/5649309@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hello,
at first thanks for the great integration.
I got the problem, that I don't get new values. Only if I reload the integration it updates it.
What am I doing wrong?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions