question

geeklink avatar image
geeklink asked

Can i custom smarthome api?

Alexa.ConnectedHome.Query can query smarthome device's state,but now only support quering lock state or temperature.If i want to query humidity of device or the state of door-sensor,how should i do?can you help me?

alexa smart homehelpdevices
10 |5000

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

1 Answer

davorin avatar image
davorin answered

Other queries are not supported ins mart home skills (atm).

For example we use in addition to smarthome skill a custom skill to extend functionality for our devices...

In your case you could write a custom skill to behave like:

"Alexa, ask myskill to get humidity of device mydevice".

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.

geeklink avatar image geeklink commented ·

thank you very much.I know how to solve this prolem.If i want to use more smarthome api,i should write the intent in the custom skill.Because the smarthome kill writen by Amazon doesn't cover everything i want.

0 Likes 0 ·