ATTENTION: The component only works after enabled telnet. Only supportd stream. Not support motion detection, ai etc. yet.
This is a way to enable telnetd from #Wh1terat. After enabled telnet, you need use putty to telnet . Then enter the following commands.
chmod a+w /data/scripts/post_init.sh
echo -e "#!/bin/sh\n\nasetprop sys.camera_ptz_moving true\nfw_manager.sh -r\nfw_manager.sh -t -k" > /data/scripts/post_init.sh
chattr +i /data/scripts/post_init.sh
you can install component with HACS, custom repo: HACS > Integrations > 3 dots (upper top corner) > Custom repositories > URL: niceboygithub/AqaraCamera
> Category: Integration
Or Download and copy custom_components/aqara_camera
folder to custom_components
folder in your HomeAssistant config folder
-
⚙️ Configuration > 🧩 Integrations > ➕ Add Integration > 🔍 Search
Aqara Camera
- If the integration didn't show up in the list please REFRESH the page
- If the integration is still not in the list, you need to clear the browser cache.
-
Enter Camera IP address.
-
Click Send button, then wait this integration is configured completely.
-
Done
Need to add the following information to your configuration.yaml file:
ffmpeg:
You can use @AlexxIT's WebRTC integration. The usage was well documented in AlexxIT's github. The rtsp url can be found in Attributes of Camera (find it in developer-tools/state). You need to notice that the url was changed on every reboot of Aqara Camera.
type: custom:webrtc-camera
url: rtsp://66:88@192.168.1.168:8554/720p
ptz:
service: aqara_camera.ptz
data_left:
entity_id: camera.camera_hub_g3_1234
direction: left
data_right:
entity_id: camera.camera_hub_g3_1234
direction: right
data_up:
entity_id: camera.camera_hub_g3_1234
direction: up
data_down:
entity_id: camera.camera_hub_g3_1234
direction: down
Market | Firmware Version | Status |
---|---|---|
China | 3.3.2_0019.0004 | ✅ |
China | 3.3.4_0007.0004 | ✅ |
Attention: The component is under active development.