r/GoogleAssistantDev • u/RoyceAI • Mar 17 '20
Hotel Rooms Google Mini
We have partnered with a Hotel and will be deploying one Google Mini device in each hotel room.
Our Main objective is to catpure requests for housekeeping items like "I need Water" or "I need breakfast" or "I need a margaritta Pizza". We want our action to be activated and then simply ordered.
How can I configure each mini for each room and identify the room from the request that we get from Google. How can we achieve this?
We will be piloting with 50 room having 50 minis. How do we configure a mini and a room so that when the user from room 121 says "I need water", we can know that the water is to be delivered in room 121?
1
u/RoyceAI Mar 18 '20
Thank you all for the responses. For now we have implemented a way that we configure one email ID for each room Mini. That way identifying email ID allows us to know which room it has come from. It is not an elegant solution though. A problem with that approach is, that Google Account creation requires phone verification and you can not create more than 4 email IDs for each phone number. If we have to create 50 email IDs for 50 rooms, we need so many cell numbers for verification. I am wondering if there is a way to create bulk email IDs on GMAIL without needing so many cell numbers?
1
u/RoyceAI Mar 18 '20
I saw a video on on Alexa where exact same flow is implemented. The guy just says "Alexa, open One Touch" and then to One Touch it says "I need a water bottle". Alexa skill identifies which room it is and sends sms with the room number. So alexa already supports an easier way of doing it. I wonder how Google can do it. I do not want to switch to Alexa.
1
1
u/msomasundaram93 Mar 17 '20
When you are using a Google Home Mini and using a Action, the action would receive details only about the user. In fact there wouldn't be any difference when the user uses the Google Home Mini or his mobile phone. And even if you find a way to crack this how would you manage signing in for a Google home mini and signing out, I don't think people would do that in first place when staying at a room.
The better solution for this implementation would be use a Raspberry Pi 3 with a mic and Speaker and take advantage of Google Assistant SDK.
You can refer https://developers.google.com/assistant/sdk/guides/service/python for more information.
1
1
u/jbx028 Mar 17 '20
Google should definitely think about such functionality. Account linking is too way complex and as you said nobody will make the effort to do it. The advantage of voice over any other type of interactivity is simplicity. Exposing a device id, the mac address or whatever else, would give opportunities to build microservices.
1
1
u/fleker2 Googler Mar 17 '20
You would probably want a different user account for each room that is preconfigured with account linking. Then you can create a series of routines for each account which will in the background trigger your action to what you want with the associated user account.
1
u/RoyceAI Mar 18 '20
Yes we do that however the problem I mentioned in another comments is that google does not allow creating too many email IDs using the same cell number. That means we have to have so many cell numbers to verify creating email IDs. If we have to scale to hundreds of rooms, we will end up needing hundreds of cell numbers to create email IDs on GMAIL. Is there a way to create bulk email IDs without the need of cell numbers u/fleker2
3
u/jzman21 Mar 17 '20
yikes dude you already sold this solution and don't even know if it's possible lol good luck
2
u/edo78 Mar 17 '20
Be aware of trickster... Someone can set an alarm for the next guest of that room
2
u/NareshMG Mar 17 '20
Assuming you will be using a fulfillment .. the request Json would have an device id ..
Normally google does not provide any identifiable info from what I know (user privacy )
But in your case since it’s all your devices and iof the IDs do not change (assuming google does not change them ) then maybe you can figure out by doing some trials ... but that approach won’t be scalable ... maybe there is some other way .. Replying to follow
👍👍