Giter Club home page Giter Club logo

snips-fhem's People

Contributors

benedikt-bartscher avatar jowe2 avatar mark078 avatar ms0mmer avatar thyraz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

snips-fhem's Issues

'leiser' doesn't work

Hi,
first let me say "Thank you" for this great project!!!
I have installed snips-fhem and got it working. But one thing seems not to work correct in my installation: when I say ".... lauter" it works (detected intend Thyraz:SetNumeric), but when I say "... leiser" it doesnt work (detected intend Thyraz:SetOnOff)

from watching: "lauter" is working

[11:02:24] [Nlu] was asked to parse input "fernseher lauter"
[11:02:24] [Nlu] detected intent Thyraz:SetNumeric with confidence score 0.382 for input "fernseher lauter"
Slots ->
Change -> lauter (confidence: 1.000)
[11:02:24] [Dialogue] New intent detected Thyraz:SetNumeric with confidence 0.382
Slots ->
Change -> lauter (confidence: 1.000)
[11:02:24] [Nlu] was asked to parse input "standardgerät lauter"
[11:02:24] [Nlu] detected intent Thyraz:SetNumeric with confidence score 0.422 for input "standardgerät lauter"
Slots ->
Device -> Standardgerät
Change -> lauter
[11:02:24] [Dialogue] was ask to end session with id f7901edd-bfae-4c81-8b19-7f61f438d2d5 by saying 'Ok.'
[11:02:24] [Tts] was asked to say "Ok."

and "leiser" isnt working:
[11:02:33] [Nlu] was asked to parse input "fernseher leiser"
[11:02:33] [Nlu] detected intent Thyraz:SetOnOff with confidence score 0.556 for input "fernseher leiser"
Slots ->
Device -> Fernseher (confidence: 1.000)
|-> (alt) Fernseher
|-> (alt) Fernseher
[11:02:33] [Dialogue] New intent detected Thyraz:SetOnOff with confidence 0.556
Slots ->
Device -> Fernseher (confidence: 1.000)
|-> (alt) Fernseher
|-> (alt) Fernseher
[11:02:33] [Nlu] was asked to parse input "standardgerät leiser"
[11:02:33] [Nlu] detected intent Thyraz:SetOnOff with confidence score 0.702 for input "standardgerät leiser"
Slots ->
Device -> Standardgerät
[11:02:33] [Dialogue] was ask to end session with id 77514bc1-91e4-4b44-aab6-aeb84c3e6788 by saying 'Da ist etwas schief gegangen.'
[11:02:33] [Tts] was asked to say "Da ist etwas schief gegangen."

Also when I'm on https://console.snips.ai/assistant/proj_Ny2w04OKrZN/edit
and I try to test "lauter" I get:
{
"input": "lauter",
"intent": {
"intentName": "Thyraz:SetNumeric",
"confidenceScore": 0.3404139
},
"slots": [
{
"rawValue": "lauter",
"value": {
"kind": "Custom",
"value": "lauter"
},
"range": {
"start": 0,
"end": 6
},
"entity": "de.fhem.ChangePercent",
"slotName": "Change"
}
]

and when I test "leiser" I get:
{
"input": "leiser",
"intent": {
"intentName": null,
"confidenceScore": 0.30528286
},
"slots": []
}

What can I do, so it works correct?
thx and regards
raimund

possible Problem with snipsMapping?

Hi
switching a hue light on and off works fine.
but setting a numeric to control pct seems not to work.

My attributes are

SnipsMapping with 2 lines:

SetOnOff:cmdOn=on,cmdOff=off
SetNumeric:currentVal=pct,cmd=dim,minVal=0,maxVal=99,step=25,type=Helligkeit,map=percent

snipsName & snipsRoom are also filled correctly.
device is in room Snips.

Since new syntax I was not able to find some usefull examples in FHEM blogs.
Any incorrect syntax in my example?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.