Sensor attr ârecording_activeâ indicates whether the cameraâs motion sensor has been tripped
Polling is limited to 15 seconds. I donât think the API involved has been âannouncedâ, so I thought this would be safe (re: keep us from getting blacklisted)⌠but thoughts?
The add-on should support multiple cameras, but I only have one, so let me know if there are issues
Iâve written a custom component for HA that starts to integrate Kuna cameras.
Iâve made a couple of big assumptions about how the API works given that I only have one device and, accordingly, I only know how the Maximus Smart Security Light is modelled in the API. Iâm assuming the other Kuna devices work similarly but Iâd be happy to hear otherwise so that I can fix and update.
If you would like to test, please grab the release from GitHub: https://github.com/marthoc/kuna/releases. Installation and configuration instructions are in the README. Currently you should get a binary sensor (motion) and switch (control the cameraâs light bulb) for each camera in your account - support for an actual camera entity will follow soon, Iâm working on it.
The debug script will log into your account and dump the data for each camera in it. Copy and paste the output into a DM to me. The only âsensitiveâ data contained in the dump will be your cameraâs serial number, but (among other things) Iâm trying to figure out if we can determine device model type from the serial number since it doesnât appear to be indicated in the API response otherwise. For each camera in the dump, please let me know what model it is (i.e. Maximus Smart Security Light, Toucan, etc.) so that I can see if there are variations in the API response between different models of camera.
Apologies, I had something unexpected come up and couldnât so much as look at HA for 3 months The one thing keeping me from fixing the add-on is this issue with the newly released webhook component (needed for bringing thumbnails in via the push camera platform). Once resolved, the add-on should be reliable for bringing polling-based status updates and thumbnails into HA.
That said, I poked around with Charles and learned that in addition to allowing certain camera settings to be updated, a live rtsp stream exists. The hassio add-on will be limited to âread onlyâ functionality, but Iâm looking forward to seeing what @marthocoo can put together in the form of a fully integrated HA component.
Just bought the smart security light from Costco. Canât wait to install it. Looks like integration with Hassio is successfulâŚthanks!
My question: when you install this, do you use a smart switch? Or just a dumb switch that is kept on and light controlled via HA or the app? Can you flip this light on and off the old fashioned way with a wall switch? How does that affect the camera? When the switch is off, is the camera always off, too?
Thanks for the information, so I know how best to install.
The wall switch controls all power to the device, so you want it to be always on. (I have a switchguard over mine so people wonât turn it off by mistake.)
Yes and no. I got it on Kickstarter, long before I got into Home Assistant. As a standalone device, itâs fine; videoâs a little slow, but I like having the camera in the light rather than in a doorbell like most similar devices. So, if I never used HA, Iâd be happy with it.
But I do use HA. I wish theyâd actually have done what the Kickstarter promised and had an actual API instead of having people like marthoc reverse-engineering private APIs so we can integrate into HA. If I was buying now, I think Iâd probably pick a different device, one which has actual API support for integration.
Thanks for the feedback. Weâre doing a project on the house, and need a new light for the back door. I have a Ring doorbell for the front. I have mixed feelings, but overall it is OK.
This Kuna was on sale at Costco for like 69.99, so I figured once it gets set up, I can always take it back if no good. Hopefully this will get set up within a month or so. Iâll let the contractors install it. Iâll have my hand at the programming!
Thanks again for your help.
David
I picked up the maximus at costco on sale; I was wondering a number of things of how to put this into my home automation and integration, this is fantastic.
With premium service from Kuna you can get âAIâ I donât know if itâll have facial recognition, but if it does itâd be cool if this API could handle it, then a positive response to a face that it âknowsâ could automatically unlock doors and stuff (I know risky and insecure, but cool).
Iâve followed the instructions, but canât complete:
"To enable the integration, add it from the Configuration - Integrations menu in Home Assistant. Click â+â, then âKuna Smart Home Securityâ.
There is no option for Kuna in the hassio integration add menu.
I did have this working, but then had to do a fresh install and now canât get it working due to the same problem as before âThere is no option for Kuna in the hassio integration add menu.â
I canât remember what I did last time to get it to work, but hoping someone can point me in the right direction. How do I add this integration??
To be honest, itâs probably not much help, but this just sort of worked itself out. Kuna is working again and itâs relatively the same config so not sure what was up. Iâve done a couple of upgrade to hassio so maybe something there cleared the issue???