Skip to content

Latest commit

 

History

History
156 lines (155 loc) · 4.06 KB

landroid-api.md

File metadata and controls

156 lines (155 loc) · 4.06 KB

Worx Landroid REST API JSON response

The JSON response from the Worx Landroid robotic mowers (2015-2016) contains the following JSON structure, with Italian names. English explanation is inlined as comments.

{
    "CntProg": 95, // Firmware version?????
    "lingua": 0, // Language in use
    "ore_funz": [ // Decides for how long the mower will work each day, probably expressed as 0,1 h
        100,
        122,
        100,
        120,
        110,
        40,
        50
    ],
    "ora_on": [ // Hour of day that the Landroid should mowing, per weekday
        4,
        4,
        2,
        3,
        3,
        2,
        2
    ],
    "min_on": [ // Minutes on the hour (above) that the Landroid should start mowing, per weekday
        0,
        0,
        0,
        0,
        0,
        0,
        0
    ],
    "allarmi": [ // Alarms - flags set to 1 when alarm is active
        0, // [0] "Blade blocked"
        0, // [1] "Repositioning error"
        0, // [2] "Outside wire" ("Outside working area") 
        0, // [3] "Blade blocked"
        0, // [4] "Outside wire" ("Outside working area")
        0, // [5] "Mower lifted" ("Lifted up")
        0, // [6] "error"
        0, // [7] "error" (Set when "Lifted up" - "Upside down"?)
        0, // [8] "error"
        0, // [9] "Collision sensor blocked"
        0, // [10] "Mower tilted"
        0, // [11] "Charge error" (Set when "Lifted up"?)
        0, // [12] "Battery error"
        0, // Reserved for future use?
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0, // -- " --
        0  // -- " --
    ],
    "settaggi": [ // Settings / state
        0,
        0,
        0,
        0,
        1,
        0, // "in base" ("charging" or "charging completed", see [13])
        0,
        1,
        1,
        1,
        0,
        0, // "start"
        0, // "stop"
        0, // "charging completed"
        0, // "manual stop"
        0, // "going home"
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
    ],
    "mac": [ // The MAC address of the Landroid WiFi
        ...,
        ...,
        ...,
        ...,
        ...,
        ...
    ],
    "time_format": 1, // Time format
    "date_format": 2, // Date format
    "rit_pioggia": 180, // Time to wait after rain, in minutes
    "area": 0,
    "enab_bordo": 1, // Enable edge cutting
    "g_sett_attuale": 1, // Is charging???
    "g_ultimo_bordo": 0,
    "ore_movimento": 626, // Total time the mower has been mowing, expressed in 0,1 h 
    "percent_programmatore": 50, // Working time percent (increase)
    "indice_area": 9, // Garden size, assumed to be in 100 m^2
    "tipo_lando": 8,
    "beep_hi_low": 0,
    "gradi_ini_diritto": 30, // Something "right"?
    "perc_cor_diritto": 103, // Something "right"?
    "coef_angolo_retta": 80, // Something "straigt line"?
    "scost_zero_retta": 1,   // Something "straigt line"?
    "offset_inclinometri": [ // Probably the calibration of the sensors?
        2039,
        2035,
        2672
    ],
    "gr_rall_inizio": 80,
    "gr_rall_finale": 300,
    "gr_ini_frenatura": 130,
    "perc_vel_ini_frenatura": 50, // Something "brake" (battery percent when returning to charger???)
    "tempo_frenatura": 20,
    "perc_rallenta_max": 50,
    "canale": 0,
    "num_ricariche_batt": 0,
    "num_aree_lavoro": 4, // Number of zones in use
    "Dist_area": [ // Distance in meters to the zone starts
        18,
        71,
        96,
        129
    ],
    "perc_per_area": [ // Percentage per zone, expressed in 10% increments (i.e. 3 = 30%)
        1,
        2,
        3,
        4
    ],
    "area_in_lavoro": 5,
    "email": "...", // The e-mail address used to log into the app
    "perc_batt": "100" // Charge level of the battery
}