sinricpro / esp8266-esp32-sdk

Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
https://sinric.pro
Other
230 stars 124 forks source link

InputMode in Smart Speaker. #60

Closed hectord137 closed 4 years ago

hectord137 commented 4 years ago

Hi. I have implemented a Smart Speaker device. But in the functions available for that type of device, InputMode is not found. Most devices of this type have multiple inputs. In the SmartTV device class, the InputMode can be controlled. But how can I do it for a Smart Speaker? In case this function is not available, it would be a good idea to implement it.

kakopappa commented 4 years ago

I will update the server and let you know

On Thu, 23 Apr 2020 at 1:03 PM Boris Jäger notifications@github.com wrote:

Assigned #60 https://github.com/sinricpro/esp8266-esp32-sdk/issues/60 to @kakopappa https://github.com/kakopappa.

— You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub https://github.com/sinricpro/esp8266-esp32-sdk/issues/60#event-3263501163, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZTCEVPAO5GPBD5MBSLRN7KZJANCNFSM4MOYKNAA .

hectord137 commented 4 years ago

Thank you very much dear. I will be waiting for the update of the server and the library.

sivar2311 commented 4 years ago

SDK implementation is done in dev-2.5.0 branch.

hectord137 commented 4 years ago

Hello dear. I have already tested its implementation. I had a problem compiling. Missing declaration of the "void onSelectInput(SelectInputCallback cb)" function within the class. After adding and testing, everything worked fine. code

sivar2311 commented 4 years ago

Hi Hector! Thanks for pointing this out. SDK has been fixed (still in dev branch).