Using the Semantic Model

I got my ESP-BOX working, which was pretty easy, and it’s talking to Openhab.

Eventually, I would like to set a String to something the person says. I have ChromeCast speakers scattered throughout the house as audio sinks, and clicking a button on a Zigbee appliance causes a pre-defined message to play, like “I’m home”.

So, going to something that I know works:
“Turn on the christmas lights” – works as expected
“Set the christmas lights to on” – doesn’t work. Is there a way in HaBot to set a variable to a particular value?

Eventually, I want to be able to say “ tell everyone I am home”. Where “I am home” gets sent to all of my audio sinks.

My first try is something like this, but after various iterations, I’m not getting anywhere
String voiceString “tell everyone”
My habot text is, “set tell everyone to I am home”

HABot is pretty basic in it’s NLP. It’s scaled to fit along side an OH instance running on an RPi 3.

You will need a more powerful NLP processor to handle this use case or you’ll have to use a rule and create your own NLP processing stuff and what to do with it.