question

newuser-98a3fc76-570b-4b65-bb29-069de8b30c70 avatar image

Routine with Smart Home - No off option, 1% sends 100

I have a smart home skill that allows the user to setTargetPosition.

When I create a routine in Alexa it gives me a slider to select between 1% and 100%. Why is there no 0%?

Also, whenever 1% is selected it passes a value of 100 to my lambda function. All other values pass their correct value (IE 2% == 2, 99% == 99).

Please help!

alexa smart homeroutineslights
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tsuneki@Amazon avatar image
Tsuneki@Amazon answered

Hi there,

Thanks for posting and having interest in Smart Home Skill.

May I ask what controller are you using with?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

newuser-98a3fc76-570b-4b65-bb29-069de8b30c70 avatar image
newuser-98a3fc76-570b-4b65-bb29-069de8b30c70 answered

Hi, sorry for the delay. This is a custom hardware controller we made. When I watch the JSON responses coming in for commands I see all values from 2-100% are correct. However 1% sends 100%.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tsuneki@Amazon avatar image
Tsuneki@Amazon answered

Hi, you can use PowerController interface to turn on/off your device.

You can use PowerLevelController , BrightnessController or PercentageController Interface to adjust value.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kingmesal avatar image
kingmesal answered

I experience this same problem from an ISY device from the Alexa App. I created a routine which is supposed to turn a set of lights off, but there is no zero percent option within the Alexa app. It first turns the light on then turns the light off. This is a pretty serious "bug".

1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tsuneki@Amazon avatar image Tsuneki@Amazon commented ·

Hi there,

Could you please file a contact us here with your skill ID, account linking ID and password which already connected your device so that we can reproduce the issue for investigation.

0 Likes 0 ·