Camera Setup - mikey0000/Mammotion-HA GitHub Wiki
(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
Save the card.
WebRTC video stream card should now be visible and working.