Mammotion Luba integration

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