Nest Camera No longer Triggering - nest-api

I have recently integrated my Nest cams with Home Assistant. A Nest Hello door bell and the Nest Cam in the Google Home Hub Max.
Everything worked great at first, I had the live stream coming through from both cams. I also had some automations setup with both cams.
The day after I had set it up I found both cameras had turned off. This was because I had the Home/Away setting on in the Nest app so when I was at home the cameras would turn off and when I was away they would turn on. I turned this setting off in the Nest app and turned both cameras back on.
After turning the cameras back on I had the live streams of both cameras coming through again to Home Assistant. I went to test if the automations still worked and the Nest Hello Door Bell automations did and do still work but the Google Home Max automations did not work anymore.
I had the Home Hub Max camera triggering automations when detecting a person but it seems like the detection is not getting sent through to Home Assistant? I have also tried this with Motion detection and even Sound but I don’t see anything being recorded in Home Assistant.
The Nest Hello Door Bell, however, is working great and I see the detections being recorded in Home Assistant and the automations being triggered.
The live stream from the Home Hub Max is still working great in Home Assistant which makes it a little strange that the Person and Motion Detection is not working.
I have tried re-integrating the devices by removing and re-adding Nest to Home Assistant but I still get the same results.
I am also still getting motion detected notifications in the actual Nest App from the Nest cam in the Home Hub Max.
I really would like to get the Home Hub Max triggering on detection again in Home Assistant.
Has anyone else had the same experience or solved this before? Any help would be really appreciated.

I have been digging into this myself with the integration owner.
It appears that the Google Pub/Sub topic from the Nest SDM API is not showing any camera events (Motion/person detection). I have created a subscription to the Google Pub/Sub from the SDM API and I can see the events being fired off by the Nest Thermostat however there are no messages for any camera events from the Nest Hub Max. The device is setup properly as I receive notifications in the Nest app for events and I can also get the rtsp stream from the SDM Api. My guess is maybe something in the firmware is preventing the events from going to the Pub/Sub topic as they should for the Nest Hub Max.

Many users reports of nest hub display not publishing events at all, independent of home assistant

Related

New Nest Cam Disappeared from SDM API

I have a new 2021 Google Nest camera (wired not battery) it was showing up fine through the SDM API but it has suddenly disappeared and only my doorbell shows (older non-battery model). I've tried re-creating my app, changing the name of the camera, nothing seems to sort it out. I can view the camera just fine in the google home app, but it's as if it's not even there when I look for it in the SDM API. Is there some permission set to change?

How to make Azure Media Service hosted video auto play on mobile?

I am working on a project where by we are hosting and streaming video through Azure Media Service.
There is a particular video we have positioned as the hero background upon entry to the site. On desktop the video auto-play's and streams just fine but on mobile it does not autoplay at all. It simply showcases the preview image.
I'd love to be able to paste a link to the site but unfortunately due to the confidentiality of the project I am not able to. However, if there is something in particular you'd like me to post to help support the question please let me know.
The web-app is build using Angular.
Does anyone know how to fix this problem? or can point me in the right direction?
Check with the browser platform you are targeting on the mobile applications. Most mobile browsers have disabled autoplay. User MUST now initiate all playback actions.
Since the release of iOS 10 Apple has allowed muted video autoplay: https://webkit.org/blog/6784/new-video-policies-for-ios/
Chrome 53 on Android also allowing muted video autoplay: https://developers.google.com/web/updates/2016/07/autoplay

OpenTok - cycling camera/ switch camera to front/back on mobile device in video call

I have a problem with switching between front and back camera when streaming with OpenTok (Web version but in mobile browser). can any one help me out for this?
I was trying to switch camera using below code line. but it doesn't work.
publisher.cycleVideo();
My guess is that you are using a version of chrome that is too old to support replaceTrack. The cycleVideo method returns a promise, you should handle it and see if you get an error message. That will give you more details.
publisher.cycleVideo().catch(console.error);

Why am I getting a LAUNCH_ERROR, NOT_FOUND when attempting to play to an audio-only Google Cast device?

I recently purchased a LG Music Flow H3 to test my Google Cast app with an 'audio-only' device. I've enabled audio-only device support within the Google Cast Dashboard and I've registered the device for development. My app works as expected when played to Google Chromecasts, however when attempting to load the receiver app on the LG device I get the following error:
{"reason":"NOT_FOUND","requestId":1,"type":"LAUNCH_ERROR"}
Thinking that perhaps 3rd-party devices can't be registered for development, I went ahead and published my app. Unfortunately this did not address the problem.
Upon further investigation, I'm noticing that other Google Cast apps (i.e. Songza, TuneIn, Pandora, etc. on both Android & iOS) aren't able to play to the LG Music Flow H3 either.
I discovered that the only way to get the H3 to play from Google Cast apps (both my app and others) is to first run the LG Music Flow multi-room audio app. Running the LG Music Flow app appears to effect the device's _googlecast._tcp zeroconf service discoverability. And sometimes the H3 shows up in zeroconf yet you still can't play to the speaker unless the LG Music Flow app is running.
This seams like very strange behavior. I called LG Tech Support, and they recommended I return the device and exchange it for a different one. I did this, and I still get the same result.
Is this how Google Cast on 3rd-Party devices is intended to work? Have I encountered a buggy 3rd-party implementation?
This is not the intended behavior for sure. You are supposed to be able to launch your 3rd party application on the speaker.
And it works for me.
The fact you are not able to use any other 3rd party apps (TuneIn, Pandora etc) indicate this is a some general problem and not specifically with your app.
Couple of steps I would try:
- Setup you H3 speaker on Wifi (vs Ethernet) and get the latest SW version using the Music Flow app.
Have you Factory reset the device? if you did, you will need to go through setup again. I have noticed Google Cast becomes enabled only after first complete setup.
Please try rebooting, and than try casting apps like TuneIn or Pandora and than see if this works (without using the MusicFlow app). I have noticed in the past that if some app is loaded and is behaving badly (for example uses tons of memory) it will put the speaker into a bad state that don't allow any app to work until reboot. So perhaps when you are casting your app, it gets into a bad state causing other apps to fail afterwards.
Have you made sure not to consume to much memory? avoid graphics or video?

Vungle plug-in for Corona sdk playing ad over my background music?

Hi i am implementing vungle using the plugin for corona sdk.
The video shows fine but the advert plays over the top of my background music / sound.
I have tried calling audio.pause and audio.setVolume(0) before the advert is shown but that doesn't work, even if i call audio pause or setvolume and then show the ad wih a second delay.
The audio is paused but then resumes when the advert plays one second later.
E-mailed vungle but haven't had a reply.. I saw a post on the dev forums about it but it had no replies so i know other people have had the same problem just wondered if anyone has a solution?
Thanks!

Resources