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

Create object according to capabilities of device #19

Closed
Marty56 opened this issue Jul 23, 2018 · 7 comments
Closed

Create object according to capabilities of device #19

Marty56 opened this issue Jul 23, 2018 · 7 comments

Comments

@Marty56
Copy link

Marty56 commented Jul 23, 2018

I note that some Alexa device do not support e.g. the speak command.
It would be great if the related objects would not be created if the capabilities do not support command.

@Apollon77
Copy link
Owner

Apollon77 commented Jul 23, 2018

Check 0.2.4 from yesterday.

It is great if would know the meaning of all of the capabilities... do yo know them?!

So please reopen after checking 0.2.4 with details of things not working together with details of the devices.

Repository owner deleted a comment from Marty56 Jul 23, 2018
@Marty56
Copy link
Author

Marty56 commented Jul 23, 2018

OK. Summary of my findings:
Alexa Speakers have the capabilities
DREAM_TRAINING,CUSTOM_ALARM_TONE,POPTART,EARCONS,PAIR_BT_SINK,DEREGISTER_DEVICE,LEMUR_ALPHA,ACTIVE_AFTER_FRO,SUPPORTS_SOFTWARE_VERSION,PERSISTENT_CONNECTION,CHANGE_NAME,FAR_FIELD_WAKE_WORD,PAIR_BT_SOURCE,TIMERS_AND_ALARMS,GOLDFISH,AUDIO_PLAYER,VOICE_TRAINING,FLASH_BRIEFING,UPDATE_WIFI,SALMON,PANDORA,I_HEART_RADIO,SUPPORTS_CONNECTED_HOME_ALL,SET_LOCALE,REQUIRES_OOBE_FOR_SETUP,DEREGISTER_FACTORY_RESET,SLEEP,VOLUME_SETTING,AMAZON_MUSIC,SUPPORTS_CONNECTED_HOME,TUNE_IN,REMINDERS,PAIR_REMOTE,AUDIBLE,SOUND_SETTINGS,KINDLE_BOOKS

  • Everything is working but
  • volume control does NOT work for Routines and for everything which is started under Commands

a Songs Speaker which has the capabilities:
AUDIO_PLAYER,SUPPORTS_CONNECTED_HOME_CLOUD_ONLY,AMAZON_MUSIC,TUNE_IN,PANDORA,REMINDERS,I_HEART_RADIO,CHANGE_NAME,VOLUME_SETTING,PEONY.

  • The player commands and also tuneIn is working.
  • everything which is under Command is NOT working
  • Routines are NOT working
  1. a multiform group which has the capabilities:
    AUDIO_PLAYER,AMAZON_MUSIC,TUNE_IN,SALMON,AUDIBLE,PANDORA,I_HEART_RADIO,KINDLE_BOOKS,VOLUME_SETTING
  • The player commands and also tuneIn is working.
  • everything which is under Command is NOT working
  • Routines are NOT working

hope this helps.

@Apollon77
Copy link
Owner

thank you, will try to make things better.
Did you already tried 0.2.4 and deleted objects?
In 0.2.4 in some cases already Bluetooth/Commands/Routines should already not be created

@Apollon77 Apollon77 reopened this Jul 23, 2018
@Marty56
Copy link
Author

Marty56 commented Jul 23, 2018

Ok. I have delete all object and restarted the adapter.
I see that in Sonos case the Commands and the Routine objects are regenerated.
In the group although they are now rightfully missing. Although of course it would be great if the could reappear working :-)

@Apollon77
Copy link
Owner

Although of course it would be great if the could reappear working :-)
The adapter can only do the things the app can do too. They are just not supported.

Yes Sonos I need to "detect" ...

@Apollon77
Copy link
Owner

Ok, bevor ich rausfinde welche der Capabilties für was verantwortlich sind machen wir es hart coded nach Typ:

const knownDeviceType = {
"A3S5BH2HU6VAYF": {name: "Echo Dot 2.Gen", commandSupport: true},
"AB72C64C86AW2": {name: "Echo", commandSupport: true},
"A7WXQPH584YP": {name: "Echo 2.Gen", commandSupport: true},
"A10A33FOX2NUBK": {name: "Echo Spot", commandSupport: true},
"A1NL4BVLQ4L3N3": {name: "Echo Show", commandSupport: true},
"A15ERDAKK5HQQG": {name: "Sonos", commandSupport: false},
"A2E0SNTXJVT7WK": {name: "Fire TV V1", commandSupport: false},
"ADVBD696BHNV5": {name: "Fire TV Stick V1", commandSupport: false},
"A2LWARUGJLBYEW": {name: "Fire TV Stick V2", commandSupport: false},
"A2T0P32DY3F7VB": {name: "echosim.io", commandSupport: false},
"AILBSA2LNTOYL": {name: "reverb App", commandSupport: false},
"A2M35JJZWCQOMZ": {name: "Echo Plus", commandSupport: true}
};

@Apollon77
Copy link
Owner

So lange bis jemand genauer weiss wie die capabilities sind ist es ongoing mit dem sammeln von deviceTypen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants