niceboygithub / aqaracamera Goto Github PK
View Code? Open in Web Editor NEWAqara Camera G3 integration for Home Assistant
Aqara Camera G3 integration for Home Assistant
能不能增加一个switch 开关,方便自动化控制
ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration aqara_camera: cannot import name 'Platform' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)
After following the instructions, I now have telnet access, but in HA I keep getting failed to connect errors.
Firmware the unit shipped with is 3.3.2_0001.0004
and I haven't updated. Do we need to be on the specific firmware versions you list or all is fine as long as we were able to apply the telnet hack?
Also, anyone know how to "upgrade" to a specific firmware version? Say 3.3.2_0019.0004
or 3.3.4_0007.0004
which is in the supported versions notes.
Can someone share a link to firmware 3.3.4_0007.0004 ?
I currently use watch and ftpput in post_init.sh to send videos /mnt/sdcard/record/ to external disk,
I was wondering if it was possible to implement something better for crontab and ftp.
watch -n25 /data/scripts/tftp/tftp.sh &
works fine like crontab
thankyou
missing from integration list
Hi, thank you for your integration!
README notice that after camera reboot, rtsp url is change. But Alex WebRTC integration allows to use camera entity instead of rtsp url, so maybe there is a way, to use it? I tried to use entity instead of url, and for the first time it worked, but after reboot, webrtc card was unable to get stream from the entity.
Just giving you a food for thought, I understand that currently it's just a draft.
Additionaly, it would be great if stream would support for the rectangles of the detected objects, like it in the aqara app stream, or stream, passing through homekit integration.
And currently, ptz control move camera very slightly, it would be great to have a way to ajust steps.
https://www.aqara.com/en/product/camera-e1/
Dear Bro , this camera how to get the RTSP or Onvif ?
Thanks for your help !
Tell me if you can somehow change the region of the camera g3
How do I know if changes to the rootfs are needed?
Is there a work plan for how to do this?
Thank you
I saw you had a test and gave g2h pro telnet on #https://github.com/Wh1terat/aQRootG3/issues/11#issue-1162359361
Could you tell me how to do it
Never been a fan of poking devices via telnet constantly.
What about grabbing a busybox binary with httpd compiled and using cgi?
e.g
#!/bin/sh
while IFS= read -r -d '&' KEYVAL && [[ -n "$KEYVAL" ]]; do
case ${KEYVAL%=*} in
prop) PROP=${KEYVAL#*=} ;;
esac
done <<END
$(echo "${QUERY_STRING}&")
END
if [ -z "$PROP" ]; then
PROP="full"
fi
RES=`agetprop "$PROP"`
IS_JSON=`echo "$RES" | grep -c "^{"`
if [[ "$IS_JSON" -gt 0 ]]; then
printf "Content-type: application/json\n\n"
else
printf "Content-type: text/plain\n\n"
fi
echo "$RES"
x@x:[~]$ curl -v "http://x.x.x.x/cgi-bin/get_prop.sh?prop=ro.sys.fw_ver"
* Trying x.x.x.x...
* TCP_NODELAY set
* Connected to x.x.x.x (x.x.x.x) port 80 (#0)
> GET /cgi-bin/get_prop.sh?prop=ro.sys.fw_ver HTTP/1.1
> Host: x.x.x.x
> User-Agent: curl/7.54.0
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Content-type: text/plain
<
3.3.4
Could be nice for your ptz control stuff, getting uptime, sdcard usage, etc etc.
Does it work with an international version? (EU)
Hi there
Thanks so much for the plugin. I'm just struggling to get it going, I'm getting these 2 errors:
Logger: homeassistant.components.camera
Source: custom_components/aqara_camera/camera.py:52
Integration: Camera ([documentation](https://www.home-assistant.io/integrations/camera), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+camera%22))
First occurred: 18:19:37 (1 occurrences)
Last logged: 18:19:37
Error while setting up aqara_camera platform for camera
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/aqara_camera/camera.py", line 52, in async_setup_entry
raise CannotConnect
custom_components.aqara_camera.camera.CannotConnect
Logger: homeassistant.config_entries
Source: custom_components/aqara_camera/__init__.py:42
Integration: Aqara Camera ([documentation](https://github.com/niceboygithub/AqaraCamera), [issues](https://github.com/niceboygithub/AqaraCamera/issues))
First occurred: 18:19:14 (1 occurrences)
Last logged: 18:19:14
Error setting up entry Camera-Hub-G3-0794 for aqara_camera
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/aqara_camera/__init__.py", line 42, in async_setup_entry
raise CannotConnect
custom_components.aqara_camera.core.exceptions.CannotConnect
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.