Self-made Matter device can't be commissioned by Google Home - iot

I'm building a Matter light bulb. My light can be commissioned by Apple Home app, with Apple TV as home hub; and I can control it on-off or dimming.
But the problem is my light can't be commissioned by Google Home app, with Google Nest as hub.
The error says something about my phone wasn't connecting to WiFi, but actually it did connect fine. And everything else are setup correctly, I think.
So if any encounter the problem like that? And what can I do to overcome it.
Here's my checklist before commissions:
On my phone:
Android: 8.1.0.
Developer Options: turned on.
USB Debugging: turned on.
Google Play Services: com.google.android.gms.home [v225014000], com.google.android.gms.threadnetwork [v225014000]
On my hub:
Hub type: Google Nest Hub 2nd gen
Chromecast firmware version: 1.56.324896
On my light:
Vendor ID: 0xFFF1 (as in default CHIPDeviceConfig.h)
Developer Project: created
My screenshot of Developer Project created
My CHIPDeviceConfig.h: https://drive.google.com/file/d/1x_5NDoKkxW1Un_8NO3biwUlYF5BqCe-Z/view?usp=sharing
My log of commissioning: https://drive.google.com/file/d/1qMMCxS2dZWkbZNYRENJ7wiZrTC0UTxVL/view?usp=sharing

Related

Is it possible to create a custom kiosk app for Google Home Hub?

Looking at the Google Assistant developer platform docs, and perhaps I missed it. What I would like to do is essentially build a kiosk "app" -- one that is up on the screen by default. E.g. when you go to Best Buy and they have their demo app up on the computers as you shop.
So, on a Google Home Hub device that this app is installed on, it would be the "default" app -- like how photos show up after a period of inactivity.
Is this possible?
No, the platform does not have a way for third-party developers to build an application that runs on the "homescreen" nor is there a way to change the homescreen application.

Is there an way to Inspect a broken link in an app?

We have an iOS app that has a Watch Tutorial link to our website. We recently migrated our website and the page it points to is now showing a 404 error. We need to know what page the link points to so we can redirect it. Unfortunately in the app it just opens link to the page in the actual app and not in safari or any other browser so we can't see the website link.
Is there a way to "inspect" the link in our app like you can in a browser to see where it is pointed to? Maybe some debugging software that can pull the app down and let me look at it? Our app developers are unavailable right now and we want to get the app up and running correctly.
You can try with the Safari Web Inspector (Safari mac remotely debugging on an iPhone app/safari).
With this approach, you can inspect from you mac, any WebViews (or related) in actual apps.
Note : It won't work if you app make the request, but does not use web view to display the page.
See any tutorial on how to enable safari web inspector
Maybe some debugging software that can pull the app down and let me look at it?
You can use a web proxy such as Charles to easily see all the traffic going to and from the app:
Install the proxy software on your computer.
Set the device to proxy through your computer.
If needed, install SSL certificates that will let the proxy see the contents of TLS connections.
Fire up the proxy, launch the app, and watch the traffic.

What is the UX on an ANDROID device for the user hitting a maps.apple.com location link?

I can't find anything else on this topic, but suggested links are appreciated :)
A piece of code I'm reviewing, on an iPhone but without Apple Maps (which was deleted), is written as follows: http://maps.apple.com/?q=1.541354,104.265101
On a DESKTOP DEVICE (because the site I'm hitting is a responsive design), that link works and redirects to the intended destination, but does so on GOOGLE MAPS (since Apple Maps is a native iOS app and doesn't have a desktop web version).
HOWEVER, on my Apple 6s running latest iOS 12.0 variant, where I (like millions of other iOS users) have long-since deleted APPLE MAPS so as to make Google Maps my default, the screen shot that I pasted below appears:
REINSTALL APPLE MAPS message
Here is the text:
"Restore 'Maps'?
You followed a link that requires the app "Maps", which is no longer on your iPhone. You can restore it from the App Store.
[OPTIONS] Show in App Store Cancel"
SO, contrary to the upvoted answer from 2014 above, the maps.apple.com link does NOT redirect on Apple iPhones.
IT does redirect on desktop.
QUESTION 1: What is the UX on an ANDROID device for the user hitting that same link, who of course wouldn't be expected to have APPLE MAPS app installed?
QUESTION 2: What's the solution? The developer has to recode all map links to remove "maps.apple.com" links?
Thoughts? Thank you.
=======================

Open installed PWA from external url

Is there any method to open website (PWA) urls in the installed PWA in iOS- Safari?
Use case: I'm sending email links to login in my PWA, how can I make this url's open directly with the installed PWA instead of the browser?
If you are using Chrome in Android or any of the desktop OS, that would be the default behavior.
Check on "Android intent filter" in this link.
This feature is not supported in iOS yet for PWA apps(created using Safari- the only option for iOS as of June-2018).See "What PWAs can do on Android and not on iOS" section last point.
For iOS, there is actually a very unknown way which you can install a .mobileconfig profile which installs a web clip (or multiple web clips if you like).
This will run your website in fullscreen and is very similar to how iOS PWAs work. You can also link to it online or send it as an Email attachment for your users to install.
Just make sure you add this for the webpage to open fullscreen:
<key>FullScreen</key>
<true/>
You can read more about creating your own from scratch here:
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/ConfigurationProfileExamples/ConfigurationProfileExamples.html
or if you have a Mac you can get the "Apple Configurator 2" App:
https://apps.apple.com/us/app/apple-configurator-2/id1037126344
or you can take the easy route and use a generator here if you don't have a Mac:
https://webclip.glitch.me/
It is possible to open PWA if already installed in desktop?
I have installed the PWA applicaiton now I want to trigger the open with prompt from chrome engine

iOS chromecast app connecting but not launching with new framework

Hello I am trying to cast the demo videos for iOS in the github reporitory.
When running CastHelloVideo-ios I see that the program finds the device, conects to the device but it never launches the page. I have the same issue with the other samples in the repository.
The only one that was able to run one time is CastHelloText with Application Id "588BF969". Then I tried to create another application ID "70138F0B" for the same project and it doesn't launch the page, this is the log.
2014-02-06 16:46:20.862 HelloTextGoogleCast[8798:60b] device found!! CVC Off
2014-02-06 16:46:20.866 HelloTextGoogleCast[8798:60b] device found!! JBcast
2014-02-06 16:46:22.873 HelloTextGoogleCast[8798:60b] Selecting device:JBcast
2014-02-06 16:46:24.348 HelloTextGoogleCast[8798:60b] connected!!
NO LOG LAUNCHING THE PAGE
PLEASE HELP, what can I be doing wrong if is the same URL for both Application ID's, from the same application. AND yes, I replace kReceiverAppID for each case!!
Thank you
Have you registered your device for your appId on the developer console? Since the 588BF969 app id works (that is a published app Id, meaning that it is allowed to run on all devices) and your app Id doesn't work, I suspect the issue is in your device registration. Please
(1) Double check the serial number of your device on the developer console to makes sure it matches your device's serial number
(2) Makes sure you have checked the box that sends the serial number to google (this is in the setup application for your chromecast). Also try to connect to http://:9222 from a chrome browser on your network to see if your device is whitelisted
(3) Reboot your chromecast to make sure it has picked up the new configuration.
To answer my own question and reply to previous reply, non of my applications in the developer console are published yet, and the serial number in the device is fine because it work for one but not for the other one. Also the box that sends the serial number to google was checked.
The problem seems to be some cache, and it is very easy to fix:
1) find device IP on the settings app and got to chrome browser, enter Device IP plus port 9222, and you would see a white page that says "Chromecast Home Screen"
2)Click on "Chromecast Home Screen" and you will see another screen, look for "console" at the top and click on it
3)Finally enter this command: window.location.reload();
Thats it, after doing this, all my apps start working and if I need to change one of the URL address I do this to refresh and load the new URL.
Thank you
The configuration of allowed apps is cached on the device. When I make changes in the Developer Portal I usually just reboot the device.

Resources