Worx Landroid Package (Deprecated)

As I see it, the IP address is something you define manually.
The integration doesn’t resolve the IP address, as it’s not present in the API.

See https://github.com/Barma-lej/halandroid#installation

Thanks I have not put a ip in home assistant for Landroid so that’s why I am confused to where the ip is coming from nothing on my network is using that ip, yes you was correct it was in secrets config many thanks

The package doesn’t work for me. I installed the latest Landroid cloud integration v 2.02. I removed the
landroid_cloud entries in the landroid.yaml file. Otherwise the integration does not start. ( See Can not restart Home Assistant since yesterday · Issue #137 · MTrab/landroid_cloud · GitHub )

image

The vacuum.mower entity is working.

image

But nothing else. I miss all the sensors like sensor.landroid_cloud_status, _battery, _error . I didn’t rename my ladroid but followed the instructions and replaced landroid_mower by landroid_r2maeh2 in the landroid.yaml and the card.yaml.

All ‘.mower’ entities like templates or scripts exists. So I assume the landroid.yaml file works in general. Due to the missing sensors as mentioned above those entities are not working.

My config is Home Assistant OS 8.1, core-2022.6.0 .

Meanwhile I realized it doesn’t work with the latest Landroid Cloud integration. Will wait for an updated package.

Same here :frowning:
I used this integration in a picture entities card - and all the sensors I used have dissappeared with version 2.

While I would be able to create some of the sensors manually (in config.yaml via the attributes), some stuff like “charging status” or "battery chareg level), etc. is not accessible anymore.

I guess I am going to roll back to 1.8.10 and stick with it until the mower dies :slight_smile:

Hi all, finally I found the time and updated the package :upside_down_face:
enjoy

1 Like

Many thanks for your hard work!

Thanks for all your work :grinning:

Hi guys, I am also having some issues since upgrading to 2022.6.2 I only see one entity under the mower device.vacuum.mower.

I assume I just need to be patient and wait for an update but thought I would check.

2022-06-05_13-24-53

Sorry guys, I am being thick. I now realise that as well as downloading the Landroid Cloud update I need to copy the new files from Barmelej’s repo into the www and packages directory.

Leaving this here in case there are other people as dumb as me.

Thank you @Barmalej for the great work

1 Like

Hi @Barmalej
I do have 2 automations greyed out:

Any idea where to look for a possible reason?
Thanks

If anyone in here is using this package or the landroid_cloud integration standalone, with either Kress or Landxcape devices, please contact me at github_2022 (at) trab.dk

I have no ways to check if the integration is still fully compatible with these makes as of right now.
Would be nice to have compatibility confirmed.

1 Like

Hi @Barmalej thx for your work on the landroid card!

Hello,

thank you @Barmalej for this package and the support for more than 3 years.

I’ve missed the schedule of my landroid as part of this card, so I added some code for me. This can be useful for some other users too.

First I created an new input_boolean as a helper with the entity input_boolean.mower_schedule_toggle
for toggling the schedule like the information and configuration tab.

Then I imported two new files from the mdi libary into to www\mower folder.

  • archive-clock-outline as schedule.png
  • archive-off-outline as schedule-off.png

Then I added a new image-type with the new entity to the lovelace card by copy and paste the info_toggle entity with some modifications for the icons

- type: image
  title: Zeitplan
  entity: input_boolean.mower_schedule_toggle
  image: /local/mower/schedule-off.png
  tap_action:
    action: toggle
  state_filter:
    "off": brightness(100%) saturate(1)
    "on": brightness(90%) saturate(1)
  state_image:
     "on": /local/mower/schedule.png
  style:
    bottom: "0%"
    left: 38%

I have to modifed the style:left attribute for ALL image cards in the bottom row. With the values 12%, 24%, 38%, 50%, 63%, 75%, 88% it looks nice and centered with no overlapping.

As the last part I’ve added an extra conditional card next to the existing conditonal for infomation with some markdown and template code inside.

  - type: conditional
    conditions:
      - entity: input_boolean.mower_schedule_toggle
        state: "on"
    card:
      type: markdown
      content: >-
        {% set days = {
      
        'Montag':'monday',
      
        'Dienstag':'tuesday',
      
        'Mittwoch':'wednesday',
      
        'Donnerstag':'thursday',
      
        'Freitag':'friday',
      
        'Samstag':'saturday',
      
        'Sonntag':'sunday',
      
        } %}
      
        {% for key,item in days.items() %}
      
        {% set boundary =
        states["vacuum.mower"].attributes.schedules.primary[item].boundary %}
      
        <b>{{ key }}</b>: {{
        states["vacuum.mower"].attributes.schedules.primary[item].start }} bis {{
        states["vacuum.mower"].attributes.schedules.primary[item].end }} (Dauer: {{
        states["vacuum.mower"].attributes.schedules.primary[item].duration }}min) -
        Rasenkante: {% if (boundary) %}Ja{% else %}Nein{%endif%}
      
        {% endfor %}
      title: Zeitplan

The final result looks like this. I’ve moved the toggle cards to the right side, normally they are below the main card. Don’t be confused about that.

Configuration is active. Schedule (3rd position) is inactive

Configuration is active and the new schedule is active too

It’s possible to add the secondary schedules the same way but I personally don’t use them right now. The language is just german but it should be easy to modify it the way you like it.

I hope some of you like this and maybe this modification will be part of the package (with optimized coding!) in the future.

3 Likes

Why don’t you make a pull request on github? Maybe author will add your code to master :slight_smile:

I have think about it, I have copied the new files also to the foldes but the Card show the same behavior as before.

I’ve never done that before. I read how to do that but first the code have to be optimized (secondary plans, multiple language…). I’ll give feedback when I’m done.

Hi, i’m new here and kinda new with ha.

I follow the git instructions and work everything fine, but have stuck to your exact problem.

I don’t understand what you did after saying “I need to copy the new files from Barmelej’s repo into the www and packages directory”

i have all the icon and png in the www directory and both file in packages.

I donwloaded the repo and the HACS integration today so they are all updated as my Home Assistant Core 2022.6.5 and
Home Assistant Supervisor 2022.05.3.

Any help is welcome.

Hi guys, I changed a bit a vacuum-card and now we have our own custom card for landroid.
It’s still alpha version but you can already test it.

Preview of landroid-card

All details are here:

6 Likes

this absolutely fantastic!