02-01-2024 04:24 AM
In order to allow user to delete an specific device from home app / firestore collection, the only way to remove a device from home app is deleting it "from firestore". If delete device from home app and resync it will appear again. I don´t want do delete the entire colletion and do a relink/discovery again.
Within smarthome, local fulfillment, Node code there is the call: "expressApp.post('/smarthome/delete', (req, res) =>...." This is to delete an specific device, however i don´t know how call from Google home app. The "remove device" icon inside device settings is missing, home app do not show device delete option inside device settings. Not sure if is a JSON message problem during device creation discovery phase.
Thank you if can help!
Answered! Go to the Recommended Answer.
02-02-2024 09:04 AM - edited 02-02-2024 09:04 AM
Thanks for bringing this up.
If your device uses a cloud service for integration with Google Home, you need to manage the deletion from your app. Verify that your app triggers a requestSync with Google Home after deletion using the HomeGraph API's requestSync method. This should prompt Google Home to synchronize and remove the device from your action. When you are returning new requestSync make sure the deleted device is not listed.
For devices that are set up directly in Google Home(seamless or matter setup), deletion happens within Google Home's settings:
Let us know if this helps to solve your issue.
02-02-2024 09:04 AM - edited 02-02-2024 09:04 AM
Thanks for bringing this up.
If your device uses a cloud service for integration with Google Home, you need to manage the deletion from your app. Verify that your app triggers a requestSync with Google Home after deletion using the HomeGraph API's requestSync method. This should prompt Google Home to synchronize and remove the device from your action. When you are returning new requestSync make sure the deleted device is not listed.
For devices that are set up directly in Google Home(seamless or matter setup), deletion happens within Google Home's settings:
Let us know if this helps to solve your issue.
02-02-2024 11:44 AM
02-06-2024 05:48 AM
How can i enable "delete device" within google home app ?