Hallo
try this i got from one off the developer from the Mammotion integration
(No Frigade Support, will not work, uses WebRTC)
- Reconfigure the Entity (if needed)
Make sure the camera entity is properly configured. It should appear as camera.your_mower_name_none. - Add the JavaScript Resource to Lovelace
- Go to Settings.
- Select Dashboards.
- Click the three dots in the top right corner.
- Choose Resources.
- Click Add Resource.
- Fill in the fields as follows: • URL: /mammotion_webrtc/agora-client.js • Type: JavaScript module
- Save.
- Hard refresh your browser.
- Add the Custom Card to Lovelace
- Go to your dashboard.
- Click Edit Dashboard.
- Click the “+” button to add a new card.
- Choose Manual card.
- 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