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.

2 Likes

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

1 Like

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

1 Like

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

8 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

Whoua , thx for the trick !

Did you know if an autoplay trigger exist ?

1 Like

Not yet, but would love it to start when I open the robo mower dashboard view aswell :smiley:

Maybe I should start a new topic, but here is what I want to achieve. I am currently extensively using this superb integration for my Luba-1 (Thanks Mikey ! :kissing_heart:). I have 3x small door gates that I want to open with a linear actuator only when Luba is approaching the gate. I was thinking to use ESPHOME-BT-PROXY, if this makes sense. Will the BT be recognized (I thought about checking the BLE RSSI when Luba is closed to the gate) or do you see a better option ?

!!! Edit!!! Solved combining a timer and a new tiny zone.

thanks it works great. Do anyone know how can I make a polygon with my area borders in the background? Ive the coordinates but im struggling to integrate. Anyone can help?

1 Like

I’m just getting settled in with the integration - and i have to say you’ve done some fine work!
I started trying to get the camera view up and running today - and it works on all chromium browsers, but Firefox and other Gecko browsers are a no joy.
It just won’t open the video stream. It seems agora / webRTC has been hit and miss for Mozilla / Gecko - are there alternatives it that I could try?

1 Like

I am still practicing to use Mammotion integration, but looks really good. One question at this point though. Is it possible to get a signal if Luba’s wheels are lifted, or Luba is tilted ? So the same as what triggers a voice announchment in Luba’s speakes.

1 Like

Hello, glad to see someone is working on an integration!
I habe 2 Yuka mini’s.
Any idea when the wifi integration wil be added?
Thank you.

1 Like