Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alexa Utterances are not working for Range Name #407

Open
skbpillai opened this issue Nov 30, 2024 · 3 comments
Open

Alexa Utterances are not working for Range Name #407

skbpillai opened this issue Nov 30, 2024 · 3 comments
Labels
stale Issue that may be closed soon due to the original author not responding any more.

Comments

@skbpillai
Copy link

skbpillai commented Nov 30, 2024

Hi, I have set up a Capability with a device template of type Range. The Device Name is "Living Room Fan" and Range Name is "Speed". I have set up values from 1 to 6, and have given preset names too. When I call out "Alexa, set [Living Room Fan] [Speed] to [three]" I get no action, but get a response "Living Room Fan doesn't support that" as a voice response.
I am following the example given below the Range configuration. But still am not able to succeed.
Utterances for Turn On and Turn off are working. Anyhow, utterances for "Toggle" capability is malfunctioning. I am getting "OK" as voice response, but instead of toggling a Setting, it is turning off the device.
Do you know about this issue?

@kakopappa
Copy link
Contributor

From the past experience, I have noticed when toggles and Power state is mixed, it doesn’t work well.

@skbpillai
Copy link
Author

No luck till now... tried several combinations...
Dropped the Toggle capability and tried to use Mode capability.
Within Mode, tried changing the Mode Name and Mode Name to several configurations.
Alexa either changes Powerstate or says "I don't know how to do this setting"
Last version of the code, for your reference.

{
  "name": "FanTemplate",
  "description": "Fan Template",
  "deviceTypeId": "600d0a4994acbe29a9ce1bbf",
  "capabilities": [
    {
      "id": "5ff0b30e994fd31b7d5e865b"
    },
    {
      "id": "5ff0b45f994fd31b7d5e89c2",
      "range": {
        "instanceId": "fanspeed",
        "locale": "en-IN",
        "rangeName": "Speed",
        "minimumValue": 0,
        "maximumValue": 6,
        "precision": 1,
        "unitOfMeasure": "600e7df7a7a09c3f3230f9a4",
        "presets": [
          {
            "name": "off",
            "value": 0
          },
          {
            "name": "one",
            "value": 1
          },
          {
            "name": "two",
            "value": 2
          },
          {
            "name": "three",
            "value": 3
          },
          {
            "name": "four",
            "value": 4
          },
          {
            "name": "five",
            "value": 5
          },
          {
            "name": "boost",
            "value": 6
          }
        ],
        "nonControllable": false
      }
    },
    {
      "id": "5ff0b41b994fd31b7d5e8961",
      "mode": {
        "instanceId": "fanLED",
        "locale": "en-IN",
        "modeName": "Bluelight",
        "nonControllable": false,
        "modeValues": [
          "Glow",
          "None"
        ]
      }
    }
  ]
}

Copy link

github-actions bot commented Dec 9, 2024

This issue has gone quiet. Spooky quiet. We currently close issues after 14 days of inactivity. It’s been at least 7 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder, the best way to fix this or any other problem is to provide a detailed error description including a serial log. Thanks for being a part of the SinricPro community!

@github-actions github-actions bot added the stale Issue that may be closed soon due to the original author not responding any more. label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue that may be closed soon due to the original author not responding any more.
Projects
None yet
Development

No branches or pull requests

2 participants