jochamsa / automower-connect

MIT License
0 stars 0 forks source link

more as one mowers #1

Open brueggen2 opened 5 months ago

brueggen2 commented 5 months ago

Hello jochamsa,

your node red plugin works really good, but i use 2 mowers, and only one was connected. Have you any idea?

jochamsa commented 5 months ago

Hey,

are you referring to that repository?

https://github.com/jochamsa/node-red-contrib-husqvarna-automower-connect

Did you create a config for each of the robots?

brueggen2 commented 5 months ago

oh sorry, yes I meant the node. I have 2 nodes. always the same api key. but different mowers selected. But only the one that was created last is always connected. When I create the second node and select the second mower, the first one goes offline. many thanks for your response. Greetings Ralf

Am Do., 11. Apr. 2024 um 18:31 Uhr schrieb jochamsa < @.***>:

Hey,

are you referring to that repository?

https://github.com/jochamsa/node-red-contrib-husqvarna-automower-connect

Did you create a config for each of the robots?

— Reply to this email directly, view it on GitHub https://github.com/jochamsa/automower-connect/issues/1#issuecomment-2050078204, or unsubscribe https://github.com/notifications/unsubscribe-auth/BF5E3H6ODVYMRXT6IZ4SZR3Y423G7AVCNFSM6AAAAABF7F7ZQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGA3TQMRQGQ . You are receiving this because you authored the thread.Message ID: @.***>

brueggen2 commented 5 months ago

[image: image.png] [image: image.png]

Am Do., 11. Apr. 2024 um 18:42 Uhr schrieb Ralf Ußen < @.***>:

oh sorry, yes I meant the node. I have 2 nodes. always the same api key. but different mowers selected. But only the one that was created last is always connected. When I create the second node and select the second mower, the first one goes offline. many thanks for your response. Greetings Ralf

Am Do., 11. Apr. 2024 um 18:31 Uhr schrieb jochamsa < @.***>:

Hey,

are you referring to that repository?

https://github.com/jochamsa/node-red-contrib-husqvarna-automower-connect

Did you create a config for each of the robots?

— Reply to this email directly, view it on GitHub https://github.com/jochamsa/automower-connect/issues/1#issuecomment-2050078204, or unsubscribe https://github.com/notifications/unsubscribe-auth/BF5E3H6ODVYMRXT6IZ4SZR3Y423G7AVCNFSM6AAAAABF7F7ZQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGA3TQMRQGQ . You are receiving this because you authored the thread.Message ID: @.***>

jochamsa commented 5 months ago

That's strange. According to their API you should be able to create up to 3 access token for a user (after that, the oldest gets invalid). Every mower node creates a new access token right now. I'll have a look next week and save the access token in the global context and reuse it when id and secret are the same

brueggen2 commented 4 months ago

I wasn't home for a while... yes, I tried it with 2 tokens. but then node red crashes. I sometimes have problems with just one node, but with 2 mowers node red restarts the flow several times. I'm using a PI3. Only node red is installed and there is only this one node in the flow.

Many greetings, Ralph