Open uvjim opened 3 years ago
did you get it working?
Afraid not. I have one camera that I don't need to change the state of so I have left that mounted and in position. The second one, which needs arming/disarming based on presence etc, is still in the box and I'm using my existing cameras to cover that area.
So that's the reason behind my issue with official integration and this "custom one" does report only Alarm (but it doesn't change/react to anything).
Dammit, I recklessly assumed it's EZVIZ so it should be supported... (for a long term HAuser, quite sad and newbie mistake)
Hi There,
Would anyone be able to test a modification to the pyezviz api? It might be a simple fix to add support for this camera.
in constants.py file, change the following:
COMMON_DEVICE_CATEGORY = "COMMON"
to
COMMON_DEVICE_CATEGORY = "IGateWay"
If this works, I'll update the library to support the device.
I think I tried it(changed via portainer and rebooted complete device, setting was not changed) and didn't add the other cameras. Do I need to do somerhing else? I'm not superexperienced with this ;-)
@RenierM26 Hi and thanks! If I didn't make a mistake I successfully tested it, unfortunately with no difference. Still the same Alarm entity with nothing else for me.
Anything else I can do to help to get it implemented?
According to the Ezviz app it seems like BC1 should be under "BatteryCamera" category.
Hi There,
Would anyone be able to test a modification to the pyezviz api? It might be a simple fix to add support for this camera.
in constants.py file, change the following:
COMMON_DEVICE_CATEGORY = "COMMON"
to
COMMON_DEVICE_CATEGORY = "IGateWay"
If this works, I'll update the library to support the device.
I don't actually have these setup at the moment. But I may be able to test tomorrow.
Since the last update, it works!! HA can see the cameras, but when adding them, it asks for a username and password but I get a hostname/IP address error?
Hi @Freddy315pk,
Did you need to change anything? What version are you using?
Are you getting the error after entering the camera username and password or before?
Hi @Freddy315pk,
Did you need to change anything? What version are you using?
Are you getting the error after entering the camera username and password or before?
Didn't change anything, just updated to 0.0.8.7 beta version.
I'm getting the error after entering the username and password. I think my problem is, I don't even know which username and password I should enter. The sticker on the camera doesn't have any info on that. The cameras are showing up in the integration with a lot of switches and sensors and there's a seperate integration made for each camera, so there is progress!!
Edit: just updated to 0.0.8.9, same issue. Also tried the verification code on the sticker of the base-station, no luck.
Hi @Freddy315pk,
You could try enabling encryption on the camera, the app might guide you to the correct verification code.
All Ezviz cameras I've encountered so far use the "admin" username and the same verification code used when you setup encryption or manually add a camera. I haven't worked with any cameras connected to a base station yet so it might be different.
Just remember to disable encryption after because the RTSP stream doesn't work when encryption is enabled on the device. (At present at least.)
Hi @Freddy315pk, just read a review on this camera where it looks like it doesn't support RTSP. Might be out of luck for the moment.
The cameras should support WebRTC but I still need to figure out how that works. It looks like I can get all the connection details for this to work but it still needs some figuring out.
Tried encrypting the camera, doesn't work. Still the same error with IP/hostname. I suspect it has something to do with the fact that the base-station creates a seperate wifi network to the cameras with a different IP address. It's just a guess, my knowledge only goes so far..
Image doesn't work, but I can use the motion detection sensors for Alarmo so I'm very happy! Thanks for the hard work!
Edit: Maybe https://github.com/meetecho/janus-gateway is an option? I have no coding knowledge or experience so I'm just spit-balling here..
@RenierM26 Same as for @Freddy315pk, since v0.0.8.7 it miracously started to work as well. Unfortunately some sensors don't update for me (Motion_Trigger
, pir_status
), still a progress though. 🙂
What surprised me is that even the official integration picked up the RTSP as a "New device" after the update (does the beta update the same package in path for pyEzviz?). Otherwise I'm on the same boat as @Freddy315pk in terms of behaviour of the BC1.
Hi @Shamshala,
The latest api should work with the native hassio integration. All additions/changes to this "beta" integration does make it's way to the native integration, I use this to test repo to test before submitting a pull request for the official integration.
The latest api makes use of the latest endpoint that the Android app uses and more or less mirrors the requests sent to the ezviz servers. I suspect the old page list endpoint was not reporting all the device info correctly.
As far as I can tell, the BC1 doesn't support RTSP so the video feed won't work. I still need to reverse engineer the WebRTC endpoints (or challenge/response) but it should be much easier since HA now officially supports WebRTC.
The motion_trigger sensor makes use of the "alarm list" on the app. If motion detection alerts work in the Ezviz Phone app, it should update this sensor in HA.
If you get WebRTC to work, how will it work in practice? Will we be able to see still images for the cameras, or will it simply be a link to start live stream?
PS: When 2-factor authentication is enabled, is it still possible to add the EzViz account to HA? I tried, but got an auth error - even though an e-mail with a code was sent.
Hello everyone! Has anyone managed to integrate bc1 cameras on Home Assistant? Thank you!
Any update on WebRTC support? RTSP doesn't seems to be supported on those camera...
I have recently purchased an ezviz camera kit model: CS-BC1-B2. I have tried to use this integration to access the cameras (the native one in HASS doesn't find any devices). This integration finds the base station but does not identify any of the cameras.
I'm not sure whether it is best to raise that here or in the underlying library.
Is it possible to support these cameras?
The library identifies the device as the following (serial numbers removed): -