Mammotion Luba integration

How did you get the card/zones in homeassistant

Your help was huge, thank you again. Different topic, how do you like Luba so far?

@Morten_Henriksen I copied what Dictus gave me and in the dashboard using Yaml Editor I copied and paste what he gave me, the only thing I had to do is changing his luba name with mine. What he did is really cool.

1 Like

I posted the Yaml code, you just need to change the entity to your own

Ahhhh ok now it works👍🏻 how did you remove the road details in the background, so you have a clean card only with zones. My card looks like this

Have you try with this i dashboard configuration. I can see the camera on my Luba with this 2 lines

If I zoom out I too see the houses and roads.
Not yet able to remove them. (Haven’t tried yet too)

Thx tried it but camera feed is faulty

After reloading the integration I see my two tasks now :heart_eyes:

But the camera still is a no go

where did you find the camera-agora-card ? I cannot find it in a custom repository via HACs nor in the HACs general available cards. My HA throws an error that the custom: camera-agora-card is not recognized or something like that

Hallo

try this i got from one off the developer from the Mammotion integration

(No Frigade Support, will not work, uses WebRTC)

  1. Reconfigure the Entity (if needed)
    Make sure the camera entity is properly configured. It should appear as camera.your_mower_name_none.
  2. Add the JavaScript Resource to Lovelace
    1. Go to Settings.
    2. Select Dashboards.
    3. Click the three dots in the top right corner.
    4. Choose Resources.
    5. Click Add Resource.
    6. Fill in the fields as follows: • URL: /mammotion_webrtc/agora-client.js • Type: JavaScript module
    7. Save.
    8. Hard refresh your browser.
  3. Add the Custom Card to Lovelace
    1. Go to your dashboard.
    2. Click Edit Dashboard.
    3. Click the “+” button to add a new card.
    4. Choose Manual card.
    5. Enter the following YAML (make sure to replace the entity with the correct one):

type: custom:camera-agora-card entity: camera.your_mower_name_none
6. Save the card.
WebRTC video stream card should now be visible and working.

my card configuration is this

type: custom:camera-agora-card
entity: camera.luba_vs9h38cy_none
speed: 0.8
enableJoystick: true

2 Likes

Thank you! That did the trick!

Works now for me too, thx

Can you share your dashboards for Mammotion?

1 Like

Hi, Our dashboards are in the code posts above