If you toggle the switch in HA, does it go back to the proper status after some time or stay incorrect? Does an error get thrown in HA?
Kuna must have changed the API call for the light, I’ll try to sniff it tomorrow and update.
Thanks!
If you toggle the switch in HA, does it go back to the proper status after some time or stay incorrect? Does an error get thrown in HA?
Kuna must have changed the API call for the light, I’ll try to sniff it tomorrow and update.
Thanks!
@marthocoo yes, it switches back to proper status after few seconds. No error observed in HA.
Thank you very much
@mcfarlde @aghbar @TarheelGrad1998
Version 9.1 just released, restores control of the camera light via toggle in HA. Home Assistant had changed method names and I just needed to update. No change on the Kuna API side.
In the course of my investigating I also found that we can trigger sounds from the camera over the API - such as the chime sound, barking dog sound, etc. Is this something people would find useful to be available in HA (probably as a HA service that you could use in automations).
That would be an interesting feature, though I can’t at the moment think of how I might use it. Maybe if you paired it with tensor flow or something, do a barking dog if face not recognized?
I can definitely imagine some uses for it, like having the barking dog sound go off if sustained motion was detected in the backyard (where I don’t have a Kuna, but I do have motion sensors and other cameras) when I’m not home. Not exactly a pressing need, but could be fun.
It’d certainly be most useful if you could select the sound played on each service call, vs if it could only play the default motion-triggered sound selected in the official Kuna app.
Thanks for the update & fix!
I cannot believe that I failed to ask for the light dimmer setting to be added.
This is no longer showing in HACS.
I wonder if HACS changed something. I’ll investigate.
It is there in HACS version 1.6.2, but not when I upgrade to version 1.8.0
The integration was not showing at 118.4 but worked. Now ar 118.5 it does not work at all.
All is good now. Don’t know what happened, but it has passed. Does anyone have a method to purge old recordings automatically?
I am fairly new to Home Assistant, and I have a VMware setup of Home Assistant, everything works except the recording and downloading.
I have a Maximus Flood Light camera, I setup Kuna integration, setup downloader in config, there is no errors.
How every, I can see the downloader directory is keep updating the time stamp, but no recordings downloaded at all:
config $ ls -la downloads/
total 8
drwxr-xr-x 2 root root 4096 Mar 30 12:15 .
drwxr-xr-x 9 root root 4096 Mar 30 16:34 …
config $ ls -la downloads/
total 8
drwxr-xr-x 2 root root 4096 Mar 30 12:15 .
drwxr-xr-x 9 root root 4096 Mar 30 16:34 …
Any suggestion what should I do?
Thanks!
Never Mind, I never realized it was doing downloads every 2 hours. It works very well.
If you know ssh very well, you can setup ssh without password, then do a remote ssh and maintain your space.
Very good addon, thank you marthocoo.
Hi @marthocoo, this error is now appearing in the Home Assistant logs:
ERROR (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'kuna'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'kuna'
How should this be addressed?
Thank you for all your work on this!
Is anybody else having issues with Kuna since the new June update? Mine didn’t work.
I went back to the May 2021 build.
I’m running HA on RPi3 (non-docker / the simple version, whatever they call it nowadays.
Any help would be appreciated if this is in fact able to work on the June 2021 releases.
Thanks!
It is something missing from the manifest.json file.
Try manually adding the version key youself to the file in >config>custom_components>kuna>manifest.json
{
"domain": "kuna",
"name": "Kuna",
"config_flow": true,
"documentation": "https://github.com/marthoc/kuna",
"dependencies": [],
"codeowners": ["@marthoc"],
"requirements": ["pykuna==0.6.0"],
"version": ["1.0"],
}
This has also been fixed in the repository, the manifest was updated.
I upgraded to the Dec 2021 HA release now my Kuna video feeds no longer work. Should I just delete the custom component then reinstall? Or does something need to be fixed with the integration before it works again givne the new release?
I deleted the Kuna custom component, and downloaded HACS. Apparently, this component isn’t visible on the latest version on HACS.
So, I loaded the newest version into my custom components folder. It shows me motion and gives me light control, but there is no video feed anymore.
@marthocoo do you know what happened? Did KUNA change their API or is the newest version of HA messing things up?
Your work is greatly appreciated and I hope you are able to give all us HA enthusiasts who don’t have your abilities continued admiration of your work!
Same here, no video feeds…
Found the solution in the Github comments. Easy fix. See the link below.