camera - mikey0000/Mammotion-HA GitHub Wiki
Warning
No Frigidaire/Frigate Support. This implementation uses WebRTC and will not work with standard NVR platforms.
Ensure your camera entity is properly configured. It should appear in your entities list as:
camera.your_mower_name_none
To enable the WebRTC client, you must add the Agora library to your Home Assistant resources:
- Navigate to Settings > Dashboards.
- Click the three dots (overflow menu) in the top right corner.
- Select Resources.
- Click Add Resource.
- Enter the following details:
-
URL:
/mammotion_webrtc/agora-client.js -
Type:
JavaScript module
-
URL:
- Click Save.
-
Hard refresh your browser (usually
Ctrl + F5orCmd + Shift + R) to load the new resource.
Create the UI component to view the stream:
- Open your dashboard and enter Edit Mode.
- Click + Add Card.
- Scroll down and select the Manual card.
- Replace the default YAML with the following (update the entity ID to match your mower):
type: custom:camera-agora-card
entity: camera.your_mower_name_none
enableJoystick: true
use_wifi: true # affects joystick controls as most models only work over BLE
speed: 0.2- Click Save.
The WebRTC video stream card should now be visible and operational on your dashboard.