kakopappa / sinric

Amazon Alexa Smart home skill / Google Home Action for ESP8266 / ESP32 / Arduino
https://sinric.com
285 stars 166 forks source link

Option for Device capabilities #85

Open saikhurana opened 6 years ago

saikhurana commented 6 years ago

it would be really nice if there can be an option to select the device capabilies. for example light has many capabilities(color, brightness,colour temerature) it would be really nice if we could select the device capabilities on the sinric website. hope you can make this happen @kakopappa

kakopappa commented 6 years ago

Thanks.

I am thinking of adding a device type called custom where you can select the capabilites for GH and Alexa.

This feature going to take sometime because I am fouced on getting a very basic version of Android app out soon.

saikhurana commented 5 years ago

Any Updates @kakopappa

qwandor commented 5 years ago

Hi, any progress on this? For the Google Smarthome API it would be really helpful to be able to specify device traits independently of the device type rather than just having the default set. For example I want to be able to have several lights, some of which can only be turned on and off, some can control the brightness, some can control the RGB colour. Currently any light shows up in the Google Home app as having all these controls available even if they won't actually work.

I'd be happy to send a patch to help implement this, but I can't see the code for the web service anywhere. Is it on Github somewhere?

kakopappa commented 5 years ago

@qwandor thanks for your input.

I looked at implementing this feature few months ago. Existing code / desgin requires a lot of modifications to accomate this feature and might break the existing work clients. So I gave it up.

Now I am working on Sinric 2.0. I have redesinged Sinric and writing the code from ground up with the lessons I have leanred during the past year. I have added this feature to the new version already. I will update this issue again when it's ready.

qwandor commented 5 years ago

Can I help at all, either testing or contributing to the code?

kakopappa commented 5 years ago

@qwandor Sure. I will let you know when it's ready for beat testing.