normen / homebridge-landroid

Homebridge plugin to control Worx Landroid robo mowers through the Worx Cloud
24 stars 8 forks source link

Can`t find dev_name #19

Closed fabiovit closed 4 years ago

fabiovit commented 4 years ago

Hello, how is it possible to find dev_name? I get this error: [Homebridge] [4/14/2020, 1:31:31 PM] [Landroid] Error: Mower has not been configured yet. [Homebridge] [4/14/2020, 1:31:31 PM] [Landroid] Sending to landroid cloud: [{"cmd":1}] (#null) [Homebridge] [4/14/2020, 1:31:31 PM] [Landroid] Try to send a message but could not find the mower

    {
        "platform": "Landroid",
        "email": "xxx@gmail.com",
        "pwd": "xxxx",
        "landroids": [
            {
                "name": "Tagliaerba",
                "dev_name": "1"
            }
        ]
    }
normen commented 4 years ago

Earlier in the log.

JangoBritt commented 4 years ago

Also, in the Landroid app, it’s what it shows after the “Landroid “

Eg: “Landroid Bowser” = “Bowser”

Schosch83 commented 4 years ago

Hello, me the same before in the log only: [2020-4-15 21:59:32] [Landroid] Initializing Landroid platform... [2020-4-15 21:59:32] [Landroid] Initializing platform accessory 'Thomas'... [2020-4-15 21:59:36] [Landroid] Connected to WORX cloud. [2020-4-15 21:59:38] [Landroid] Found mower in Worx Cloud with name: Thomas

Then I try to start the Mower in Home. The log: [2020-4-15 22:13:55] [Landroid] Error: Mower has not been configured yet. [2020-4-15 22:13:55] [Landroid] Sending to landroid cloud: [{"cmd":1}] (#null) [2020-4-15 22:13:55] [Landroid] Try to send a message but could not find the mower

Also no status and Battery showing.

normen commented 4 years ago

"Thomas" is the dev_name.

[2020-4-15 21:59:38] [Landroid] Found mower in Worx Cloud with name: Thomas

Schosch83 commented 4 years ago

Yes that‘s the Mower Name! You Need a Debug?

normen commented 4 years ago

This should be your config:

    {
        "platform": "Landroid",
        "email": "xxx",
        "pwd": "xxx",
        "landroids": [
            {
                "name": "Thomas",
                "dev_name": "Thomas"
            }
        ]
    }
Schosch83 commented 4 years ago

Okay I change the dev_name from 1 to Thomas and his Works. Thank you 👍

normen commented 4 years ago

The latest version 0.7.0 detects all mowers automatically, no more names to be entered