New Nest Cam Disappeared from SDM API - google-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?

Related

Using Presentation API / Google Cast to present a clock website

I've been searching on this for a while. I've read up on the Moz and Google documentation for the presentation API, however, I am unable to cast the website when prompted because it says the TV is "available for specific video sites."
I've searched some more and found that you must pay $5 (which I would be willing to do if I knew it would work) to register a receiver. After searching Stack Overflow for google cast, it seems that nearly everything has been disabled. I've tried putting in an empty video element but it still does not work.
I also see that a receiver is a different html page, but also that it would be uploaded as an Android app (?). I know that the presentation API is a generic presentation API, while Google Cast is specifically for Chromecast it seems. I can't seem to get anything working on any device or method to cast to the TV. I can cast YouTube but that's it. I'm wondering how I would go about getting my clock website castable to a TV. Thanks in advance.
Casting a tab help article doesn't seem to work for me either.
Here are relevant screenshots:
Mozilla Docs Presentation API
Chrome Sample Presentation API
Google Web Docs Presentation API
Google Cast Docs
It seems like you are trying to cast to a Samsung TV. Samsung TVs however don't really support support the real deal Chromecast protocol where you can mirror screens. I think what Chrome does here is when you are watching on supported site like Youtube or Twitch - it will remotely launch the right "App" on your Samsung TV and send over the link. It is however not possible to mirror ANY website.

Nest Camera No longer Triggering

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

Rotate screen orientation on Web App Tizen [TV]

I'm developing a Web Application on Tizen. My application was first developed on other platforms like iOS and Android.
Basically it starts on Landscape mode and plays remote content such as image, video or opens a web page. It has a menu inside the app to offer people the ability to change the screen orientation inside the app manually.
This approach is quite easy on iOS and Android but on Tizen seems it doesn't work that easy.
I'm following Tizen's official documentation which send's us to : https://w3c.github.io/screen-orientation/
But, can't make it work even though I followed steps written on the link above.
This is what I got when I try to rotate:
Trying with :
screen.orientation.lock('portrait-primary')
Error :
Promise {}
index.html:1 Uncaught (in promise) DOMException: The page needs to be fullscreen in order to call screen.orientation.lock().
P.S. The app is already in fullscreen. The error is not relevant.
Do you have any ideas ?
Thank you
For all to those who are still trying to achieve this:
After having a long discussion with Samsung, they claimed that supporting the TV orientation via code is not possible right now (Not sure if it's gonna be implemented in the future).
These restrictions come due to different operability of the hardware components on different orientation.
The only way to rotate your screen is to do it via Samsung's TV Settings so that it can prepare its hardware for the chosen orientation.
There are a special Samsung TVs for Advertising market (Digital Signage series) that are ready to set the orientation of the screen.
I comercial Samsung TV sets Tizen is not able to rotate some kind of elements (as far I know the video object are one of the HTML elements that cannot be rotated)
I've developed some apps for Tizen and for one customer I tried to make a video wall but it was impossible due the firmware limitation of Tizen (it's a marketing strategy in order to avoid having hotel and digital signage capabilities in commercial TV sets)

DialogFlow Google Assistant not storing user data with verified user

I have a Google Assistant action that has been happily storing data between conversations on the conv.user.storage bucket. It has suddenly just stopped working and I am struggling to track down why. The only major change was deploying an alpha release of the action. i have checked and the user is VERIFIED and it returns old stale data when I do a trace.
Is it common for this to just stop working?
I paused the Web Activity control on my Google account, and then started it again. Suddenly the data persistence worked again. That's not great though. That it could just stop like that?

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?

Resources