Interpreting Sentences

~category.description~

All Categories

I keep getting the error "Unable to connect to NLU engine". What should I do?

Go to the **Settings** → **Apps** menu in Home Assistant, open Sophia NLU, and click the **Log** button. You should see a line that says `starting Wyoming server, listening for connections on IP_ADDRESS:10520...`. Copy that IP address down, then go to the **Settings** → **Devices and Services** menu, open the Sophia NLU configuration, and enter the IP address. It should begin working properly after that.

When I say "turn all the lights on", nothing happens.

Sophia will never execute universal commands such as "turn on all the lights". When you send a universal command, it will try to determine the area you're in based on the smart speaker being used and use that area. If it's unable to do so, it will say it's unable to understand the message. Make sure to include an area or floor in your command.

Sophia picked the wrong device. How can I fix that?

First, make sure the entity isn't hidden or disabled, and that the **should expose** setting is on. If that doesn't work, you can resolve this the majority of the time by simply tagging the necessary devices. Visit the **Entities** menu in the Sophia web interface, find the device, and enter a comma-delimited list of tags; it should begin working. If it still doesn't work, or if you believe it's a bug, submit the sentences and say "no, that's wrong" after each one. Then, via the **Log** menu in the Sophia web interface, click the **Upload** button. If you would like a response to your misinterpretations, contact customer support and let them know you've uploaded some misinterpretations.

Will Sophia detect what area of the house I'm in?

Yes. If the smart speaker you're using is assigned to an area, Sophia will use that area when no area is specified in the sentence.

Why does Sophia still choose an intent when I send a general sentence that doesn't make any sense?

Sophia is designed to aggressively try to match your sentences to a smart home intent. If it can find even a partial match to an intent or entity, it's going to use it. This behavior won't be scaled back, because doing so would cause more problems than it would solve.

How can I confirm Sophia is properly installed and setup?

Send in the message "version check". If Sophia is properly installed and configured, you will get a response stating it's Sophia from Aquila Labs and the version number. If you do not get the response, please check your voice assistant settings and ensure both, the app and integration are correctly installed.