Hub requirement for building matter virtual or physical device - google-smart-home

The code lab at (https://developers.home.google.com/codelabs/matter-device-virtual?hl=en#0) lists the requirement for "a hub, which is any Google Nest device that supports Matter, such as the Nest Hub (2nd generation)".
At this page: https://support.google.com/googlenest/answer/12391458?hl=en
It is listed that following devices can work as a hub.
Wi-Fi routers: Nest Wifi Pro (Wi-Fi 6E)
Speakers: Google Home, Google Home Mini, Nest Mini, Nest Audio
Displays: Nest Hub (1st gen), Nest Hub (2nd gen), Nest Hub Max
In the first link it is mentioned a nest device can act as a hub.
In the second link, it is mentioned google home/home mini can act as a hub but I guess the home/ home mini is not nest.
So I was wondering whether a device such as google home mini or google home can work as a hub in the code lab. I guess google home/ home mini is not nest.
I am trying to find a cheaper option therefore I was wondering if home/home mini can be used as a hub.
Thank you very much for your support.

Related

p5js device orientation not working on my website

I'm trying to build mobile web applications using p5js, and I want to host them on my personal website. In particular I want to use the phone's gyroscope sensors to influence parts of my sketch. However I find that the sensors don't return anything useful when testing on my own site. Please can anyone find the solution, or else advise me how to troubleshoot?
Some details
My website is hosted on github pages (link to repo)
My phone is an Oppo A9 2020
Android version 11
I'm testing these websites in android chrome
Example 1:
I've got this sketch called GyroscopeTest. The program hosted on the p5.js web editor works just fine (the device orientation values are updated). However the same program hosted on my personal website doesn't update the values properly.
Hosted on p5.js web editor
Hosted on my website
Example 2:
This is a simpler example. Here's someone's example of using the gyroscope sensors on their website, which works fine on my mobile. I copied the html and javascript sketch over to my own website (removing a few lines of html that were causing minor problems). And on my website it doesn't work.
Hosted on someone's website
Hosted on my website
After more digging I found that the issue was because my website was served with http, not https, which has extra security stuff!
Clearly these other websites were served with https, which is why the sketches wored o nthose sites and no my own.
Because I had not enabled https, chrome deemed the website unsecure, and thus did not allow the website access to the phone's sensors. Changing the site to https also allowed other sketches to access the phone's camera.

iOS Universal link support in salesforce

We are looking to deep link our mobile application from Web page.
As per apple's documentation it require to have apple-app-site-association json file at root of https://xxx-salesforce.com/
Can anybody tell me how to place apple-app-site-association json file at root of salesforce domain?
We are using a visual force page where we want to put our app links.
Regards,
Manish Kumar
You write that you are interested in deep linking into your mobile application from a web page. As you mention the AASA file, you must be talking about an iOS app and not an Android app. Check this link for a good overview of what is required to set up deep linking to iOS apps: https://blog.branch.io/how-to-setup-universal-links-to-deep-link-on-apple-ios-9/. Note that you would have to configure your own AASA file and host that on your own domain, not the Salesforce domain. You would then be able to use the deep links you create on Salesforce pages - or any other web pages, for that matter.
If I have misunderstood and you are actually hoping to deep link into an app that has been written by Salesforce, well this is a situation where Salesforce themselves would need to host the AASA file and configure the iOS project to support the deep linking scheme. This is something that only Salesforce is in a position to do.

Mobile detection in a website

I want a scenario where in I have a website and when I connect my mobile device to my pc or laptop, the website must be able to detect the phone and not the phone browser. As in it should detect if my phone is an iphone or any other mobile device. How can I achieve this?
Basically if I have a downloadable application and a list of compatible devices and when a device is connected, a compatibility check needs to be done and the software has to be downloaded directly! Is this possible?
you must build an APP and not a WebAPP or website.
the browser cant send relevant information such MacAddress or IMEI then you cannot do it with a simple website.
In javascript you can detect navigation browser and it has some extra information about the kind of device (like Android, Motorola, etc). For example this.

What is the code used to redirect to mobile site and where does it go?

here is my what I am trying to do.
I have a .mobi site wayfieldfoods.mobi that is set up on a wordpress format. I am using a plugin that make the site mobile with custom menu wayfieldfoods.mobi/mlp/home.
my clients website is wayfieldfoods.com . How do I add (or redirect) wayfieldfoods.mobi to my clients site? if someone is using a mobile device and types in the url wayfieldfoods.com, I want the mobi site to display instead of the regular wayfieldfoods.com desktop site.
I spoke with someone earlier and they said that it's a code that has to be installed on the index page of my clients wayfieldfoods.com website in order for mobile access to the mobi site.
What is the special code needed to redirect to mobile traffic to my wayfieldfoods.mobi site.
(as a side note wayfieldfoods.mobi shows up on a desktop computer as a regular wordpress site with the default twenty eleven theme, but wayfieldfoods.mobi displays on a mobile phone with the mobile friendly website I set up. It works fine displayed on a mobile phone).
You can use Handset Detection to redirect mobiles to your mobile site (disclaimer : my startup). Browse on over and create a free account. There's a javascript snippet you paste into the of your homepage.
Hope that helps.

What link to use on the web to make bada install an application?

Please help me with one thing: I need to be able to forward a bada device to a certain application store page. This page should let the device to install the application using its native installation method, just like Android market or iTunes.
Granted that I know the link to my application on the web, where do I get the link to forward the device to?
I've tried to use the simulator's WebViewer application on the Samsung Apps site, but it can't even find the application that I want to link to.
please take a look at the links below.
using the namespace Osp::Commerce::Store, you can call the Samsung Apps within the app and encourage users to install apps via Samsung Apps. Hope it works for you.
http://developer.bada.com/article/Try-Purchase-using-In-App-Purchase
http://developer.bada.com/article/Implementation-Guide-for-Samsung-Apps-Try-and-Purchase-Feature

Resources