Probleme : pas de commande fonctionnels sur les appareils passant par smarthome

Alors dans le menu réglage/système il y a éditeur de fichier.
Ensuite il faut naviguer jusqu’à:/plugins/alexaapi/resources/lib/alexa-remote.js
Cliquer sur le fichier et il va s’ouvrir en mode édition
Enfin descendre à la ligne concernée et faire le remplacement puis sauvegarder
ligne 12 : const officialUserAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15';
Et en dernier lieu aller dans le plugin relancer le demon

J’ai bien changé la ligne mais toujours pas mieux :frowning:

je ne comprend pas se qui a pu changer depuis quelques jours sachant que je n’ai rien changer sur jeedom

1 « J'aime »

hello, visiblement c’est plus un souci du coté du service qu’ouvre le plugin.

Le port ne serait pas utilisé par autre chose?

Met toi et niveau de log debug, et refais un cookie manuel et montre nous les logs

Chez moi en changeant la ligne 12 ca s’améliore. par contre il me trouve beacuoup de péripheriques Alexa on this Iphone que je n’ai pas

1 « J'aime »

c’est quel log que tu veux?

0056|[10/29/2022, 1:22:13 PM][] : {API}    ╔═══════[Lancement /SmarthomeCommand avec paramètres -> device: 5fed6057-c1ba-4bb7-8dfc-1e673e512288 & command: setColor
0057|[10/29/2022, 1:22:16 PM]ERROR : {Remote} ║ Souci, le serveur Amazon est bien disponible ? Erreur sur : [APPLIANCE/SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b428281715d01841b2cd2b74cb2]

dans le log alexaapi_node, apres avoir fait un cookie

cela parait correcte, as tu tenter de faire un nouveau scan ?

je test par contre c’est dans node des que je lance une commande :

0056|[10/29/2022, 1:22:13 PM][] : {API} ╔═══════[Lancement /SmarthomeCommand avec paramètres → device: 5fed6057-c1ba-4bb7-8dfc-1e673e512288 & command: setColor
0057|[10/29/2022, 1:22:16 PM]ERROR : {Remote} ║ Souci, le serveur Amazon est bien disponible ? Erreur sur : [APPLIANCE/SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b428281715d01841b2cd2b74cb2]

Bonjour,

Merci de faire l’effort de mettre le code dans les balises prévues à cet effet, c’est illisible autrement. Toujours dans la même idée, il est préférable de privilégier un copier/coller du code qu’une capture d’écran. Merci

Comment nous aider à vous aider - ou Comment poser une bonne question? - Discussions Générales - Communauté Jeedom

pas de souci .

c’est la même chose que le code au dessus, c’étais juste pour montrer visuellement

j’ai un peu avancer, j’arrive a controler les appareil mais impossible de déclencher une scene

0001|[10/29/2022, 2:42:07 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 123398)
0002|[10/29/2022, 2:42:07 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/phoenix/state","method":"PUT","timeout":10000,"headers":{}}  and data={"controlRequests":[{"entityId":"50fdd445-ccf5-4d79-9507-a0bcc1d12727","parameters":{"action":"setColor","colorName":"pink"}}]}
0003|[10/29/2022, 2:42:08 PM]DEBUG : {Remote} ║ Response: {"controlResponses":[{"code":"SUCCESS","message":null,"data":null,"entityId":"50fdd445-ccf5-4d79-9507-a0bcc1d12727"}],"errors":[]}
0004|[10/29/2022, 2:42:10 PM]INFO : {API}    ╔═══════[Lancement /querySmarthomeDevices avec paramètres !-> device: SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b387ce4baa9017d4c808b1c1f6dreq.query.entityType: APPLIANCE req.query.type: LIGHT
0005|[10/29/2022, 2:42:10 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 126438)
0006|[10/29/2022, 2:42:10 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/phoenix/state","method":"POST","timeout":15000,"headers":{}}  and data={"stateRequests":[{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b387ce4baa9017d4c808b1c1f6d","entityType":"APPLIANCE"}]}
0007|[10/29/2022, 2:42:11 PM]DEBUG : {Remote} ║ Response: {"deviceStates":[{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b387ce4baa9017d4c808b1c1f6d","entityType":"CLOUD_DISCOVERED_DEVICE"},"capabilityStates":["{\"namespace\":\"Alexa.BrightnessController\",\"name\":\"brightness\",\"value\":100,\"timeOfSample\":\"2022-10-29T22:42:11.11Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.ColorController\",\"name\":\"color\",\"value\":{\"hue\":348.19672,\"saturation\":0.23921569,\"brightness\":1},\"timeOfSample\":\"2022-10-29T22:42:11.11Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.PowerController\",\"name\":\"powerState\",\"value\":\"ON\",\"timeOfSample\":\"2022-10-29T22:42:11.11Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.EndpointHealth\",\"name\":\"connectivity\",\"value\":{\"value\":\"OK\"},\"timeOfSample\":\"2022-10-29T22:42:11.11Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.ColorPropertiesController\",\"name\":\"colorProperties\",\"timeOfSample\":\"2022-10-29T22:42:11.11Z\",\"timeOfStateChange\":\"\",\"uncertaintyInMilliseconds\":500,\"value\":{\"name\":\"pink\",\"localizationMap\":{\"en\":\"Pink\",\"en-US\":\"Pink\",\"en-UK\":\"Pink\",\"de\":\"Rosa\",\"jp\":\"ピンク\",\"fr\":\"Rose\",\"it\":\"Rosa\",\"es-ES\":\"Rosa claro\",\"es-MX\":\"Rosa claro\",\"pt-BR\":\"Rosa\",\"es-US\":\"Rosa claro\",\"hi-IN\":\"गुलाबी\"}},\"deepQuery\":true}"],"error":null}],"errors":[]}
0008|[10/29/2022, 2:42:11 PM]INFO : {Remote} ╚════════════════════════════════════════════════════════════════════════════════════════
0009|[10/29/2022, 2:42:11 PM]DEBUG : {MQTT}   ║ Send Ping
0010|[10/29/2022, 2:42:11 PM]DEBUG : {MQTT}   ║ Incoming RAW message: 4d53470000006532b39207660000000190664f630000003d504f4e00000000243174e5243174e5000000070052006500670075006c0061007246414245
0011|[10/29/2022, 2:42:11 PM]DEBUG : {MQTT}   ║ Incoming message: {"service":"FABE","messageType":"MSG","channel":101,"messageId":850629127,"moreFlag":1711276032,"seq":1,"checksum":2422624099,"content":{"messageType":"PON","payloadData":{"type":"Buffer","data":[0,0,0,36,49,116,229,36,49,116,229,0,0,0,7,0,82,0,101,0,103,0,117,0,108,0,97,0,114]}}}
0012|[10/29/2022, 2:42:11 PM]DEBUG : {MQTT}   ║ Received Pong
0013|[10/29/2022, 2:44:15 PM]DEBUG : {API}    ╔═══════[Lancement /SmarthomeCommand avec paramètres -> device: bfe978d5-8af6-4a24-8bcf-8b53de663b3a & command: sceneActivate
0014|[10/29/2022, 2:44:15 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 251142)
0015|[10/29/2022, 2:44:15 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/phoenix/state","method":"PUT","timeout":10000,"headers":{}}  and data={"controlRequests":[{"entityId":"bfe978d5-8af6-4a24-8bcf-8b53de663b3a","parameters":{"action":"sceneActivate"}}]}
0016|[10/29/2022, 2:44:15 PM]DEBUG : {Remote} ║ Response: {"controlResponses":[],"errors":[{"entity":{"entityId":"bfe978d5-8af6-4a24-8bcf-8b53de663b3a","entityType":null},"code":"TargetApplianceDisabledException","message":"Target endpoint is currently disabled","data":null}]}
0017|[10/29/2022, 2:45:03 PM]INFO : {API}    ╔═══════[Lancement  /devices sur undefined
0018|[10/29/2022, 2:45:03 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 298969)
0019|[10/29/2022, 2:45:03 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=1667054703241","method":"GET","timeout":10000,"headers":{}}
0020|[10/29/2022, 2:45:03 PM]DEBUG : {Remote} ║ Response: {"devices":[{"accountName":"Delta","appDeviceList":[],"associatedUnitIds":null,"capabilities":["GOLDFISH","PERSISTENT_CONNECTION","TIMERS_AND_ALARMS","EARCONS","VOLUME_SETTING","SUPPORTS_LOCALE_SWITCH","SLEEP","SET_TIME_ZONE","DIALOG_INTERFACE_VERSION","TIDAL","DEREGISTER_DEVICE","AUDIO_PLAYER","CHANGE_NAME","SET_LOCALE","SOUND_SETTINGS","SPEECH_RECOGNIZER_USS","AMAZON_MUSIC","FAR_FIELD","MULTI_WAKEWORDS_SUPPORTED","MUSIC_SKILL","CUSTOM_ALARM_TONE","DREAM_TRAINING","REMINDERS","I_HEART_RADIO","SIRIUSXM","APPLE_MUSIC","MICROPHONE","SUPPORTS_LOCALE","DEEZER","AUDIBLE","ADAPTIVE_LISTENING","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","KINDLE_BOOKS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0732340M46181VCI4RL","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A1X92YQU8MWAPD","deviceTypeFriendlyName":"Freebox Delta","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"1effb1d3085449fbbb2acea2610c5bdc","softwareVersion":"16909056"},{"accountName":"spot parent","appDeviceList":[],"associatedUnitIds":null,"capabilities":["CLOCK_FORMAT_24_HR","PERSISTENT_CONNECTION","SUPPORTS_SOFTWARE_VERSION","EARCONS","TIMERS_AND_ALARMS","LEMUR_ALPHA","SLEEP","DIALOG_INTERFACE_VERSION","ALEXA_PRESENCE","TIDAL","DEREGISTER_DEVICE","CHANGE_NAME","LIVE_VIEW","SPEECH_RECOGNIZER_USS","AMAZON_MUSIC","MULTI_WAKEWORDS_SUPPORTED","MUSIC_SKILL","ALEXA_VOICE","CUSTOM_ALARM_TONE","FAR_FIELD_WAKE_WORD","SIRIUSXM","EQUALIZER_CONTROLLER_MIDRANGE","ASCENDING_ALARM_VOLUME","SUPPORTS_LOCALE","VOICE_TRAINING","AUDIO_CONTROLS","SUPPORT_CALENDAR_ALERT","PAIR_BT_SINK","EQUALIZER_CONTROLLER_TREBLE","TUNE_IN","SALMON","GOLDFISH","SHARKNADO","VOLUME_SETTING","SUPPORTS_LOCALE_SWITCH","EQUALIZER_CONTROLLER_BASS","PANDORA","DS_VOLUME_SETTING","AUDIO_PLAYER","SET_LOCALE","SOUND_SETTINGS","REMINDERS","DREAM_TRAINING","I_HEART_RADIO","APPLE_MUSIC","FLASH_BRIEFING","GUARD_EARCON","MICROPHONE","DEEZER","AUDIBLE","EFDCARDS","ADAPTIVE_LISTENING","BT_PAIRING_FLOW_V2","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","KINDLE_BOOKS","TIMERS_ALARMS_NOTIFICATIONS_VOLUME"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0319054RQSEJ0FBZJ2M","deviceFamily":"ROOK","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A10A33FOX2NUBK","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070RQ13835200HB","softwareVersion":"680766420"},{"accountName":"Mezzanine","appDeviceList":[],"associatedUnitIds":null,"capabilities":["MUSIC_SKILL","REMINDERS","I_HEART_RADIO","SIRIUSXM","APPLE_MUSIC","VOLUME_SETTING","TIDAL","DEEZER","PANDORA","ADAPTIVE_LISTENING","AUDIO_PLAYER","CHANGE_NAME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","AMAZON_MUSIC"],"charging":null,"clusterMembers":[],"deviceAccountId":"A00566081J491XF1844KT","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A15ERDAKK5HQQG","deviceTypeFriendlyName":"Sonos","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"e102bd15d16846d3af28db42bb14c838","softwareVersion":"0"},{"accountName":"Salle à manger","appDeviceList":[],"associatedUnitIds":null,"capabilities":["MUSIC_SKILL","REMINDERS","I_HEART_RADIO","SIRIUSXM","APPLE_MUSIC","VOLUME_SETTING","TIDAL","DEEZER","PANDORA","ADAPTIVE_LISTENING","AUDIO_PLAYER","CHANGE_NAME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","AMAZON_MUSIC"],"charging":null,"clusterMembers":[],"deviceAccountId":"A06566881ZK4BGFRWZ2NH","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A15ERDAKK5HQQG","deviceTypeFriendlyName":"Sonos","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"b01c5dff39ca4e7ea12f6609f27615e3","softwareVersion":"0"},{"accountName":"Bureau","appDeviceList":[],"associatedUnitIds":null,"capabilities":["MUSIC_SKILL","REMINDERS","I_HEART_RADIO","SIRIUSXM","APPLE_MUSIC","VOLUME_SETTING","TIDAL","DEEZER","PANDORA","ADAPTIVE_LISTENING","AUDIO_PLAYER","CHANGE_NAME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","AMAZON_MUSIC"],"charging":null,"clusterMembers":[],"deviceAccountId":"A07851213HRW9RGQGQ6TU","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A15ERDAKK5HQQG","deviceTypeFriendlyName":"Sonos","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"faaf1706d27748bfa4fd3e20408055a6","softwareVersion":"0"},{"accountName":"Cuisine","appDeviceList":[],"associatedUnitIds":null,"capabilities":["MUSIC_SKILL","REMINDERS","I_HEART_RADIO","SIRIUSXM","APPLE_MUSIC","VOLUME_SETTING","TIDAL","DEEZER","PANDORA","ADAPTIVE_LISTENING","AUDIO_PLAYER","CHANGE_NAME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","AMAZON_MUSIC"],"charging":null,"clusterMembers":[],"deviceAccountId":"A100176535YWG5P8WC3RH","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A15ERDAKK5HQQG","deviceTypeFriendlyName":"Sonos","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"9151abdd0722485583c008e214ad1509","softwareVersion":"0"},{"accountName":"Entrée","appDeviceList":[],"associatedUnitIds":null,"capabilities":["MUSIC_SKILL","REMINDERS","I_HEART_RADIO","SIRIUSXM","APPLE_MUSIC","VOLUME_SETTING","TIDAL","DEEZER","PANDORA","ADAPTIVE_LISTENING","AUDIO_PLAYER","CHANGE_NAME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","AMAZON_MUSIC"],"charging":null,"clusterMembers":[],"deviceAccountId":"A06314112UVFWQMZPFD8R","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A15ERDAKK5HQQG","deviceTypeFriendlyName":"Sonos","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"635a0ef7a455496f901c731c3e3af34e","softwareVersion":"0"},{"accountName":"Salle de bain Rdc","appDeviceList":[],"associatedUnitIds":null,"capabilities":["MUSIC_SKILL","REMINDERS","I_HEART_RADIO","SIRIUSXM","APPLE_MUSIC","VOLUME_SETTING","TIDAL","DEEZER","PANDORA","ADAPTIVE_LISTENING","AUDIO_PLAYER","CHANGE_NAME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","AMAZON_MUSIC"],"charging":null,"clusterMembers":[],"deviceAccountId":"A06810703EBSTMRGKXBB8","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A15ERDAKK5HQQG","deviceTypeFriendlyName":"Sonos","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"a6decc492eeb4d6f984b84a3e9e47707","softwareVersion":"0"},{"accountName":"Hall","appDeviceList":[],"associatedUnitIds":null,"capabilities":["MUSIC_SKILL","REMINDERS","I_HEART_RADIO","SIRIUSXM","APPLE_MUSIC","VOLUME_SETTING","TIDAL","DEEZER","PANDORA","ADAPTIVE_LISTENING","AUDIO_PLAYER","CHANGE_NAME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","AMAZON_MUSIC"],"charging":null,"clusterMembers":[],"deviceAccountId":"A04892868TUDVDVPHXCE","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A15ERDAKK5HQQG","deviceTypeFriendlyName":"Sonos","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"9c5078d007eb4a27bc9642d95a3bc76a","softwareVersion":"0"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A03098743LHUT2ZQ9RCHV","deviceType":"A2IVLV5VM2W81","serialNumber":"91b01ae94313745c042ad40cb3580cc3"},{"deviceAccountId":"A074720126TLQT7O8G26D","deviceType":"A2IVLV5VM2W81","serialNumber":"b9bc670766a7670317660243b5f2b69a"},{"deviceAccountId":"A02776492DBD8K3NX0STI","deviceType":"A2IVLV5VM2W81","serialNumber":"208d95799454ce66b9b7b03f29049624"},{"deviceAccountId":"A0832132273KBILGSV7OZ","deviceType":"A2IVLV5VM2W81","serialNumber":"1A7F0EB36B4941A49A2D9937A4C63CB5"},{"deviceAccountId":"A06009342EG14NB8WKIM1","deviceType":"A2IVLV5VM2W81","serialNumber":"463489c1211f05de832a7318d11fb097"},{"deviceAccountId":"A08539481DXAYHCDPRR4O","deviceType":"A2IVLV5VM2W81","serialNumber":"751bac85eb9aaf1fe7e4c75b120bd345"},{"deviceAccountId":"A0469552NE7UE6H0P5G5","deviceType":"A2IVLV5VM2W81","serialNumber":"dab1f050e376151a25b72344fd93352f"},{"deviceAccountId":"A08926642YI6X0W20O7U","deviceType":"A2IVLV5VM2W81","serialNumber":"ed32dbd43782f5fcfde47efc89c37d6d"},{"deviceAccountId":"A09174932R7V7Y86TMVAY","deviceType":"A2IVLV5VM2W81","serialNumber":"9d232a4687611a984503dd6a13977b32"},{"deviceAccountId":"A07814713SPP4E88Q0M2O","deviceType":"A2IVLV5VM2W81","serialNumber":"575c8b20d77eaa90f8b011c987ab3eea"},{"deviceAccountId":"A0695148HDBA6CNBUGUB","deviceType":"A2IVLV5VM2W81","serialNumber":"4f4e27bf7060d78afb3e15a142e166f9"},{"deviceAccountId":"A02463042P914O72ROXS5","deviceType":"A2IVLV5VM2W81","serialNumber":"0942d912711b8c2fd8d7d1fccd50fdcc"},{"deviceAccountId":"A093541828GAIUDPL8KYC","deviceType":"A2IVLV5VM2W81","serialNumber":"6f1c1316cccf6957e3d2c1acb85dfd2d"},{"deviceAccountId":"A10116922S496GHW68PKO","deviceType":"A2IVLV5VM2W81","serialNumber":"31e4d3d6575c0a81470b60adf95e4c55"},{"deviceAccountId":"A03543392KHJKIPF474BZ","deviceType":"A2IVLV5VM2W81","serialNumber":"cf222ada0b637ca55313a3b859e5d6b2"},{"deviceAccountId":"A0651722LPOWKAQ7K85R","deviceType":"A2IVLV5VM2W81","serialNumber":"73c8ac005bbe0ce9279b7680f06bf1e5"},{"deviceAccountId":"A02886981R5OY9HZV47YR","deviceType":"A2IVLV5VM2W81","serialNumber":"1cbc6bc20d84318f7be7eeb6b63c4b1f"},{"deviceAccountId":"A04072821GFOPNDXKZPTE","deviceType":"A2IVLV5VM2W81","serialNumber":"5380ca3406c3543ac3e0f79c8cdf2d79"},{"deviceAccountId":"A04302771LBOH1UHZ8RH6","deviceType":"A2IVLV5VM2W81","serialNumber":"7ea2dd461330595ebccc7d8d0607bf84"},{"deviceAccountId":"A0570013CDL9BUJ4LZ30","deviceType":"A2IVLV5VM2W81","serialNumber":"a04a5bc315800e3e8b6282421a7ae691"},{"deviceAccountId":"A085438311HIZP1YF7IEB","deviceType":"A2IVLV5VM2W81","serialNumber":"ed6f05cfd4bc83d07e47b90fb683e035"},{"deviceAccountId":"A00691931HYE4M6MP96FG","deviceType":"A2IVLV5VM2W81","serialNumber":"fa355afaa16ea36d63d9282f28ce9a0d"},{"deviceAccountId":"A006127827FCAQZAHYKM7","deviceType":"A2IVLV5VM2W81","serialNumber":"e374aeab48ededb86c820bd5d383f614"},{"deviceAccountId":"A1001127AG73F5HOIH1S","deviceType":"A2IVLV5VM2W81","serialNumber":"e28f11a325febeb7566411fa9d577c27"}],"associatedUnitIds":null,"capabilities":["ADAPTIVE_LISTENING","VOLUME_SETTING","MICROPHONE"],"charging":null,"clusterMembers":[],"deviceAccountId":"A1001127AG73F5HOIH1S","deviceFamily":"VOX","deviceOwnerCustomerId":"A2F3KDR02M22HV","deviceType":"A2IVLV5VM2W81","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"e28f11a325febeb7566411fa9d577c27","softwareVersion":"1"}]}
0021|[10/29/2022, 2:45:04 PM]INFO : {API}    ╔═══════[Lancement /querySmarthomeDevices avec paramètres !-> device: 2d5e07b8-888a-43de-9818-a540c841250creq.query.entityType: GROUP req.query.type: OTHER
0022|[10/29/2022, 2:45:04 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 299774)
0023|[10/29/2022, 2:45:04 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/phoenix/state","method":"POST","timeout":15000,"headers":{}}  and data={"stateRequests":[{"entityId":"2d5e07b8-888a-43de-9818-a540c841250c","entityType":"GROUP"}]}
0024|[10/29/2022, 2:45:04 PM]DEBUG : {Remote} ║ Response: {"deviceStates":[{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjY5ZWU0ODY5LWY4MjYtNGFmMC05ZGVmLTcxN2Q0ZTk0NTI0NyIsInN0YWdlIjoibGl2ZSJ9_DEVC_00000000000000000000000000000002357","entityType":"CLOUD_DISCOVERED_DEVICE"},"capabilityStates":["{\"namespace\":\"Alexa.PowerController\",\"name\":\"powerState\",\"value\":\"OFF\",\"timeOfSample\":\"2022-10-28T22:45:51.263Z\",\"uncertaintyInMilliseconds\":0,\"deepQuery\":true,\"timeOfStateChange\":\"\"}"],"error":null}],"errors":[{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b38766ff44a01768ae34e4f1101","entityType":"CLOUD_DISCOVERED_DEVICE"},"code":"ENDPOINT_UNREACHABLE","message":null,"data":null}]}
0025|[10/29/2022, 2:45:04 PM]INFO : {Remote} ╚════════════════════════════════════════════════════════════════════════════════════════
0026|[10/29/2022, 2:45:04 PM]INFO : {API}    ╔═══════[Lancement /querySmarthomeDevices avec paramètres !-> device: 3f353e81-8733-45be-a304-05a9f02c9263req.query.entityType: GROUP req.query.type: OTHER
0027|[10/29/2022, 2:45:04 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 300629)
0028|[10/29/2022, 2:45:04 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/phoenix/state","method":"POST","timeout":15000,"headers":{}}  and data={"stateRequests":[{"entityId":"3f353e81-8733-45be-a304-05a9f02c9263","entityType":"GROUP"}]}
0029|[10/29/2022, 2:45:05 PM]DEBUG : {Remote} ║ Response: {"deviceStates":[{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjY5ZWU0ODY5LWY4MjYtNGFmMC05ZGVmLTcxN2Q0ZTk0NTI0NyIsInN0YWdlIjoibGl2ZSJ9_DEVC_00000000000000000000000000000002332","entityType":"CLOUD_DISCOVERED_DEVICE"},"capabilityStates":["{\"namespace\":\"Alexa.PowerController\",\"name\":\"powerState\",\"value\":\"ON\",\"timeOfSample\":\"2022-10-13T16:33:19.659Z\",\"uncertaintyInMilliseconds\":0,\"deepQuery\":true,\"timeOfStateChange\":\"\"}"],"error":null},{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjY5ZWU0ODY5LWY4MjYtNGFmMC05ZGVmLTcxN2Q0ZTk0NTI0NyIsInN0YWdlIjoibGl2ZSJ9_DEVC_00000000000000000000000000000002331","entityType":"CLOUD_DISCOVERED_DEVICE"},"capabilityStates":["{\"namespace\":\"Alexa.PowerController\",\"name\":\"powerState\",\"value\":\"ON\",\"timeOfSample\":\"2022-10-29T10:29:18.762Z\",\"uncertaintyInMilliseconds\":0,\"deepQuery\":true,\"timeOfStateChange\":\"\"}"],"error":null},{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b428281715d01841b2cd2b74cb2","entityType":"CLOUD_DISCOVERED_DEVICE"},"capabilityStates":["{\"namespace\":\"Alexa.BrightnessController\",\"name\":\"brightness\",\"value\":100,\"timeOfSample\":\"2022-10-29T22:45:05.05Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.ColorController\",\"name\":\"color\",\"value\":{\"hue\":59.294117,\"saturation\":1,\"brightness\":1},\"timeOfSample\":\"2022-10-29T22:45:05.05Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.PowerController\",\"name\":\"powerState\",\"value\":\"ON\",\"timeOfSample\":\"2022-10-29T22:45:05.05Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.EndpointHealth\",\"name\":\"connectivity\",\"value\":{\"value\":\"OK\"},\"timeOfSample\":\"2022-10-29T22:45:05.05Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.ColorPropertiesController\",\"name\":\"colorProperties\",\"timeOfSample\":\"2022-10-29T22:45:05.05Z\",\"timeOfStateChange\":\"\",\"uncertaintyInMilliseconds\":500,\"value\":{\"name\":\"yellow\",\"localizationMap\":{\"en\":\"Yellow\",\"en-US\":\"Yellow\",\"en-UK\":\"Yellow\",\"de\":\"Gelb\",\"jp\":\"黄色\",\"fr\":\"Jaune\",\"it\":\"Giallo\",\"es-ES\":\"Amarillo\",\"es-MX\":\"Amarillo\",\"pt-BR\":\"Amarelo\",\"es-US\":\"Amarillo\",\"hi-IN\":\"पीला\"}},\"deepQuery\":true}"],"error":null},{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjY5ZWU0ODY5LWY4MjYtNGFmMC05ZGVmLTcxN2Q0ZTk0NTI0NyIsInN0YWdlIjoibGl2ZSJ9_DEVC_00000000000000000000000000000012447","entityType":"CLOUD_DISCOVERED_DEVICE"},"capabilityStates":["{\"namespace\":\"Alexa.PowerController\",\"name\":\"powerState\",\"value\":\"OFF\",\"timeOfSample\":\"2021-11-21T19:20:23.033Z\",\"uncertaintyInMilliseconds\":0,\"deepQuery\":true,\"timeOfStateChange\":\"\"}"],"error":null},{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjY5ZWU0ODY5LWY4MjYtNGFmMC05ZGVmLTcxN2Q0ZTk0NTI0NyIsInN0YWdlIjoibGl2ZSJ9_DEVC_00000000000000000000000000000002328","entityType":"CLOUD_DISCOVERED_DEVICE"},"capabilityStates":["{\"namespace\":\"Alexa.PowerController\",\"name\":\"powerState\",\"value\":\"ON\",\"timeOfSample\":\"2022-10-08T09:24:23.954Z\",\"uncertaintyInMilliseconds\":0,\"deepQuery\":true,\"timeOfStateChange\":\"\"}"],"error":null}],"errors":[]}
0030|[10/29/2022, 2:45:05 PM]INFO : {Remote} ╚════════════════════════════════════════════════════════════════════════════════════════
0031|[10/29/2022, 2:45:05 PM]INFO : {API}    ╔═══════[Lancement /querySmarthomeDevices avec paramètres !-> device: SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b428281715d01841b2cd2b74cb2req.query.entityType: APPLIANCE req.query.type: LIGHT
0032|[10/29/2022, 2:45:05 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 301437)
0033|[10/29/2022, 2:45:05 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/phoenix/state","method":"POST","timeout":15000,"headers":{}}  and data={"stateRequests":[{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b428281715d01841b2cd2b74cb2","entityType":"APPLIANCE"}]}
0034|[10/29/2022, 2:45:07 PM]DEBUG : {Remote} ║ Response: {"deviceStates":[{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b428281715d01841b2cd2b74cb2","entityType":"CLOUD_DISCOVERED_DEVICE"},"capabilityStates":["{\"namespace\":\"Alexa.BrightnessController\",\"name\":\"brightness\",\"value\":100,\"timeOfSample\":\"2022-10-29T22:45:06.06Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.ColorController\",\"name\":\"color\",\"value\":{\"hue\":59.294117,\"saturation\":1,\"brightness\":1},\"timeOfSample\":\"2022-10-29T22:45:06.06Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.PowerController\",\"name\":\"powerState\",\"value\":\"ON\",\"timeOfSample\":\"2022-10-29T22:45:06.06Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.EndpointHealth\",\"name\":\"connectivity\",\"value\":{\"value\":\"OK\"},\"timeOfSample\":\"2022-10-29T22:45:06.06Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.ColorPropertiesController\",\"name\":\"colorProperties\",\"timeOfSample\":\"2022-10-29T22:45:06.06Z\",\"timeOfStateChange\":\"\",\"uncertaintyInMilliseconds\":500,\"value\":{\"name\":\"yellow\",\"localizationMap\":{\"en\":\"Yellow\",\"en-US\":\"Yellow\",\"en-UK\":\"Yellow\",\"de\":\"Gelb\",\"jp\":\"黄色\",\"fr\":\"Jaune\",\"it\":\"Giallo\",\"es-ES\":\"Amarillo\",\"es-MX\":\"Amarillo\",\"pt-BR\":\"Amarelo\",\"es-US\":\"Amarillo\",\"hi-IN\":\"पीला\"}},\"deepQuery\":true}"],"error":null}],"errors":[]}
0035|[10/29/2022, 2:45:07 PM]INFO : {Remote} ╚════════════════════════════════════════════════════════════════════════════════════════```

du coup a priori le plugin a un souci avec les scène Amazon-Smarthomes. aucune ne fonctionne. time out

au déclenchement d’une scene (ne fonctionne pas) :

0001|[10/29/2022, 3:21:45 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 95504)
0002|[10/29/2022, 3:21:45 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/phoenix/state","method":"PUT","timeout":10000,"headers":{}}  and data={"controlRequests":[{"entityId":"bfe978d5-8af6-4a24-8bcf-8b53de663b3a","parameters":{"action":"sceneActivate"}}]}
0003|[10/29/2022, 3:21:45 PM]DEBUG : {Remote} ║ Response: {"controlResponses":[],"errors":[{"entity":{"entityId":"bfe978d5-8af6-4a24-8bcf-8b53de663b3a","entityType":null},"code":"TargetApplianceDisabledException","message":"Target endpoint is currently disabled","data":null}]}```

lors du controle d’une lumiere seule (fonctionne) :

0001|[10/29/2022, 3:23:37 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 207927)
0002|[10/29/2022, 3:23:37 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/phoenix/state","method":"PUT","timeout":10000,"headers":{}}  and data={"controlRequests":[{"entityId":"fae39067-80eb-424a-8145-c9390f285afd","parameters":{"action":"setColor","colorName":"yellow"}}]}
0003|[10/29/2022, 3:23:38 PM]DEBUG : {Remote} ║ Response: {"controlResponses":[{"code":"SUCCESS","message":null,"data":null,"entityId":"fae39067-80eb-424a-8145-c9390f285afd"}],"errors":[]}
0004|[10/29/2022, 3:23:41 PM]INFO : {API}    ╔═══════[Lancement /querySmarthomeDevices avec paramètres !-> device: SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b38766ff44a01768adc2a311100req.query.entityType: APPLIANCE req.query.type: LIGHT
0005|[10/29/2022, 3:23:41 PM]DEBUG : {Remote} ║ No authentication check needed (time elapsed 210973)
0006|[10/29/2022, 3:23:41 PM]DEBUG : {Remote} ║ Sending Request with {"host":"eu-api-alexa.amazon.fr","path":"/api/phoenix/state","method":"POST","timeout":15000,"headers":{}}  and data={"stateRequests":[{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b38766ff44a01768adc2a311100","entityType":"APPLIANCE"}]}
0007|[10/29/2022, 3:23:41 PM]DEBUG : {Remote} ║ Response: {"deviceStates":[{"entity":{"entityId":"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLjRjMjJkNWJmLTVhZTctNGZiMy1iODU1LTk0ZTUzMTRkYWY5MyIsInN0YWdlIjoibGl2ZSJ9_2c995b38766ff44a01768adc2a311100","entityType":"CLOUD_DISCOVERED_DEVICE"},"capabilityStates":["{\"namespace\":\"Alexa.BrightnessController\",\"name\":\"brightness\",\"value\":100,\"timeOfSample\":\"2022-10-29T23:23:41.41Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.ColorController\",\"name\":\"color\",\"value\":{\"hue\":59.294117,\"saturation\":1,\"brightness\":1},\"timeOfSample\":\"2022-10-29T23:23:41.41Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.PowerController\",\"name\":\"powerState\",\"value\":\"ON\",\"timeOfSample\":\"2022-10-29T23:23:41.41Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.EndpointHealth\",\"name\":\"connectivity\",\"value\":{\"value\":\"OK\"},\"timeOfSample\":\"2022-10-29T23:23:41.41Z\",\"uncertaintyInMilliseconds\":500,\"deepQuery\":true,\"timeOfStateChange\":\"\"}","{\"namespace\":\"Alexa.ColorPropertiesController\",\"name\":\"colorProperties\",\"timeOfSample\":\"2022-10-29T23:23:41.41Z\",\"timeOfStateChange\":\"\",\"uncertaintyInMilliseconds\":500,\"value\":{\"name\":\"yellow\",\"localizationMap\":{\"en\":\"Yellow\",\"en-US\":\"Yellow\",\"en-UK\":\"Yellow\",\"de\":\"Gelb\",\"jp\":\"黄色\",\"fr\":\"Jaune\",\"it\":\"Giallo\",\"es-ES\":\"Amarillo\",\"es-MX\":\"Amarillo\",\"pt-BR\":\"Amarelo\",\"es-US\":\"Amarillo\",\"hi-IN\":\"पीला\"}},\"deepQuery\":true}"],"error":null}],"errors":[]}
0008|[10/29/2022, 3:23:41 PM]INFO : {Remote} ╚════════════════════════════════════════════════════════════════════════════════════════```

sauf erreur ce n’est pas le log pourla scene, ceux la sont dans smarthome :

chez moi cela focntionne, mais c’est une scene lumiere avec le skill xiaomi

Bonjour,

J’ai depuis un moment le même souci. J’ai fait ce soir les modifications (passage beta, modif ligne 12, recréation des cookies, relance du daemon) mais aucun changement. Le scan fonctionne, me donne tout mais impossible de rentrer sur un appareil SmartHome.

Mon Node est vide, je l’ai vidé avant la manip, une erreur ?

tu as API en beta aussi ?