I’m looking into getting one or more cameras to add to my setup, and I want to pick an ecosystem and go with it. I am currently looking at Armcrest but I don’t have any strong preferences at this point. I’d like to know if any of the cameras out there are capable of signalling motion detection to HA to fire automations, or has anyone put together anything that does this as it will influence my camera choice.
Also, I would be interested in knowing if HA supports PTZ for any camera, either manuall via the UI or via automations.
I use Foscam R2 (PTZ capable) cameras, and I’ve been able to integrate them pretty well as they have a CGI interface. A warning right off the bat, though: I can only integrate the camera’s motion detection via polling (I use a scan_interval of 5 seconds). I’ve seen reports that older Foscam cameras had motion detection callback, but Foscam decided to remove that capability.
I’m still working on finetuning the integration and adding new possibilities, but so far I can:
View the live video feed (obviously)
Move the camera between preset positions
Turn the infrared lighting on/off
Turn motion detection on/off
Detect motion (through polling)
On my current wish list I have:
Retrieve a snapshot taken by the camera upon detected motion and send it to my phone through a push notification
Install additional light sensors so I can turn the infrared lighting on/off more appropriately
EDIT: All this is done through command_line switches and sensors using the Foscam CGI interface (except for the live video feed which uses the Foscam component in Home Assistant). I’m nowhere near smart enough to develop a component (or expand the existing one).
I’m working on a component for Axis cameras (axis.com). They are quite feature rich and can push motion detection directly to HASS (to the component). They are unfortunately not the cheapest cameras but quality wise they’re great.
What functionality do you need from your camera?
I think I can post a first draft of the component within a week or two. Things have progressed quicker than expected.
@Robban - I haven’t looked into Axis yet but I will do so. My goal would be to get the following:
Live Stream
Stills
Motion detection and alerting into HA along with a still from the camera (that I could then push out as an alert to my phone)
I would also want the above to work without relying on the cloud, although I also see the value of cloud recording and a decent app.
Ultimately I want the ability to use AppDaemon to signal motion events back to HADashboard and use that to pop up a large video stream over the top of everything, and I would also want to build a camera widget that can do PTZ.
These actually look really good. I’d want to wait until they had the outdoor cam on the list though so I can see what the price is. Could totally see using these indoors though.
These look promising. Do they have a battery life indicator in their API? I’d like to be proactive about replacing batteries, rather than realize “oh dang, HASS reports the camera as off, now I need to order batteries.” Battery life would be a big concern for me… and are probably the reason why I’d stay away from this vs something that is POE.
device_class: motion makes it so the off state shows as clear in the UI, and on as detected. Bare in mind the actual state of the binary sensor is still off or on. And don’t forget to replace xxx.xxx.xxx.xx with the ip address of your Foscam camera, as well as YOURUSER and YOURPASSWORD with your correct credentials.