Home Community Blog Buy Now
Blog

Misty Community Forum

Application Template: Misty Concierge Template

The Misty Concierge Template is an open-source, community-maintained JavaScript skill template for Misty II robots. As a Misty developer, you can use this template to quickly build and deploy skills that put Misty to work as a concierge for your business.

Repository Contents

The Misty-Concierge-Template repository provides templates for building a concierge skill using Misty’s JavaScript and .NET (Beta) SDKs. It includes the following subdirectories:

  • JavaScript - The original JavaScript implementation of the Misty Concierge Template, built with Misty’s JavaScript SDK. Use the README in this directory to get started with the JavaScript version of the template.
  • C# - A C# implementation of the Misty Concierge Template, built with Misty’s .NET SDK (Beta). Use the README in this directory to get started with a C# version of the template.

The skill templates in this repository integrate with Dialogflow and third-party APIs to give Misty the ability to answer questions about nearby food, services, and places. As she listens and responds, Misty moves her head and arms, blinks her LED, plays sounds, and changes her expression to invite engagement and create an interesting experience for the people who speak to her.

The README files in the JavaScript and C# directories provide all of the information you need to set up your Dialogflow agent and update the templates for use with your own Misty II. As this is an open-source initiative, you can find contribution guidelines in the README at the root level of the repository. If you’d like to work on open issues, improve this documentation, add examples built on other services, or have ideas for other ways to advance the project, we hope you’ll submit a pull request!

We hope to see this thread become an active hub for brainstorming and collaboration on the future of the concierge template. This post is set as a wiki, so it can improve with contributions from the Misty community. Feel free to edit or add information as the template grows!

6 Likes

Hey Jonathan & team. Great job on this template. Was able to get the Concierge template up and running. In Google Cloud I combined this with the Conversation intents shared by @cameron It’s working 90% and I often have to say “hey misty” at least twice. Encountered one roadblock in the function _UpdateAuthToken where I was getting an undefined token. Replaced the misty.Set… statement with 2 lines from Cameron’s code. His JSON.parse refers to a response.accessToken instead of .authToken in the template. Not sure if anyone else will have an issue there. Look forward to sharing more and discussing in the Uplink session.

1 Like

Thanks for sharing this template! Was able to get through the README, create accounts, and load the skill. I did not make the change suggested above by @cgkocks. Tested and Misty responds better than half the time with proper response.

I did not have either a Dialogflow or Foursquare account, so had to set up. This was not too bad, but did take a little time. For the Dialogflow Google account a credit card is needed. I am worried that Misty will go crazy (because of my silly programming bug) and max out the card - but it appears that Google will warn me before any charges happen. When opening each account I had to go through a captcha test. Luckily they were asking me to verify “I am not a robot” and not “I am not doing this for my robot” !!! :grinning: :robot: !!!

One Question: Should the credentials be stored in the JSON file? In previous example skills they have been.

The first change I can think of is to have Misty read a GPS sensor (through the backpack serial port) so that the location does not need to be typed in and will change as Misty travels.

Again, thanks for the awesome template!

3 Likes

This is typically what I recommend, as I find it makes credentials management easier for me – but in this case the developer who created the template took a different route, and used the misty.Set method to store the credentials in Misty’s database, which offers the ability to make the credentials generally available to other skills that might use the Dialogflow / GCP resources.

Exciting news! Community developer @wspeerbrecker has contributed a C# implementation of the concierge template to the Misty-Concierge-Template repository. @wspeerbrecker’s implementation gives Misty’s C# developers a version of the template to work with, and adds features that don’t yet exist in the JavaScript version of the template. This C# implementation is now available on GitHub.

https://github.com/MistySampleSkills/Misty-Concierge-Template/tree/master/C%23

Thanks @wspeerbrecker for sharing your work with the Misty community!

Feel free to contact me on the forum if you need help setting up and configuring the C# implementation. I will gladly help anyone interested in using the template.

Wes

1 Like