Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[DEV] Plugin Alexa-Api en BETA uniquement

Sous forum pour les plugins Dialogflow et Google Assistant
ludomo
Timide
Messages : 39
Inscription : 03 août 2014, 12:28

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par ludomo » 03 avr. 2019, 16:51

Bonjour,

Déjà bravo pour le plugin !

Au delà du "connexion close" j'ai trouvé 2 cas ou alexa devient muette...

S'il y a plus de 250 caractères (peut être diffuser vocalement un message du type notification trop longuer pour être diffuser ?)

Et l'autre cas c'est avec le volume à 1. En effet il semblerait que pour un volume à 1 via le plugin le volume passe à 0 sur Alexa (vérifié avec l'appli android)

Il semble y avoir une différence dans les valeurs (ou pas) de volume...

Alexa-api volume à 1 -> Application Android volume à 0
Alexa-api volume à 2 -> Application Android volume à 3
Alexa-api volume à 3 -> Application Android volume à 3
Alexa-api volume à 4 -> Application Android volume à 3
Alexa-api volume à 5 -> Application Android volume à 7

Alexa-api volume à 95 -> Application Android volume à 97

ludomo
Jeedom Smart Zwave / RFXCom / Synology / SONOS

Avatar de l’utilisateur
sigalou
Actif
Messages : 1075
Inscription : 23 janv. 2017, 16:02

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par sigalou » 03 avr. 2019, 17:44

HadesDT a écrit :
03 avr. 2019, 14:27
Je viens d'installer la version beta sur un jeedom de test, tous les devices remontent bien, mais quand je veux faire un push vers mon téléphone j'ai ceci :

...

Sur le Jeedom de prod j'ai ceci (version stable du plugin) :

...
Oui, c'est absolument possible, j'ai complètement revu et retravaillé l'écran des commandes, tu dois voir la grande différence entre la stable et la beta si tu as les deux sous les yeux.
Du coup, j'ai vérifié tous les liens entre les actions programmées dans le scénario et les commandes.
Mais en lisant ton message, effectivement, j'ai retraité toutes les commandes ... sauf la commande push qui n'est pas présente sur les amazon echo mais uniquement sur l'Appli Alexa... donc je l'ai oubliée, je vais corriger cela rapidement.
Merci d'y avoir pensé et pour ton aide.
Sigalou

Utilisateur/Développeur Plugin Jeedom
Créateur des plugins Alexa-API & WatchDog



Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par Nebz » 03 avr. 2019, 18:31

ludomo a écrit :
03 avr. 2019, 16:51
Bonjour,

Déjà bravo pour le plugin !

Au delà du "connexion close" j'ai trouvé 2 cas ou alexa devient muette...

S'il y a plus de 250 caractères (peut être diffuser vocalement un message du type notification trop longuer pour être diffuser ?)

Et l'autre cas c'est avec le volume à 1. En effet il semblerait que pour un volume à 1 via le plugin le volume passe à 0 sur Alexa (vérifié avec l'appli android)

Il semble y avoir une différence dans les valeurs (ou pas) de volume...

Alexa-api volume à 1 -> Application Android volume à 0
Alexa-api volume à 2 -> Application Android volume à 3
Alexa-api volume à 3 -> Application Android volume à 3
Alexa-api volume à 4 -> Application Android volume à 3
Alexa-api volume à 5 -> Application Android volume à 7

Alexa-api volume à 95 -> Application Android volume à 97

ludomo
Wow, ça c'est de l'analyse :)

si ca t'intéresse de faire partie de nos beta-testeurs, envoi moi ton adresse email par message privé, je t'ajouterai au Slack :)

on a noté tes deux points :) merci !
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

thierry38090
Timide
Messages : 40
Inscription : 02 mars 2019, 15:22

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par thierry38090 » 03 avr. 2019, 22:33

Bonsoir,
Alexa ne parle plus ce soir, voici ma log

Code : Tout sélectionner


[2019-4-3 21:24:40] Alexa-API: Alexa.Speak
[2019-4-3 21:24:40] Alexa-API: device: G090LF1181750XBN
[2019-4-3 21:24:40] Alexa-API: text: attention porte entrée ouverte
[2019-4-3 21:24:40] Alexa-sendSequenceCommand: else
[2019-4-3 21:24:40] Alexa-Remote: No authentication check needed (time elapsed 573465)
[2019-4-3 21:24:40] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF1181750XBN\",\"locale\":\"fr-FR\",\"customerId\":\"A2AT3H8J6YK7W8\",\"textToSpeak\":\"attention porte entrée ouverte\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] *********************DEBUG****************************
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] **DEBUG**DEBUG*Alexa-Remote: Response: No/Invalid JSON
[2019-4-3 21:24:40] HTTP/1.1 0 x-amzn-RequestId: 8238a9a2-564e-11e9-a241-c15f70d4ff51
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Wed, 03 Apr 2019 20:24:40 GMT
Connection: close
[2019-4-3 21:24:40] **DEBUG**DEBUG* Message Exception :Unexpected token H in JSON at position 0
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] ***************FIND**CONNEXION CLOSE *****************
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
[2019-4-3 21:24:40] Alexa-API: *****************************ERROR********************************
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
[2019-4-3 21:24:40] Connexion Close
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
Error: Connexion Close
at IncomingMessage.res.on (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:524:52)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
[2019-4-3 21:24:40] Connexion Close détectée dans la détection d'erreur et donc relance de l'initialisation
[2019-4-3 21:24:40] Alexa-Remote: cookie was provided
[2019-4-3 21:24:40] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:41] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"sylvianeschneider@free.fr","customerId":"A2AT3H8J6YK7W8","customerName":"Sylviane SCHNEIDER"}}
[2019-4-3 21:24:41] Alexa-Remote: Authentication checked: true
[2019-4-3 21:24:41] Alexa-Remote: No authentication check needed (time elapsed 2)
[2019-4-3 21:24:41] Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:41] Alexa-Remote: Response: [{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","directedId":"amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","phoneCountryCode":"33","phoneNumber":"687067250","firstName":"Sylviane","lastName":"SCHNEIDER","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":true,"commsProvisioned":true,"speakerProvisioned":false},{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","directedId":"amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","phoneCountryCode":"33","phoneNumber":"677199398","firstName":"Thierry","lastName":"Schneider","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":false,"commsProvisioned":true,"speakerProvisioned":false}]
[2019-4-3 21:24:41] Alexa-Remote: No authentication check needed (time elapsed 528)
[2019-4-3 21:24:41] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=1554323081560","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:42] Alexa-Remote: Response: {"devices":[{"accountName":"Sissi Fire TV stick","appDeviceList":[],"capabilities":["ARTHUR_TARGET","SUPPORTS_SOFTWARE_VERSION","MICROPHONE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","CHANGE_NAME","VOLUME_SETTING","ACTIVE_AFTER_FRO","FLASH_BRIEFING","PERSISTENT_CONNECTION"],"charging":null,"clusterMembers":[],"deviceAccountId":"A1WU3ITBC4VOKR","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ0474260KQC","softwareVersion":"632552020"},{"accountName":"Chérie","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","PAIR_BT_SINK","FACTORY_RESET_DEVICE","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","ALLOW_LOG_UPLOAD","SUPPORTS_SOFTWARE_VERSION","EARCONS","SOUND_SETTINGS","GOLDFISH","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","TIMERS_AND_ALARMS","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIBLE","REMINDERS","SHARKNADO","AUDIO_PLAYER","TUNE_IN","VOICE_TRAINING","DS_VOLUME_SETTING","ASCENDING_ALARM_VOLUME","DREAM_TRAINING","SLEEP","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION"],"charging":null,"clusterMembers":[],"deviceAccountId":"A3VAMV0K68MRJI","deviceFamily":"ROOK","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A10A33FOX2NUBK","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070RR13817707HF","softwareVersion":"631551820"},{"accountName":"Salon","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","PAIR_BT_SINK","PAIR_REMOTE","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","POPTART","TUPLE_CATEGORY_A","TAHOE_BYOD","SUPPORTS_SOFTWARE_VERSION","EARCONS","SOUND_SETTINGS","GOLDFISH","ACTIVE_AFTER_FRO","TUPLE","PAIR_BT_SOURCE","SUPPORT_CALENDAR_ALERT","TIMERS_AND_ALARMS","MUSIC_SKILL","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","REQUIRES_OOBE_FOR_SETUP","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIBLE","REMINDERS","DEREGISTER_DEVICE","GADGETS","DEREGISTER_FACTORY_RESET","AUDIO_PLAYER","VOICE_TRAINING","TUNE_IN","DS_VOLUME_SETTING","ASCENDING_ALARM_VOLUME","DREAM_TRAINING","SLEEP","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION","UPDATE_WIFI"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01617733TEOSFXYH858D","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A7WXQPH584YP","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090P30880520AM2","softwareVersion":"618622620"},{"accountName":"Partout","appDeviceList":[],"capabilities":["SALMON","MUSIC_SKILL","AMAZON_MUSIC","PANDORA","KINDLE_BOOKS","MICROPHONE","AUDIO_PLAYER","TUNE_IN","AUDIBLE","VOLUME_SETTING","I_HEART_RADIO"],"charging":null,"clusterMembers":["G070RR13817707HF","G000RA099122043V","G090P30880520AM2","G090LF1181750XBN"],"deviceAccountId":"A084413019YFFJSUFPNQB","deviceFamily":"WHA","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3C9PE6TNYLTCH","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"f45e663d1e9e452ab51fe73594f7a5c8","softwareVersion":"0"},{"accountName":"Mamour","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","PAIR_BT_SINK","PAIR_REMOTE","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","POPTART","TAHOE_BYOD","SUPPORTS_SOFTWARE_VERSION","SUPPORTS_CONNECTED_HOME","EARCONS","SOUND_SETTINGS","GOLDFISH","ACTIVE_AFTER_FRO","PAIR_BT_SOURCE","SUPPORT_CALENDAR_ALERT","TIMERS_AND_ALARMS","MUSIC_SKILL","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","REQUIRES_OOBE_FOR_SETUP","AUDIBLE","REMINDERS","SUPPORTS_CONNECTED_HOME_ALL","DEREGISTER_DEVICE","GADGETS","DEREGISTER_FACTORY_RESET","AUDIO_PLAYER","VOICE_TRAINING","TUNE_IN","DS_VOLUME_SETTING","ASCENDING_ALARM_VOLUME","DREAM_TRAINING","SLEEP","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION","UPDATE_WIFI"],"charging":null,"clusterMembers":[],"deviceAccountId":"A08132861XCW84F383LDJ","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3S5BH2HU6VAYF","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090LF1181750XBN","softwareVersion":"631550720"},{"accountName":"Titi Fire TV Stick","appDeviceList":[],"capabilities":["ARTHUR_TARGET","SUPPORTS_SOFTWARE_VERSION","MICROPHONE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","CHANGE_NAME","VOLUME_SETTING","ACTIVE_AFTER_FRO","FLASH_BRIEFING","PERSISTENT_CONNECTION"],"charging":null,"clusterMembers":[],"deviceAccountId":"A10186033N25HUSWWCURS","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ1090360HNE","softwareVersion":"632552020"},{"accountName":"Titi Echo Input","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","POPTART","TAHOE_BYOD","ALLOW_LOG_UPLOAD","SUPPORTS_SOFTWARE_VERSION","EARCONS","SOUND_SETTINGS","GOLDFISH","ACTIVE_AFTER_FRO","PAIR_BT_SOURCE","SUPPORT_CALENDAR_ALERT","TIMERS_AND_ALARMS","MUSIC_SKILL","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","REQUIRES_OOBE_FOR_SETUP","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIBLE","REMINDERS","DEREGISTER_DEVICE","GADGETS","AUDIO_PLAYER","VOICE_TRAINING","TUNE_IN","DS_VOLUME_SETTING","DREAM_TRAINING","SLEEP","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION","UPDATE_WIFI"],"charging":null,"clusterMembers":[],"deviceAccountId":"A05169693LL2CDOT7WP2H","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A1JJ0KFC4ZPNJ3","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090VP04902600AA","softwareVersion":"1913068932"},{"accountName":"Sylviane - Echo Show","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","PAIR_BT_SINK","FACTORY_RESET_DEVICE","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","POPTART","ALLOW_LOG_UPLOAD","SUPPORTS_SOFTWARE_VERSION","EARCONS","SOUND_SETTINGS","GOLDFISH","TUPLE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","TIMERS_AND_ALARMS","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIBLE","REMINDERS","SHARKNADO","TUPLE_CATEGORY_B","LOCAL_VOICE","AUDIO_PLAYER","TUNE_IN","VOICE_TRAINING","DS_VOLUME_SETTING","ASCENDING_ALARM_VOLUME","SLEEP","DREAM_TRAINING","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION"],"charging":null,"clusterMembers":[],"deviceAccountId":"A09481211653X4GDU88UM","deviceFamily":"KNIGHT","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"AWZZ5CVHX2CD","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G000RA099122043V","softwareVersion":"631551820"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A0832336G52TFFE8XEJD","deviceType":"A2TF17PFR55MTB","serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c"},{"deviceAccountId":"A024781410SWP46S56OU7","deviceType":"A2IVLV5VM2W81","serialNumber":"012DFEA671D9400594BA93F2D0A606D5"},{"deviceAccountId":"A0562556XC8V7APU0PX2","deviceType":"A2IVLV5VM2W81","serialNumber":"A5406CC797EA43909597900E501C70CA"},{"deviceAccountId":"A06679892CXJJ15M7LV5P","deviceType":"A2IVLV5VM2W81","serialNumber":"f69349fca7ba36af58128029f0e4bcf3"},{"deviceAccountId":"A04818631AK6NTX3MRDNS","deviceType":"A2IVLV5VM2W81","serialNumber":"e06325298e95e914801b837943926a79"}],"capabilities":["MICROPHONE","VOLUME_SETTING","REMINDERS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0832336G52TFFE8XEJD","deviceFamily":"VOX","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2TF17PFR55MTB","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c","softwareVersion":"130050002"},{"accountName":"Sylviane's Alexa Apps","appDeviceList":[{"deviceAccountId":"A15MM1CLYVFCFE","deviceType":"A2825NDLA7WDZV","serialNumber":"Alcatraz36212979931520252975"},{"deviceAccountId":"A05313503VPD8CXQ5TEYU","deviceType":"A2825NDLA7WDZV","serialNumber":"F297F3397D3348D08D3E185CF3D03F5B"}],"capabilities":["MICROPHONE","PEONY","VOLUME_SETTING"],"charging":null,"clusterMembers":[],"deviceAccountId":"A15MM1CLYVFCFE","deviceFamily":"AMAZONMOBILEMUSIC_IOS","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2825NDLA7WDZV","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"Alcatraz36212979931520252975","softwareVersion":"4"}]}
[2019-4-3 21:24:42] Alexa-Remote: No authentication check needed (time elapsed 1666)
[2019-4-3 21:24:42] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/wake-word?_=1554323082699","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:43] Alexa-Remote: Response: {"wakeWords":[{"active":true,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090P30880520AM2","deviceType":"A7WXQPH584YP","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G000RA099122043V","deviceType":"AWZZ5CVHX2CD","midFieldState":null,"wakeWord":"ALEXA"}]}
[2019-4-3 21:24:43] Alexa-Remote: No authentication check needed (time elapsed 2111)
[2019-4-3 21:24:43] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/notifications?cached=true&_=1554323083143","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:43] Alexa-Remote: Response: {"notifications":[{"alarmTime":1554188400000,"createdDate":1554151034396,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-6676ac09-91ec-39ac-baa2-9ca4e4073678","lastUpdatedDate":1554192000568,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"6676ac09-91ec-39ac-baa2-9ca4e4073678","originalDate":"2019-04-02","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Charge ma montre","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1552857638639,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-cf45ea77-561d-3611-a4ba-30595d18685b","lastUpdatedDate":1552899069667,"musicAlarmId":"c55ce8ea-f8a3-49e8-99f9-6c37565a0cd5","musicEntity":"Nostalgie","notificationIndex":"cf45ea77-561d-3611-a4ba-30595d18685b","originalDate":"2019-03-18","originalTime":"06:15:00.000","personProfile":null,"provider":"TuneIn","rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Adrift","folder":null,"id":"system_alerts_soothing_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_soothing_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"MusicAlarm","version":"8"},{"alarmTime":1554102000000,"createdDate":1554089665347,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-a6e7238b-afb3-36d0-bbf0-be1304a95670","lastUpdatedDate":1554102022024,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"a6e7238b-afb3-36d0-bbf0-be1304a95670","originalDate":"2019-04-01","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Il y feel obligé de la peine de cotisation","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1553292559519,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-dda91c96-b3fb-3fd0-bead-2c73b25bb260","lastUpdatedDate":1553320212188,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"dda91c96-b3fb-3fd0-bead-2c73b25bb260","originalDate":"2019-03-23","originalTime":"06:50:00.000","personProfile":null,"provider":null,"rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Alarm","version":"4"}]}
[2019-4-3 21:24:43] Alexa-API - New cookie saved to:/var/www/html/plugins/alexaapi/resources/data/alexa-cookie.json
[2019-4-3 21:24:43] Alexa-API: *******************************************
[2019-4-3 21:24:43] Alexa-API: *Server is already listening on port 3456 *
[2019-4-3 21:24:43] Alexa-API: *******************************************


Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

[DEV] Plugin Alexa-Api en BETA uniquement

Message par Nebz » 03 avr. 2019, 23:07

thierry38090 a écrit :Bonsoir,
Alexa ne parle plus ce soir, voici ma log

Code : Tout sélectionner


[2019-4-3 21:24:40] Alexa-API: Alexa.Speak
[2019-4-3 21:24:40] Alexa-API: device: G090LF1181750XBN
[2019-4-3 21:24:40] Alexa-API: text: attention porte entrée ouverte
[2019-4-3 21:24:40] Alexa-sendSequenceCommand: else
[2019-4-3 21:24:40] Alexa-Remote: No authentication check needed (time elapsed 573465)
[2019-4-3 21:24:40] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF1181750XBN\",\"locale\":\"fr-FR\",\"customerId\":\"A2AT3H8J6YK7W8\",\"textToSpeak\":\"attention porte entrée ouverte\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] *********************DEBUG****************************
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] **DEBUG**DEBUG*Alexa-Remote: Response: No/Invalid JSON
[2019-4-3 21:24:40] HTTP/1.1 0 x-amzn-RequestId: 8238a9a2-564e-11e9-a241-c15f70d4ff51
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Wed, 03 Apr 2019 20:24:40 GMT
Connection: close
[2019-4-3 21:24:40] **DEBUG**DEBUG* Message Exception :Unexpected token H in JSON at position 0
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] ***************FIND**CONNEXION CLOSE *****************
[2019-4-3 21:24:40] ******************************************************
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
[2019-4-3 21:24:40] Alexa-API: *****************************ERROR********************************
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
[2019-4-3 21:24:40] Connexion Close
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
Error: Connexion Close
at IncomingMessage.res.on (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:524:52)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
[2019-4-3 21:24:40] Alexa-API: ******************************************************************
[2019-4-3 21:24:40] Connexion Close détectée dans la détection d'erreur et donc relance de l'initialisation
[2019-4-3 21:24:40] Alexa-Remote: cookie was provided
[2019-4-3 21:24:40] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:41] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"sylvianeschneider@free.fr","customerId":"A2AT3H8J6YK7W8","customerName":"Sylviane SCHNEIDER"}}
[2019-4-3 21:24:41] Alexa-Remote: Authentication checked: true
[2019-4-3 21:24:41] Alexa-Remote: No authentication check needed (time elapsed 2)
[2019-4-3 21:24:41] Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:41] Alexa-Remote: Response: [{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","directedId":"amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","phoneCountryCode":"33","phoneNumber":"687067250","firstName":"Sylviane","lastName":"SCHNEIDER","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":true,"commsProvisioned":true,"speakerProvisioned":false},{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","directedId":"amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","phoneCountryCode":"33","phoneNumber":"677199398","firstName":"Thierry","lastName":"Schneider","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":false,"commsProvisioned":true,"speakerProvisioned":false}]
[2019-4-3 21:24:41] Alexa-Remote: No authentication check needed (time elapsed 528)
[2019-4-3 21:24:41] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=1554323081560","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:42] Alexa-Remote: Response: {"devices":[{"accountName":"Sissi Fire TV stick","appDeviceList":[],"capabilities":["ARTHUR_TARGET","SUPPORTS_SOFTWARE_VERSION","MICROPHONE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","CHANGE_NAME","VOLUME_SETTING","ACTIVE_AFTER_FRO","FLASH_BRIEFING","PERSISTENT_CONNECTION"],"charging":null,"clusterMembers":[],"deviceAccountId":"A1WU3ITBC4VOKR","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ0474260KQC","softwareVersion":"632552020"},{"accountName":"Chérie","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","PAIR_BT_SINK","FACTORY_RESET_DEVICE","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","ALLOW_LOG_UPLOAD","SUPPORTS_SOFTWARE_VERSION","EARCONS","SOUND_SETTINGS","GOLDFISH","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","TIMERS_AND_ALARMS","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIBLE","REMINDERS","SHARKNADO","AUDIO_PLAYER","TUNE_IN","VOICE_TRAINING","DS_VOLUME_SETTING","ASCENDING_ALARM_VOLUME","DREAM_TRAINING","SLEEP","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION"],"charging":null,"clusterMembers":[],"deviceAccountId":"A3VAMV0K68MRJI","deviceFamily":"ROOK","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A10A33FOX2NUBK","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070RR13817707HF","softwareVersion":"631551820"},{"accountName":"Salon","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","PAIR_BT_SINK","PAIR_REMOTE","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","POPTART","TUPLE_CATEGORY_A","TAHOE_BYOD","SUPPORTS_SOFTWARE_VERSION","EARCONS","SOUND_SETTINGS","GOLDFISH","ACTIVE_AFTER_FRO","TUPLE","PAIR_BT_SOURCE","SUPPORT_CALENDAR_ALERT","TIMERS_AND_ALARMS","MUSIC_SKILL","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","REQUIRES_OOBE_FOR_SETUP","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIBLE","REMINDERS","DEREGISTER_DEVICE","GADGETS","DEREGISTER_FACTORY_RESET","AUDIO_PLAYER","VOICE_TRAINING","TUNE_IN","DS_VOLUME_SETTING","ASCENDING_ALARM_VOLUME","DREAM_TRAINING","SLEEP","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION","UPDATE_WIFI"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01617733TEOSFXYH858D","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A7WXQPH584YP","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090P30880520AM2","softwareVersion":"618622620"},{"accountName":"Partout","appDeviceList":[],"capabilities":["SALMON","MUSIC_SKILL","AMAZON_MUSIC","PANDORA","KINDLE_BOOKS","MICROPHONE","AUDIO_PLAYER","TUNE_IN","AUDIBLE","VOLUME_SETTING","I_HEART_RADIO"],"charging":null,"clusterMembers":["G070RR13817707HF","G000RA099122043V","G090P30880520AM2","G090LF1181750XBN"],"deviceAccountId":"A084413019YFFJSUFPNQB","deviceFamily":"WHA","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3C9PE6TNYLTCH","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"f45e663d1e9e452ab51fe73594f7a5c8","softwareVersion":"0"},{"accountName":"Mamour","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","PAIR_BT_SINK","PAIR_REMOTE","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","POPTART","TAHOE_BYOD","SUPPORTS_SOFTWARE_VERSION","SUPPORTS_CONNECTED_HOME","EARCONS","SOUND_SETTINGS","GOLDFISH","ACTIVE_AFTER_FRO","PAIR_BT_SOURCE","SUPPORT_CALENDAR_ALERT","TIMERS_AND_ALARMS","MUSIC_SKILL","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","REQUIRES_OOBE_FOR_SETUP","AUDIBLE","REMINDERS","SUPPORTS_CONNECTED_HOME_ALL","DEREGISTER_DEVICE","GADGETS","DEREGISTER_FACTORY_RESET","AUDIO_PLAYER","VOICE_TRAINING","TUNE_IN","DS_VOLUME_SETTING","ASCENDING_ALARM_VOLUME","DREAM_TRAINING","SLEEP","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION","UPDATE_WIFI"],"charging":null,"clusterMembers":[],"deviceAccountId":"A08132861XCW84F383LDJ","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3S5BH2HU6VAYF","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090LF1181750XBN","softwareVersion":"631550720"},{"accountName":"Titi Fire TV Stick","appDeviceList":[],"capabilities":["ARTHUR_TARGET","SUPPORTS_SOFTWARE_VERSION","MICROPHONE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","CHANGE_NAME","VOLUME_SETTING","ACTIVE_AFTER_FRO","FLASH_BRIEFING","PERSISTENT_CONNECTION"],"charging":null,"clusterMembers":[],"deviceAccountId":"A10186033N25HUSWWCURS","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ1090360HNE","softwareVersion":"632552020"},{"accountName":"Titi Echo Input","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","POPTART","TAHOE_BYOD","ALLOW_LOG_UPLOAD","SUPPORTS_SOFTWARE_VERSION","EARCONS","SOUND_SETTINGS","GOLDFISH","ACTIVE_AFTER_FRO","PAIR_BT_SOURCE","SUPPORT_CALENDAR_ALERT","TIMERS_AND_ALARMS","MUSIC_SKILL","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","REQUIRES_OOBE_FOR_SETUP","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIBLE","REMINDERS","DEREGISTER_DEVICE","GADGETS","AUDIO_PLAYER","VOICE_TRAINING","TUNE_IN","DS_VOLUME_SETTING","DREAM_TRAINING","SLEEP","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION","UPDATE_WIFI"],"charging":null,"clusterMembers":[],"deviceAccountId":"A05169693LL2CDOT7WP2H","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A1JJ0KFC4ZPNJ3","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090VP04902600AA","softwareVersion":"1913068932"},{"accountName":"Sylviane - Echo Show","appDeviceList":[],"capabilities":["SALMON","KINDLE_BOOKS","PAIR_BT_SINK","FACTORY_RESET_DEVICE","CHANGE_NAME","FAR_FIELD_WAKE_WORD","I_HEART_RADIO","LEMUR_ALPHA","SET_LOCALE","POPTART","ALLOW_LOG_UPLOAD","SUPPORTS_SOFTWARE_VERSION","EARCONS","SOUND_SETTINGS","GOLDFISH","TUPLE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","TIMERS_AND_ALARMS","AMAZON_MUSIC","PANDORA","CUSTOM_ALARM_TONE","MICROPHONE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIBLE","REMINDERS","SHARKNADO","TUPLE_CATEGORY_B","LOCAL_VOICE","AUDIO_PLAYER","TUNE_IN","VOICE_TRAINING","DS_VOLUME_SETTING","ASCENDING_ALARM_VOLUME","SLEEP","DREAM_TRAINING","VOLUME_SETTING","FLASH_BRIEFING","PERSISTENT_CONNECTION"],"charging":null,"clusterMembers":[],"deviceAccountId":"A09481211653X4GDU88UM","deviceFamily":"KNIGHT","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"AWZZ5CVHX2CD","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G000RA099122043V","softwareVersion":"631551820"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A0832336G52TFFE8XEJD","deviceType":"A2TF17PFR55MTB","serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c"},{"deviceAccountId":"A024781410SWP46S56OU7","deviceType":"A2IVLV5VM2W81","serialNumber":"012DFEA671D9400594BA93F2D0A606D5"},{"deviceAccountId":"A0562556XC8V7APU0PX2","deviceType":"A2IVLV5VM2W81","serialNumber":"A5406CC797EA43909597900E501C70CA"},{"deviceAccountId":"A06679892CXJJ15M7LV5P","deviceType":"A2IVLV5VM2W81","serialNumber":"f69349fca7ba36af58128029f0e4bcf3"},{"deviceAccountId":"A04818631AK6NTX3MRDNS","deviceType":"A2IVLV5VM2W81","serialNumber":"e06325298e95e914801b837943926a79"}],"capabilities":["MICROPHONE","VOLUME_SETTING","REMINDERS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0832336G52TFFE8XEJD","deviceFamily":"VOX","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2TF17PFR55MTB","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c","softwareVersion":"130050002"},{"accountName":"Sylviane's Alexa Apps","appDeviceList":[{"deviceAccountId":"A15MM1CLYVFCFE","deviceType":"A2825NDLA7WDZV","serialNumber":"Alcatraz36212979931520252975"},{"deviceAccountId":"A05313503VPD8CXQ5TEYU","deviceType":"A2825NDLA7WDZV","serialNumber":"F297F3397D3348D08D3E185CF3D03F5B"}],"capabilities":["MICROPHONE","PEONY","VOLUME_SETTING"],"charging":null,"clusterMembers":[],"deviceAccountId":"A15MM1CLYVFCFE","deviceFamily":"AMAZONMOBILEMUSIC_IOS","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2825NDLA7WDZV","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"Alcatraz36212979931520252975","softwareVersion":"4"}]}
[2019-4-3 21:24:42] Alexa-Remote: No authentication check needed (time elapsed 1666)
[2019-4-3 21:24:42] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/wake-word?_=1554323082699","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:43] Alexa-Remote: Response: {"wakeWords":[{"active":true,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090P30880520AM2","deviceType":"A7WXQPH584YP","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G000RA099122043V","deviceType":"AWZZ5CVHX2CD","midFieldState":null,"wakeWord":"ALEXA"}]}
[2019-4-3 21:24:43] Alexa-Remote: No authentication check needed (time elapsed 2111)
[2019-4-3 21:24:43] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/notifications?cached=true&_=1554323083143","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 21:24:43] Alexa-Remote: Response: {"notifications":[{"alarmTime":1554188400000,"createdDate":1554151034396,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-6676ac09-91ec-39ac-baa2-9ca4e4073678","lastUpdatedDate":1554192000568,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"6676ac09-91ec-39ac-baa2-9ca4e4073678","originalDate":"2019-04-02","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Charge ma montre","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1552857638639,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-cf45ea77-561d-3611-a4ba-30595d18685b","lastUpdatedDate":1552899069667,"musicAlarmId":"c55ce8ea-f8a3-49e8-99f9-6c37565a0cd5","musicEntity":"Nostalgie","notificationIndex":"cf45ea77-561d-3611-a4ba-30595d18685b","originalDate":"2019-03-18","originalTime":"06:15:00.000","personProfile":null,"provider":"TuneIn","rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Adrift","folder":null,"id":"system_alerts_soothing_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_soothing_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"MusicAlarm","version":"8"},{"alarmTime":1554102000000,"createdDate":1554089665347,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-a6e7238b-afb3-36d0-bbf0-be1304a95670","lastUpdatedDate":1554102022024,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"a6e7238b-afb3-36d0-bbf0-be1304a95670","originalDate":"2019-04-01","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Il y feel obligé de la peine de cotisation","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1553292559519,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-dda91c96-b3fb-3fd0-bead-2c73b25bb260","lastUpdatedDate":1553320212188,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"dda91c96-b3fb-3fd0-bead-2c73b25bb260","originalDate":"2019-03-23","originalTime":"06:50:00.000","personProfile":null,"provider":null,"rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Alarm","version":"4"}]}
[2019-4-3 21:24:43] Alexa-API - New cookie saved to:/var/www/html/plugins/alexaapi/resources/data/alexa-cookie.json
[2019-4-3 21:24:43] Alexa-API: *******************************************
[2019-4-3 21:24:43] Alexa-API: *Server is already listening on port 3456 *
[2019-4-3 21:24:43] Alexa-API: *******************************************

Donc il semble bien relancer la reconnexion . Et après ça, sans relancer le démon normalement il est sensé refonctionner tout seul, est-ce le cas ?

(Pour l'instant la phrase initiale de fermeture de porte que tu envoyais est perdue, mais on cherche un moyen pour la rejouer après la reconnexion automatique)


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

thierry38090
Timide
Messages : 40
Inscription : 02 mars 2019, 15:22

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par thierry38090 » 03 avr. 2019, 23:32

Non sans relancer le démon Alexa ne parle toujours pas et dans la log j'ai toujours le même message d'erreur.
Et pourtant dans la log Alexaapi j'ai ça :

Code : Tout sélectionner

[2019-04-03 23:28:00][DEBUG] : buildSpeakRequest
[2019-04-03 23:28:00][INFO] : Request : http://192.168.0.35:3456/speak?text=test&device=G090LF1181750XBN
[2019-04-03 23:28:01][DEBUG] : Result : {}
[2019-04-03 23:30:06][DEBUG] : Etat authentification Amazon : OK

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par Nebz » 03 avr. 2019, 23:33

thierry38090 a écrit :Non sans relancer le démon Alexa ne parle toujours pas et dans la log j'ai toujours le même message d'erreur.
Et pourtant dans la log Alexaapi j'ai ça :

Code : Tout sélectionner

[2019-04-03 23:28:00][DEBUG] : buildSpeakRequest
[2019-04-03 23:28:00][INFO] : Request : http://192.168.0.35:3456/speak?text=test&device=G090LF1181750XBN
[2019-04-03 23:28:01][DEBUG] : Result : {}
[2019-04-03 23:30:06][DEBUG] : Etat authentification Amazon : OK
Oui oui mais ça ne veut rien dire. Ce qui m'intéresse c'est le même Log que ton message précédent mais lors de ta tentative qui suit juste ce Que tu as envoyé


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

thierry38090
Timide
Messages : 40
Inscription : 02 mars 2019, 15:22

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par thierry38090 » 03 avr. 2019, 23:39

Ok je viens d'essayer de faire parler Alexa à nouveau et voici la log :

Code : Tout sélectionner

[2019-4-3 22:37:34] Alexa-API: Alexa.Speak
[2019-4-3 22:37:34] Alexa-API: device: G090LF1181750XBN
[2019-4-3 22:37:34] Alexa-API: text: test
[2019-4-3 22:37:34] Alexa-sendSequenceCommand: else
[2019-4-3 22:37:34] Alexa-Remote: No authentication check needed (time elapsed 572073)
[2019-4-3 22:37:34] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF1181750XBN\",\"locale\":\"fr-FR\",\"customerId\":\"A2AT3H8J6YK7W8\",\"textToSpeak\":\"test\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
[2019-4-3 22:37:34] ******************************************************
[2019-4-3 22:37:34] *********************DEBUG****************************
[2019-4-3 22:37:34] ******************************************************
[2019-4-3 22:37:34] **DEBUG**DEBUG*Alexa-Remote: Response: No/Invalid JSON
[2019-4-3 22:37:34] HTTP/1.1 0 x-amzn-RequestId: b19b0d0b-5658-11e9-a76f-c565338ef1e6
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Wed, 03 Apr 2019 21:37:34 GMT
Connection: close
[2019-4-3 22:37:34] **DEBUG**DEBUG* Message Exception :Unexpected token H in JSON at position 0
[2019-4-3 22:37:34] ******************************************************
[2019-4-3 22:37:34] ******************************************************
[2019-4-3 22:37:34] ******************************************************
[2019-4-3 22:37:34] ***************FIND**CONNEXION CLOSE *****************
[2019-4-3 22:37:34] ******************************************************
[2019-4-3 22:37:34] Alexa-API: ******************************************************************
[2019-4-3 22:37:34] Alexa-API: *****************************ERROR********************************
[2019-4-3 22:37:34] Alexa-API: ******************************************************************
[2019-4-3 22:37:34] Connexion Close
[2019-4-3 22:37:34] Alexa-API: ******************************************************************
Error: Connexion Close
at IncomingMessage.res.on (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:524:52)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
[2019-4-3 22:37:34] Alexa-API: ******************************************************************
[2019-4-3 22:37:34] Alexa-API: ******************************************************************
[2019-4-3 22:37:34] Connexion Close détectée dans la détection d'erreur et donc relance de l'initialisation
[2019-4-3 22:37:34] Alexa-Remote: cookie was provided
[2019-4-3 22:37:34] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:37:35] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"sylvianeschneider@free.fr","customerId":"A2AT3H8J6YK7W8","customerName":"Sylviane SCHNEIDER"}}
[2019-4-3 22:37:35] Alexa-Remote: Authentication checked: true
[2019-4-3 22:37:35] Alexa-Remote: No authentication check needed (time elapsed 1)
[2019-4-3 22:37:35] Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:37:35] Alexa-Remote: Response: [{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","directedId":"amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","phoneCountryCode":"33","phoneNumber":"687067250","firstName":"Sylviane","lastName":"SCHNEIDER","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":true,"commsProvisioned":true,"speakerProvisioned":false},{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","directedId":"amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","phoneCountryCode":"33","phoneNumber":"677199398","firstName":"Thierry","lastName":"Schneider","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":false,"commsProvisioned":true,"speakerProvisioned":false}]
[2019-4-3 22:37:35] Alexa-Remote: No authentication check needed (time elapsed 324)
[2019-4-3 22:37:35] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=1554327455911","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:37:40] Alexa-Remote: Response: {"devices":[{"accountName":"Sissi Fire TV stick","appDeviceList":[],"capabilities":["CHANGE_NAME","ACTIVE_AFTER_FRO","FLASH_BRIEFING","PERSISTENT_CONNECTION","SUPPORTS_SOFTWARE_VERSION","MICROPHONE","VOLUME_SETTING","ARTHUR_TARGET","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY"],"charging":null,"clusterMembers":[],"deviceAccountId":"A1WU3ITBC4VOKR","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ0474260KQC","softwareVersion":"632552020"},{"accountName":"Chérie","appDeviceList":[],"capabilities":["PANDORA","KINDLE_BOOKS","DREAM_TRAINING","SUPPORTS_SOFTWARE_VERSION","REMINDERS","ALLOW_LOG_UPLOAD","MICROPHONE","MUSIC_SKILL","AMAZON_MUSIC","LEMUR_ALPHA","CHANGE_NAME","I_HEART_RADIO","FACTORY_RESET_DEVICE","AUDIO_PLAYER","SLEEP","VOLUME_SETTING","FAR_FIELD_WAKE_WORD","SET_LOCALE","SALMON","VOICE_TRAINING","SHARKNADO","SUPPORT_CALENDAR_ALERT","AUDIBLE","EARCONS","ASCENDING_ALARM_VOLUME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","FLASH_BRIEFING","TIMERS_AND_ALARMS","PERSISTENT_CONNECTION","CUSTOM_ALARM_TONE","GOLDFISH","PAIR_BT_SINK","DS_VOLUME_SETTING","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A3VAMV0K68MRJI","deviceFamily":"ROOK","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A10A33FOX2NUBK","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070RR13817707HF","softwareVersion":"631551820"},{"accountName":"Salon","appDeviceList":[],"capabilities":["PANDORA","KINDLE_BOOKS","PAIR_BT_SOURCE","DREAM_TRAINING","REMINDERS","SUPPORTS_SOFTWARE_VERSION","MICROPHONE","MUSIC_SKILL","AMAZON_MUSIC","LEMUR_ALPHA","TUPLE","REQUIRES_OOBE_FOR_SETUP","CHANGE_NAME","ACTIVE_AFTER_FRO","I_HEART_RADIO","AUDIO_PLAYER","SLEEP","VOLUME_SETTING","FAR_FIELD_WAKE_WORD","SET_LOCALE","SALMON","TUPLE_CATEGORY_A","PAIR_REMOTE","VOICE_TRAINING","GADGETS","SUPPORT_CALENDAR_ALERT","AUDIBLE","EARCONS","ASCENDING_ALARM_VOLUME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","UPDATE_WIFI","TUNE_IN","TIMERS_AND_ALARMS","FLASH_BRIEFING","DEREGISTER_FACTORY_RESET","PERSISTENT_CONNECTION","POPTART","DEREGISTER_DEVICE","CUSTOM_ALARM_TONE","GOLDFISH","PAIR_BT_SINK","DS_VOLUME_SETTING","SOUND_SETTINGS","TAHOE_BYOD"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01617733TEOSFXYH858D","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A7WXQPH584YP","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090P30880520AM2","softwareVersion":"618622620"},{"accountName":"Partout","appDeviceList":[],"capabilities":["KINDLE_BOOKS","PANDORA","TUNE_IN","I_HEART_RADIO","AUDIO_PLAYER","MICROPHONE","MUSIC_SKILL","VOLUME_SETTING","AUDIBLE","SALMON","AMAZON_MUSIC"],"charging":null,"clusterMembers":["G070RR13817707HF","G000RA099122043V","G090P30880520AM2","G090LF1181750XBN"],"deviceAccountId":"A084413019YFFJSUFPNQB","deviceFamily":"WHA","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3C9PE6TNYLTCH","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"f45e663d1e9e452ab51fe73594f7a5c8","softwareVersion":"0"},{"accountName":"Mamour","appDeviceList":[],"capabilities":["PANDORA","KINDLE_BOOKS","PAIR_BT_SOURCE","DREAM_TRAINING","REMINDERS","SUPPORTS_SOFTWARE_VERSION","MICROPHONE","MUSIC_SKILL","AMAZON_MUSIC","LEMUR_ALPHA","REQUIRES_OOBE_FOR_SETUP","CHANGE_NAME","ACTIVE_AFTER_FRO","I_HEART_RADIO","AUDIO_PLAYER","SLEEP","VOLUME_SETTING","FAR_FIELD_WAKE_WORD","SET_LOCALE","SALMON","PAIR_REMOTE","VOICE_TRAINING","SUPPORTS_CONNECTED_HOME_ALL","GADGETS","SUPPORT_CALENDAR_ALERT","AUDIBLE","EARCONS","ASCENDING_ALARM_VOLUME","UPDATE_WIFI","TUNE_IN","TIMERS_AND_ALARMS","FLASH_BRIEFING","DEREGISTER_FACTORY_RESET","PERSISTENT_CONNECTION","POPTART","DEREGISTER_DEVICE","CUSTOM_ALARM_TONE","GOLDFISH","PAIR_BT_SINK","DS_VOLUME_SETTING","SOUND_SETTINGS","SUPPORTS_CONNECTED_HOME","TAHOE_BYOD"],"charging":null,"clusterMembers":[],"deviceAccountId":"A08132861XCW84F383LDJ","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3S5BH2HU6VAYF","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090LF1181750XBN","softwareVersion":"631550720"},{"accountName":"Titi Fire TV Stick","appDeviceList":[],"capabilities":["CHANGE_NAME","ACTIVE_AFTER_FRO","FLASH_BRIEFING","PERSISTENT_CONNECTION","SUPPORTS_SOFTWARE_VERSION","MICROPHONE","VOLUME_SETTING","ARTHUR_TARGET","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY"],"charging":null,"clusterMembers":[],"deviceAccountId":"A10186033N25HUSWWCURS","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ1090360HNE","softwareVersion":"632552020"},{"accountName":"Titi Echo Input","appDeviceList":[],"capabilities":["PANDORA","KINDLE_BOOKS","PAIR_BT_SOURCE","DREAM_TRAINING","REMINDERS","SUPPORTS_SOFTWARE_VERSION","ALLOW_LOG_UPLOAD","MICROPHONE","MUSIC_SKILL","AMAZON_MUSIC","LEMUR_ALPHA","REQUIRES_OOBE_FOR_SETUP","CHANGE_NAME","ACTIVE_AFTER_FRO","I_HEART_RADIO","AUDIO_PLAYER","SLEEP","VOLUME_SETTING","FAR_FIELD_WAKE_WORD","SET_LOCALE","SALMON","VOICE_TRAINING","GADGETS","SUPPORT_CALENDAR_ALERT","AUDIBLE","EARCONS","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","UPDATE_WIFI","TUNE_IN","TIMERS_AND_ALARMS","FLASH_BRIEFING","PERSISTENT_CONNECTION","POPTART","DEREGISTER_DEVICE","CUSTOM_ALARM_TONE","GOLDFISH","DS_VOLUME_SETTING","SOUND_SETTINGS","TAHOE_BYOD"],"charging":null,"clusterMembers":[],"deviceAccountId":"A05169693LL2CDOT7WP2H","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A1JJ0KFC4ZPNJ3","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090VP04902600AA","softwareVersion":"1913068932"},{"accountName":"Sylviane - Echo Show","appDeviceList":[],"capabilities":["PANDORA","KINDLE_BOOKS","DREAM_TRAINING","SUPPORTS_SOFTWARE_VERSION","REMINDERS","ALLOW_LOG_UPLOAD","MICROPHONE","MUSIC_SKILL","AMAZON_MUSIC","LEMUR_ALPHA","TUPLE","CHANGE_NAME","I_HEART_RADIO","FACTORY_RESET_DEVICE","AUDIO_PLAYER","SLEEP","VOLUME_SETTING","FAR_FIELD_WAKE_WORD","SET_LOCALE","SALMON","VOICE_TRAINING","TUPLE_CATEGORY_B","SHARKNADO","SUPPORT_CALENDAR_ALERT","AUDIBLE","EARCONS","ASCENDING_ALARM_VOLUME","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","LOCAL_VOICE","TUNE_IN","FLASH_BRIEFING","TIMERS_AND_ALARMS","PERSISTENT_CONNECTION","POPTART","CUSTOM_ALARM_TONE","GOLDFISH","PAIR_BT_SINK","DS_VOLUME_SETTING","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A09481211653X4GDU88UM","deviceFamily":"KNIGHT","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"AWZZ5CVHX2CD","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G000RA099122043V","softwareVersion":"631551820"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A0832336G52TFFE8XEJD","deviceType":"A2TF17PFR55MTB","serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c"},{"deviceAccountId":"A024781410SWP46S56OU7","deviceType":"A2IVLV5VM2W81","serialNumber":"012DFEA671D9400594BA93F2D0A606D5"},{"deviceAccountId":"A0562556XC8V7APU0PX2","deviceType":"A2IVLV5VM2W81","serialNumber":"A5406CC797EA43909597900E501C70CA"},{"deviceAccountId":"A06679892CXJJ15M7LV5P","deviceType":"A2IVLV5VM2W81","serialNumber":"f69349fca7ba36af58128029f0e4bcf3"},{"deviceAccountId":"A04818631AK6NTX3MRDNS","deviceType":"A2IVLV5VM2W81","serialNumber":"e06325298e95e914801b837943926a79"}],"capabilities":["REMINDERS","MICROPHONE","VOLUME_SETTING"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0832336G52TFFE8XEJD","deviceFamily":"VOX","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2TF17PFR55MTB","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c","softwareVersion":"130050002"},{"accountName":"Sylviane's Alexa Apps","appDeviceList":[{"deviceAccountId":"A15MM1CLYVFCFE","deviceType":"A2825NDLA7WDZV","serialNumber":"Alcatraz36212979931520252975"},{"deviceAccountId":"A05313503VPD8CXQ5TEYU","deviceType":"A2825NDLA7WDZV","serialNumber":"F297F3397D3348D08D3E185CF3D03F5B"}],"capabilities":["MICROPHONE","VOLUME_SETTING","PEONY"],"charging":null,"clusterMembers":[],"deviceAccountId":"A15MM1CLYVFCFE","deviceFamily":"AMAZONMOBILEMUSIC_IOS","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2825NDLA7WDZV","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"Alcatraz36212979931520252975","softwareVersion":"4"}]}
[2019-4-3 22:37:40] Alexa-Remote: No authentication check needed (time elapsed 5246)
[2019-4-3 22:37:40] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/wake-word?_=1554327460833","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:37:41] Alexa-Remote: Response: {"wakeWords":[{"active":true,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090P30880520AM2","deviceType":"A7WXQPH584YP","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G000RA099122043V","deviceType":"AWZZ5CVHX2CD","midFieldState":null,"wakeWord":"ALEXA"}]}
[2019-4-3 22:37:41] Alexa-Remote: No authentication check needed (time elapsed 5671)
[2019-4-3 22:37:41] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/notifications?cached=true&_=1554327461258","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:37:41] Alexa-Remote: Response: {"notifications":[{"alarmTime":1554188400000,"createdDate":1554151034396,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-6676ac09-91ec-39ac-baa2-9ca4e4073678","lastUpdatedDate":1554192000568,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"6676ac09-91ec-39ac-baa2-9ca4e4073678","originalDate":"2019-04-02","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Charge ma montre","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1552857638639,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-cf45ea77-561d-3611-a4ba-30595d18685b","lastUpdatedDate":1552899069667,"musicAlarmId":"c55ce8ea-f8a3-49e8-99f9-6c37565a0cd5","musicEntity":"Nostalgie","notificationIndex":"cf45ea77-561d-3611-a4ba-30595d18685b","originalDate":"2019-03-18","originalTime":"06:15:00.000","personProfile":null,"provider":"TuneIn","rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Adrift","folder":null,"id":"system_alerts_soothing_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_soothing_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"MusicAlarm","version":"8"},{"alarmTime":1554102000000,"createdDate":1554089665347,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-a6e7238b-afb3-36d0-bbf0-be1304a95670","lastUpdatedDate":1554102022024,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"a6e7238b-afb3-36d0-bbf0-be1304a95670","originalDate":"2019-04-01","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Il y feel obligé de la peine de cotisation","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1553292559519,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-dda91c96-b3fb-3fd0-bead-2c73b25bb260","lastUpdatedDate":1553320212188,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"dda91c96-b3fb-3fd0-bead-2c73b25bb260","originalDate":"2019-03-23","originalTime":"06:50:00.000","personProfile":null,"provider":null,"rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Alarm","version":"4"}]}
[2019-4-3 22:37:41] Alexa-API - New cookie saved to:/var/www/html/plugins/alexaapi/resources/data/alexa-cookie.json
[2019-4-3 22:37:41] Alexa-API: *******************************************
[2019-4-3 22:37:41] Alexa-API: *Server is already listening on port 3456 *
[2019-4-3 22:37:41] Alexa-API: *******************************************

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par Nebz » 03 avr. 2019, 23:42

Maintenant relance direct un speak stp ?


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

thierry38090
Timide
Messages : 40
Inscription : 02 mars 2019, 15:22

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par thierry38090 » 03 avr. 2019, 23:53

Idem :

Code : Tout sélectionner

[2019-4-3 22:50:16] Alexa-API: Alexa.Speak
[2019-4-3 22:50:16] Alexa-API: device: G090LF1181750XBN
[2019-4-3 22:50:16] Alexa-API: text: Ceci est un test de message pour la commande Speak
[2019-4-3 22:50:16] Alexa-sendSequenceCommand: else
[2019-4-3 22:50:16] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:17] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"sylvianeschneider@free.fr","customerId":"A2AT3H8J6YK7W8","customerName":"Sylviane SCHNEIDER"}}
[2019-4-3 22:50:17] Alexa-Remote: Authentication check successfull
[2019-4-3 22:50:17] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF1181750XBN\",\"locale\":\"fr-FR\",\"customerId\":\"A2AT3H8J6YK7W8\",\"textToSpeak\":\"Ceci est un test de message pour la commande Speak\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] *********************DEBUG****************************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] **DEBUG**DEBUG*Alexa-Remote: Response: No/Invalid JSON
[2019-4-3 22:50:17] HTTP/1.1 0 x-amzn-RequestId: 780ddb4a-565a-11e9-98d7-39ffa43f27aa
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Wed, 03 Apr 2019 21:50:16 GMT
Connection: close
[2019-4-3 22:50:17] **DEBUG**DEBUG* Message Exception :Unexpected token H in JSON at position 0
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] ***************FIND**CONNEXION CLOSE *****************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Alexa-API: *****************************ERROR********************************
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Connexion Close
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
Error: Connexion Close
at IncomingMessage.res.on (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:524:52)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Connexion Close détectée dans la détection d'erreur et donc relance de l'initialisation
[2019-4-3 22:50:17] Alexa-Remote: cookie was provided
[2019-4-3 22:50:17] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:17] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"sylvianeschneider@free.fr","customerId":"A2AT3H8J6YK7W8","customerName":"Sylviane SCHNEIDER"}}
[2019-4-3 22:50:17] Alexa-Remote: Authentication checked: true
[2019-4-3 22:50:17] Alexa-Remote: No authentication check needed (time elapsed 0)
[2019-4-3 22:50:17] Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:18] Alexa-Remote: Response: [{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","directedId":"amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","phoneCountryCode":"33","phoneNumber":"687067250","firstName":"Sylviane","lastName":"SCHNEIDER","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":true,"commsProvisioned":true,"speakerProvisioned":false},{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","directedId":"amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","phoneCountryCode":"33","phoneNumber":"677199398","firstName":"Thierry","lastName":"Schneider","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":false,"commsProvisioned":true,"speakerProvisioned":false}]
[2019-4-3 22:50:18] Alexa-Remote: No authentication check needed (time elapsed 460)
[2019-4-3 22:50:18] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=1554328218369","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:19] Alexa-Remote: Response: {"devices":[{"accountName":"Sissi Fire TV stick","appDeviceList":[],"capabilities":["FLASH_BRIEFING","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","PERSISTENT_CONNECTION","CHANGE_NAME","ACTIVE_AFTER_FRO","VOLUME_SETTING","MICROPHONE","SUPPORTS_SOFTWARE_VERSION","ARTHUR_TARGET"],"charging":null,"clusterMembers":[],"deviceAccountId":"A1WU3ITBC4VOKR","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ0474260KQC","softwareVersion":"632552020"},{"accountName":"Chérie","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","FACTORY_RESET_DEVICE","PANDORA","GOLDFISH","EARCONS","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","TUNE_IN","DS_VOLUME_SETTING","SLEEP","ASCENDING_ALARM_VOLUME","FAR_FIELD_WAKE_WORD","CHANGE_NAME","AUDIBLE","CUSTOM_ALARM_TONE","REMINDERS","I_HEART_RADIO","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","SHARKNADO","VOICE_TRAINING","SUPPORTS_SOFTWARE_VERSION","TIMERS_AND_ALARMS","DREAM_TRAINING","ALLOW_LOG_UPLOAD","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A3VAMV0K68MRJI","deviceFamily":"ROOK","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A10A33FOX2NUBK","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070RR13817707HF","softwareVersion":"631551820"},{"accountName":"Salon","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","POPTART","GOLDFISH","EARCONS","REQUIRES_OOBE_FOR_SETUP","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","ACTIVE_AFTER_FRO","TUNE_IN","DS_VOLUME_SETTING","DEREGISTER_DEVICE","SLEEP","ASCENDING_ALARM_VOLUME","DEREGISTER_FACTORY_RESET","FAR_FIELD_WAKE_WORD","CHANGE_NAME","PAIR_REMOTE","AUDIBLE","REMINDERS","CUSTOM_ALARM_TONE","TAHOE_BYOD","I_HEART_RADIO","PAIR_BT_SOURCE","GADGETS","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","UPDATE_WIFI","VOICE_TRAINING","TUPLE_CATEGORY_A","TIMERS_AND_ALARMS","SUPPORTS_SOFTWARE_VERSION","DREAM_TRAINING","TUPLE","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01617733TEOSFXYH858D","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A7WXQPH584YP","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090P30880520AM2","softwareVersion":"618622620"},{"accountName":"Partout","appDeviceList":[],"capabilities":["SALMON","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","AUDIBLE","AMAZON_MUSIC","VOLUME_SETTING","I_HEART_RADIO","TUNE_IN","MICROPHONE","MUSIC_SKILL"],"charging":null,"clusterMembers":["G070RR13817707HF","G000RA099122043V","G090P30880520AM2","G090LF1181750XBN"],"deviceAccountId":"A084413019YFFJSUFPNQB","deviceFamily":"WHA","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3C9PE6TNYLTCH","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"f45e663d1e9e452ab51fe73594f7a5c8","softwareVersion":"0"},{"accountName":"Mamour","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","POPTART","GOLDFISH","EARCONS","REQUIRES_OOBE_FOR_SETUP","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","SUPPORTS_CONNECTED_HOME","MUSIC_SKILL","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","ACTIVE_AFTER_FRO","TUNE_IN","DS_VOLUME_SETTING","DEREGISTER_DEVICE","SLEEP","ASCENDING_ALARM_VOLUME","DEREGISTER_FACTORY_RESET","FAR_FIELD_WAKE_WORD","CHANGE_NAME","PAIR_REMOTE","AUDIBLE","REMINDERS","CUSTOM_ALARM_TONE","TAHOE_BYOD","I_HEART_RADIO","PAIR_BT_SOURCE","GADGETS","FLASH_BRIEFING","SET_LOCALE","UPDATE_WIFI","VOICE_TRAINING","TIMERS_AND_ALARMS","SUPPORTS_CONNECTED_HOME_ALL","SUPPORTS_SOFTWARE_VERSION","DREAM_TRAINING","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A08132861XCW84F383LDJ","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3S5BH2HU6VAYF","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090LF1181750XBN","softwareVersion":"631550720"},{"accountName":"Titi Fire TV Stick","appDeviceList":[],"capabilities":["FLASH_BRIEFING","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","PERSISTENT_CONNECTION","CHANGE_NAME","ACTIVE_AFTER_FRO","VOLUME_SETTING","MICROPHONE","SUPPORTS_SOFTWARE_VERSION","ARTHUR_TARGET"],"charging":null,"clusterMembers":[],"deviceAccountId":"A10186033N25HUSWWCURS","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ1090360HNE","softwareVersion":"632552020"},{"accountName":"Titi Echo Input","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","POPTART","GOLDFISH","EARCONS","REQUIRES_OOBE_FOR_SETUP","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LEMUR_ALPHA","AMAZON_MUSIC","ACTIVE_AFTER_FRO","TUNE_IN","DS_VOLUME_SETTING","DEREGISTER_DEVICE","SLEEP","FAR_FIELD_WAKE_WORD","CHANGE_NAME","AUDIBLE","REMINDERS","CUSTOM_ALARM_TONE","TAHOE_BYOD","I_HEART_RADIO","PAIR_BT_SOURCE","GADGETS","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","UPDATE_WIFI","VOICE_TRAINING","TIMERS_AND_ALARMS","SUPPORTS_SOFTWARE_VERSION","DREAM_TRAINING","ALLOW_LOG_UPLOAD","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A05169693LL2CDOT7WP2H","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A1JJ0KFC4ZPNJ3","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090VP04902600AA","softwareVersion":"1913068932"},{"accountName":"Sylviane - Echo Show","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","FACTORY_RESET_DEVICE","PANDORA","POPTART","GOLDFISH","TUPLE_CATEGORY_B","EARCONS","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LOCAL_VOICE","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","TUNE_IN","DS_VOLUME_SETTING","SLEEP","ASCENDING_ALARM_VOLUME","FAR_FIELD_WAKE_WORD","CHANGE_NAME","AUDIBLE","CUSTOM_ALARM_TONE","REMINDERS","I_HEART_RADIO","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","SHARKNADO","VOICE_TRAINING","SUPPORTS_SOFTWARE_VERSION","TIMERS_AND_ALARMS","ALLOW_LOG_UPLOAD","DREAM_TRAINING","TUPLE","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A09481211653X4GDU88UM","deviceFamily":"KNIGHT","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"AWZZ5CVHX2CD","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G000RA099122043V","softwareVersion":"631551820"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A0832336G52TFFE8XEJD","deviceType":"A2TF17PFR55MTB","serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c"},{"deviceAccountId":"A024781410SWP46S56OU7","deviceType":"A2IVLV5VM2W81","serialNumber":"012DFEA671D9400594BA93F2D0A606D5"},{"deviceAccountId":"A0562556XC8V7APU0PX2","deviceType":"A2IVLV5VM2W81","serialNumber":"A5406CC797EA43909597900E501C70CA"},{"deviceAccountId":"A06679892CXJJ15M7LV5P","deviceType":"A2IVLV5VM2W81","serialNumber":"f69349fca7ba36af58128029f0e4bcf3"},{"deviceAccountId":"A04818631AK6NTX3MRDNS","deviceType":"A2IVLV5VM2W81","serialNumber":"e06325298e95e914801b837943926a79"}],"capabilities":["REMINDERS","VOLUME_SETTING","MICROPHONE"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0832336G52TFFE8XEJD","deviceFamily":"VOX","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2TF17PFR55MTB","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c","softwareVersion":"130050002"},{"accountName":"Sylviane's Alexa Apps","appDeviceList":[{"deviceAccountId":"A15MM1CLYVFCFE","deviceType":"A2825NDLA7WDZV","serialNumber":"Alcatraz36212979931520252975"},{"deviceAccountId":"A05313503VPD8CXQ5TEYU","deviceType":"A2825NDLA7WDZV","serialNumber":"F297F3397D3348D08D3E185CF3D03F5B"}],"capabilities":["VOLUME_SETTING","MICROPHONE","PEONY"],"charging":null,"clusterMembers":[],"deviceAccountId":"A15MM1CLYVFCFE","deviceFamily":"AMAZONMOBILEMUSIC_IOS","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2825NDLA7WDZV","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"Alcatraz36212979931520252975","softwareVersion":"4"}]}
[2019-4-3 22:50:19] Alexa-Remote: No authentication check needed (time elapsed 1639)
[2019-4-3 22:50:19] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/wake-word?_=1554328219548","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:20] Alexa-Remote: Response: {"wakeWords":[{"active":true,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090P30880520AM2","deviceType":"A7WXQPH584YP","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G000RA099122043V","deviceType":"AWZZ5CVHX2CD","midFieldState":null,"wakeWord":"ALEXA"}]}
[2019-4-3 22:50:20] Alexa-Remote: No authentication check needed (time elapsed 2227)
[2019-4-3 22:50:20] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/notifications?cached=true&_=1554328220137","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:20] Alexa-Remote: Response: {"notifications":[{"alarmTime":1554188400000,"createdDate":1554151034396,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-6676ac09-91ec-39ac-baa2-9ca4e4073678","lastUpdatedDate":1554192000568,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"6676ac09-91ec-39ac-baa2-9ca4e4073678","originalDate":"2019-04-02","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Charge ma montre","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1552857638639,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-cf45ea77-561d-3611-a4ba-30595d18685b","lastUpdatedDate":1552899069667,"musicAlarmId":"c55ce8ea-f8a3-49e8-99f9-6c37565a0cd5","musicEntity":"Nostalgie","notificationIndex":"cf45ea77-561d-3611-a4ba-30595d18685b","originalDate":"2019-03-18","originalTime":"06:15:00.000","personProfile":null,"provider":"TuneIn","rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Adrift","folder":null,"id":"system_alerts_soothing_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_soothing_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"MusicAlarm","version":"8"},{"alarmTime":1554102000000,"createdDate":1554089665347,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-a6e7238b-afb3-36d0-bbf0-be1304a95670","lastUpdatedDate":1554102022024,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"a6e7238b-afb3-36d0-bbf0-be1304a95670","originalDate":"2019-04-01","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Il y feel obligé de la peine de cotisation","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1553292559519,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-dda91c96-b3fb-3fd0-bead-2c73b25bb260","lastUpdatedDate":1553320212188,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"dda91c96-b3fb-3fd0-bead-2c73b25bb260","originalDate":"2019-03-23","originalTime":"06:50:00.000","personProfile":null,"provider":null,"rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Alarm","version":"4"}]}
[2019-4-3 22:50:20] Alexa-API - New cookie saved to:/var/www/html/plugins/alexaapi/resources/data/alexa-cookie.json
[2019-4-3 22:50:20] Alexa-API: *******************************************
[2019-4-3 22:50:20] Alexa-API: *Server is already listening on port 3456 *
[2019-4-3 22:50:20] Alexa-API: *******************************************
C'est bizarre le message "Exception :Unexpected token H in JSON at position 0"

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par Nebz » 04 avr. 2019, 07:27

thierry38090 a écrit :
03 avr. 2019, 23:53
Idem :

Code : Tout sélectionner

[2019-4-3 22:50:16] Alexa-API: Alexa.Speak
[2019-4-3 22:50:16] Alexa-API: device: G090LF1181750XBN
[2019-4-3 22:50:16] Alexa-API: text: Ceci est un test de message pour la commande Speak
[2019-4-3 22:50:16] Alexa-sendSequenceCommand: else
[2019-4-3 22:50:16] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:17] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"sylvianeschneider@free.fr","customerId":"A2AT3H8J6YK7W8","customerName":"Sylviane SCHNEIDER"}}
[2019-4-3 22:50:17] Alexa-Remote: Authentication check successfull
[2019-4-3 22:50:17] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF1181750XBN\",\"locale\":\"fr-FR\",\"customerId\":\"A2AT3H8J6YK7W8\",\"textToSpeak\":\"Ceci est un test de message pour la commande Speak\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] *********************DEBUG****************************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] **DEBUG**DEBUG*Alexa-Remote: Response: No/Invalid JSON
[2019-4-3 22:50:17] HTTP/1.1 0 x-amzn-RequestId: 780ddb4a-565a-11e9-98d7-39ffa43f27aa
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Wed, 03 Apr 2019 21:50:16 GMT
Connection: close
[2019-4-3 22:50:17] **DEBUG**DEBUG* Message Exception :Unexpected token H in JSON at position 0
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] ***************FIND**CONNEXION CLOSE *****************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Alexa-API: *****************************ERROR********************************
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Connexion Close
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
Error: Connexion Close
at IncomingMessage.res.on (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:524:52)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Connexion Close détectée dans la détection d'erreur et donc relance de l'initialisation
[2019-4-3 22:50:17] Alexa-Remote: cookie was provided
[2019-4-3 22:50:17] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:17] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"sylvianeschneider@free.fr","customerId":"A2AT3H8J6YK7W8","customerName":"Sylviane SCHNEIDER"}}
[2019-4-3 22:50:17] Alexa-Remote: Authentication checked: true
[2019-4-3 22:50:17] Alexa-Remote: No authentication check needed (time elapsed 0)
[2019-4-3 22:50:17] Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:18] Alexa-Remote: Response: [{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","directedId":"amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","phoneCountryCode":"33","phoneNumber":"687067250","firstName":"Sylviane","lastName":"SCHNEIDER","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":true,"commsProvisioned":true,"speakerProvisioned":false},{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","directedId":"amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","phoneCountryCode":"33","phoneNumber":"677199398","firstName":"Thierry","lastName":"Schneider","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":false,"commsProvisioned":true,"speakerProvisioned":false}]
[2019-4-3 22:50:18] Alexa-Remote: No authentication check needed (time elapsed 460)
[2019-4-3 22:50:18] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=1554328218369","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:19] Alexa-Remote: Response: {"devices":[{"accountName":"Sissi Fire TV stick","appDeviceList":[],"capabilities":["FLASH_BRIEFING","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","PERSISTENT_CONNECTION","CHANGE_NAME","ACTIVE_AFTER_FRO","VOLUME_SETTING","MICROPHONE","SUPPORTS_SOFTWARE_VERSION","ARTHUR_TARGET"],"charging":null,"clusterMembers":[],"deviceAccountId":"A1WU3ITBC4VOKR","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ0474260KQC","softwareVersion":"632552020"},{"accountName":"Chérie","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","FACTORY_RESET_DEVICE","PANDORA","GOLDFISH","EARCONS","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","TUNE_IN","DS_VOLUME_SETTING","SLEEP","ASCENDING_ALARM_VOLUME","FAR_FIELD_WAKE_WORD","CHANGE_NAME","AUDIBLE","CUSTOM_ALARM_TONE","REMINDERS","I_HEART_RADIO","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","SHARKNADO","VOICE_TRAINING","SUPPORTS_SOFTWARE_VERSION","TIMERS_AND_ALARMS","DREAM_TRAINING","ALLOW_LOG_UPLOAD","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A3VAMV0K68MRJI","deviceFamily":"ROOK","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A10A33FOX2NUBK","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070RR13817707HF","softwareVersion":"631551820"},{"accountName":"Salon","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","POPTART","GOLDFISH","EARCONS","REQUIRES_OOBE_FOR_SETUP","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","ACTIVE_AFTER_FRO","TUNE_IN","DS_VOLUME_SETTING","DEREGISTER_DEVICE","SLEEP","ASCENDING_ALARM_VOLUME","DEREGISTER_FACTORY_RESET","FAR_FIELD_WAKE_WORD","CHANGE_NAME","PAIR_REMOTE","AUDIBLE","REMINDERS","CUSTOM_ALARM_TONE","TAHOE_BYOD","I_HEART_RADIO","PAIR_BT_SOURCE","GADGETS","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","UPDATE_WIFI","VOICE_TRAINING","TUPLE_CATEGORY_A","TIMERS_AND_ALARMS","SUPPORTS_SOFTWARE_VERSION","DREAM_TRAINING","TUPLE","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01617733TEOSFXYH858D","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A7WXQPH584YP","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090P30880520AM2","softwareVersion":"618622620"},{"accountName":"Partout","appDeviceList":[],"capabilities":["SALMON","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","AUDIBLE","AMAZON_MUSIC","VOLUME_SETTING","I_HEART_RADIO","TUNE_IN","MICROPHONE","MUSIC_SKILL"],"charging":null,"clusterMembers":["G070RR13817707HF","G000RA099122043V","G090P30880520AM2","G090LF1181750XBN"],"deviceAccountId":"A084413019YFFJSUFPNQB","deviceFamily":"WHA","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3C9PE6TNYLTCH","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"f45e663d1e9e452ab51fe73594f7a5c8","softwareVersion":"0"},{"accountName":"Mamour","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","POPTART","GOLDFISH","EARCONS","REQUIRES_OOBE_FOR_SETUP","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","SUPPORTS_CONNECTED_HOME","MUSIC_SKILL","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","ACTIVE_AFTER_FRO","TUNE_IN","DS_VOLUME_SETTING","DEREGISTER_DEVICE","SLEEP","ASCENDING_ALARM_VOLUME","DEREGISTER_FACTORY_RESET","FAR_FIELD_WAKE_WORD","CHANGE_NAME","PAIR_REMOTE","AUDIBLE","REMINDERS","CUSTOM_ALARM_TONE","TAHOE_BYOD","I_HEART_RADIO","PAIR_BT_SOURCE","GADGETS","FLASH_BRIEFING","SET_LOCALE","UPDATE_WIFI","VOICE_TRAINING","TIMERS_AND_ALARMS","SUPPORTS_CONNECTED_HOME_ALL","SUPPORTS_SOFTWARE_VERSION","DREAM_TRAINING","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A08132861XCW84F383LDJ","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3S5BH2HU6VAYF","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090LF1181750XBN","softwareVersion":"631550720"},{"accountName":"Titi Fire TV Stick","appDeviceList":[],"capabilities":["FLASH_BRIEFING","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","PERSISTENT_CONNECTION","CHANGE_NAME","ACTIVE_AFTER_FRO","VOLUME_SETTING","MICROPHONE","SUPPORTS_SOFTWARE_VERSION","ARTHUR_TARGET"],"charging":null,"clusterMembers":[],"deviceAccountId":"A10186033N25HUSWWCURS","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ1090360HNE","softwareVersion":"632552020"},{"accountName":"Titi Echo Input","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","POPTART","GOLDFISH","EARCONS","REQUIRES_OOBE_FOR_SETUP","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LEMUR_ALPHA","AMAZON_MUSIC","ACTIVE_AFTER_FRO","TUNE_IN","DS_VOLUME_SETTING","DEREGISTER_DEVICE","SLEEP","FAR_FIELD_WAKE_WORD","CHANGE_NAME","AUDIBLE","REMINDERS","CUSTOM_ALARM_TONE","TAHOE_BYOD","I_HEART_RADIO","PAIR_BT_SOURCE","GADGETS","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","UPDATE_WIFI","VOICE_TRAINING","TIMERS_AND_ALARMS","SUPPORTS_SOFTWARE_VERSION","DREAM_TRAINING","ALLOW_LOG_UPLOAD","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A05169693LL2CDOT7WP2H","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A1JJ0KFC4ZPNJ3","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090VP04902600AA","softwareVersion":"1913068932"},{"accountName":"Sylviane - Echo Show","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","FACTORY_RESET_DEVICE","PANDORA","POPTART","GOLDFISH","TUPLE_CATEGORY_B","EARCONS","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LOCAL_VOICE","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","TUNE_IN","DS_VOLUME_SETTING","SLEEP","ASCENDING_ALARM_VOLUME","FAR_FIELD_WAKE_WORD","CHANGE_NAME","AUDIBLE","CUSTOM_ALARM_TONE","REMINDERS","I_HEART_RADIO","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","SHARKNADO","VOICE_TRAINING","SUPPORTS_SOFTWARE_VERSION","TIMERS_AND_ALARMS","ALLOW_LOG_UPLOAD","DREAM_TRAINING","TUPLE","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A09481211653X4GDU88UM","deviceFamily":"KNIGHT","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"AWZZ5CVHX2CD","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G000RA099122043V","softwareVersion":"631551820"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A0832336G52TFFE8XEJD","deviceType":"A2TF17PFR55MTB","serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c"},{"deviceAccountId":"A024781410SWP46S56OU7","deviceType":"A2IVLV5VM2W81","serialNumber":"012DFEA671D9400594BA93F2D0A606D5"},{"deviceAccountId":"A0562556XC8V7APU0PX2","deviceType":"A2IVLV5VM2W81","serialNumber":"A5406CC797EA43909597900E501C70CA"},{"deviceAccountId":"A06679892CXJJ15M7LV5P","deviceType":"A2IVLV5VM2W81","serialNumber":"f69349fca7ba36af58128029f0e4bcf3"},{"deviceAccountId":"A04818631AK6NTX3MRDNS","deviceType":"A2IVLV5VM2W81","serialNumber":"e06325298e95e914801b837943926a79"}],"capabilities":["REMINDERS","VOLUME_SETTING","MICROPHONE"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0832336G52TFFE8XEJD","deviceFamily":"VOX","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2TF17PFR55MTB","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c","softwareVersion":"130050002"},{"accountName":"Sylviane's Alexa Apps","appDeviceList":[{"deviceAccountId":"A15MM1CLYVFCFE","deviceType":"A2825NDLA7WDZV","serialNumber":"Alcatraz36212979931520252975"},{"deviceAccountId":"A05313503VPD8CXQ5TEYU","deviceType":"A2825NDLA7WDZV","serialNumber":"F297F3397D3348D08D3E185CF3D03F5B"}],"capabilities":["VOLUME_SETTING","MICROPHONE","PEONY"],"charging":null,"clusterMembers":[],"deviceAccountId":"A15MM1CLYVFCFE","deviceFamily":"AMAZONMOBILEMUSIC_IOS","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2825NDLA7WDZV","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"Alcatraz36212979931520252975","softwareVersion":"4"}]}
[2019-4-3 22:50:19] Alexa-Remote: No authentication check needed (time elapsed 1639)
[2019-4-3 22:50:19] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/wake-word?_=1554328219548","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:20] Alexa-Remote: Response: {"wakeWords":[{"active":true,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090P30880520AM2","deviceType":"A7WXQPH584YP","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G000RA099122043V","deviceType":"AWZZ5CVHX2CD","midFieldState":null,"wakeWord":"ALEXA"}]}
[2019-4-3 22:50:20] Alexa-Remote: No authentication check needed (time elapsed 2227)
[2019-4-3 22:50:20] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/notifications?cached=true&_=1554328220137","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:20] Alexa-Remote: Response: {"notifications":[{"alarmTime":1554188400000,"createdDate":1554151034396,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-6676ac09-91ec-39ac-baa2-9ca4e4073678","lastUpdatedDate":1554192000568,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"6676ac09-91ec-39ac-baa2-9ca4e4073678","originalDate":"2019-04-02","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Charge ma montre","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1552857638639,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-cf45ea77-561d-3611-a4ba-30595d18685b","lastUpdatedDate":1552899069667,"musicAlarmId":"c55ce8ea-f8a3-49e8-99f9-6c37565a0cd5","musicEntity":"Nostalgie","notificationIndex":"cf45ea77-561d-3611-a4ba-30595d18685b","originalDate":"2019-03-18","originalTime":"06:15:00.000","personProfile":null,"provider":"TuneIn","rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Adrift","folder":null,"id":"system_alerts_soothing_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_soothing_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"MusicAlarm","version":"8"},{"alarmTime":1554102000000,"createdDate":1554089665347,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-a6e7238b-afb3-36d0-bbf0-be1304a95670","lastUpdatedDate":1554102022024,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"a6e7238b-afb3-36d0-bbf0-be1304a95670","originalDate":"2019-04-01","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Il y feel obligé de la peine de cotisation","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1553292559519,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-dda91c96-b3fb-3fd0-bead-2c73b25bb260","lastUpdatedDate":1553320212188,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"dda91c96-b3fb-3fd0-bead-2c73b25bb260","originalDate":"2019-03-23","originalTime":"06:50:00.000","personProfile":null,"provider":null,"rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Alarm","version":"4"}]}
[2019-4-3 22:50:20] Alexa-API - New cookie saved to:/var/www/html/plugins/alexaapi/resources/data/alexa-cookie.json
[2019-4-3 22:50:20] Alexa-API: *******************************************
[2019-4-3 22:50:20] Alexa-API: *Server is already listening on port 3456 *
[2019-4-3 22:50:20] Alexa-API: *******************************************
C'est bizarre le message "Exception :Unexpected token H in JSON at position 0"
non c'est pas bizarre, on recois de Amazon :

Code : Tout sélectionner

HTTP/1.1 0 x-amzn-RequestId: 780ddb4a-565a-11e9-98d7-39ffa43f27aa
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Wed, 03 Apr 2019 21:50:16 GMT
Connection: close
et la première lettre (position 0) c'est H comme l'indique le message, normalement on recois un json mais là ils renvoient juste un Header avec Connection: close et même aucun code HTTP (le zero juste après le HTTP/1.1 est sensé contenir les codes standards 200 300 404 501 etc). et ca c'est bizarre ;)
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par Nebz » 04 avr. 2019, 07:31

thierry38090 a écrit :
03 avr. 2019, 23:53
Idem :

Code : Tout sélectionner

[2019-4-3 22:50:16] Alexa-API: Alexa.Speak
[2019-4-3 22:50:16] Alexa-API: device: G090LF1181750XBN
[2019-4-3 22:50:16] Alexa-API: text: Ceci est un test de message pour la commande Speak
[2019-4-3 22:50:16] Alexa-sendSequenceCommand: else
[2019-4-3 22:50:16] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:17] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"sylvianeschneider@free.fr","customerId":"A2AT3H8J6YK7W8","customerName":"Sylviane SCHNEIDER"}}
[2019-4-3 22:50:17] Alexa-Remote: Authentication check successfull
[2019-4-3 22:50:17] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF1181750XBN\",\"locale\":\"fr-FR\",\"customerId\":\"A2AT3H8J6YK7W8\",\"textToSpeak\":\"Ceci est un test de message pour la commande Speak\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] *********************DEBUG****************************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] **DEBUG**DEBUG*Alexa-Remote: Response: No/Invalid JSON
[2019-4-3 22:50:17] HTTP/1.1 0 x-amzn-RequestId: 780ddb4a-565a-11e9-98d7-39ffa43f27aa
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Wed, 03 Apr 2019 21:50:16 GMT
Connection: close
[2019-4-3 22:50:17] **DEBUG**DEBUG* Message Exception :Unexpected token H in JSON at position 0
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] ***************FIND**CONNEXION CLOSE *****************
[2019-4-3 22:50:17] ******************************************************
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Alexa-API: *****************************ERROR********************************
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Connexion Close
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
Error: Connexion Close
at IncomingMessage.res.on (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:524:52)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Alexa-API: ******************************************************************
[2019-4-3 22:50:17] Connexion Close détectée dans la détection d'erreur et donc relance de l'initialisation
[2019-4-3 22:50:17] Alexa-Remote: cookie was provided
[2019-4-3 22:50:17] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:17] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"sylvianeschneider@free.fr","customerId":"A2AT3H8J6YK7W8","customerName":"Sylviane SCHNEIDER"}}
[2019-4-3 22:50:17] Alexa-Remote: Authentication checked: true
[2019-4-3 22:50:17] Alexa-Remote: No authentication check needed (time elapsed 0)
[2019-4-3 22:50:17] Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:18] Alexa-Remote: Response: [{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","directedId":"amzn1.account.AFTLP2XUX2UANFRRD2DIZQLFFCIA","phoneCountryCode":"33","phoneNumber":"687067250","firstName":"Sylviane","lastName":"SCHNEIDER","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":true,"commsProvisioned":true,"speakerProvisioned":false},{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","directedId":"amzn1.account.AF2Z3FDF5DRIDH6QJE5FMJPQ2SAQ","phoneCountryCode":"33","phoneNumber":"677199398","firstName":"Thierry","lastName":"Schneider","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"signedInUser":false,"commsProvisioned":true,"speakerProvisioned":false}]
[2019-4-3 22:50:18] Alexa-Remote: No authentication check needed (time elapsed 460)
[2019-4-3 22:50:18] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=1554328218369","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:19] Alexa-Remote: Response: {"devices":[{"accountName":"Sissi Fire TV stick","appDeviceList":[],"capabilities":["FLASH_BRIEFING","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","PERSISTENT_CONNECTION","CHANGE_NAME","ACTIVE_AFTER_FRO","VOLUME_SETTING","MICROPHONE","SUPPORTS_SOFTWARE_VERSION","ARTHUR_TARGET"],"charging":null,"clusterMembers":[],"deviceAccountId":"A1WU3ITBC4VOKR","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ0474260KQC","softwareVersion":"632552020"},{"accountName":"Chérie","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","FACTORY_RESET_DEVICE","PANDORA","GOLDFISH","EARCONS","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","TUNE_IN","DS_VOLUME_SETTING","SLEEP","ASCENDING_ALARM_VOLUME","FAR_FIELD_WAKE_WORD","CHANGE_NAME","AUDIBLE","CUSTOM_ALARM_TONE","REMINDERS","I_HEART_RADIO","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","SHARKNADO","VOICE_TRAINING","SUPPORTS_SOFTWARE_VERSION","TIMERS_AND_ALARMS","DREAM_TRAINING","ALLOW_LOG_UPLOAD","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A3VAMV0K68MRJI","deviceFamily":"ROOK","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A10A33FOX2NUBK","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070RR13817707HF","softwareVersion":"631551820"},{"accountName":"Salon","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","POPTART","GOLDFISH","EARCONS","REQUIRES_OOBE_FOR_SETUP","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","ACTIVE_AFTER_FRO","TUNE_IN","DS_VOLUME_SETTING","DEREGISTER_DEVICE","SLEEP","ASCENDING_ALARM_VOLUME","DEREGISTER_FACTORY_RESET","FAR_FIELD_WAKE_WORD","CHANGE_NAME","PAIR_REMOTE","AUDIBLE","REMINDERS","CUSTOM_ALARM_TONE","TAHOE_BYOD","I_HEART_RADIO","PAIR_BT_SOURCE","GADGETS","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","UPDATE_WIFI","VOICE_TRAINING","TUPLE_CATEGORY_A","TIMERS_AND_ALARMS","SUPPORTS_SOFTWARE_VERSION","DREAM_TRAINING","TUPLE","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01617733TEOSFXYH858D","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A7WXQPH584YP","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090P30880520AM2","softwareVersion":"618622620"},{"accountName":"Partout","appDeviceList":[],"capabilities":["SALMON","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","AUDIBLE","AMAZON_MUSIC","VOLUME_SETTING","I_HEART_RADIO","TUNE_IN","MICROPHONE","MUSIC_SKILL"],"charging":null,"clusterMembers":["G070RR13817707HF","G000RA099122043V","G090P30880520AM2","G090LF1181750XBN"],"deviceAccountId":"A084413019YFFJSUFPNQB","deviceFamily":"WHA","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3C9PE6TNYLTCH","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"f45e663d1e9e452ab51fe73594f7a5c8","softwareVersion":"0"},{"accountName":"Mamour","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","POPTART","GOLDFISH","EARCONS","REQUIRES_OOBE_FOR_SETUP","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","SUPPORTS_CONNECTED_HOME","MUSIC_SKILL","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","ACTIVE_AFTER_FRO","TUNE_IN","DS_VOLUME_SETTING","DEREGISTER_DEVICE","SLEEP","ASCENDING_ALARM_VOLUME","DEREGISTER_FACTORY_RESET","FAR_FIELD_WAKE_WORD","CHANGE_NAME","PAIR_REMOTE","AUDIBLE","REMINDERS","CUSTOM_ALARM_TONE","TAHOE_BYOD","I_HEART_RADIO","PAIR_BT_SOURCE","GADGETS","FLASH_BRIEFING","SET_LOCALE","UPDATE_WIFI","VOICE_TRAINING","TIMERS_AND_ALARMS","SUPPORTS_CONNECTED_HOME_ALL","SUPPORTS_SOFTWARE_VERSION","DREAM_TRAINING","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A08132861XCW84F383LDJ","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A3S5BH2HU6VAYF","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090LF1181750XBN","softwareVersion":"631550720"},{"accountName":"Titi Fire TV Stick","appDeviceList":[],"capabilities":["FLASH_BRIEFING","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","PERSISTENT_CONNECTION","CHANGE_NAME","ACTIVE_AFTER_FRO","VOLUME_SETTING","MICROPHONE","SUPPORTS_SOFTWARE_VERSION","ARTHUR_TARGET"],"charging":null,"clusterMembers":[],"deviceAccountId":"A10186033N25HUSWWCURS","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2LWARUGJLBYEW","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G070QQ1090360HNE","softwareVersion":"632552020"},{"accountName":"Titi Echo Input","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","PANDORA","POPTART","GOLDFISH","EARCONS","REQUIRES_OOBE_FOR_SETUP","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LEMUR_ALPHA","AMAZON_MUSIC","ACTIVE_AFTER_FRO","TUNE_IN","DS_VOLUME_SETTING","DEREGISTER_DEVICE","SLEEP","FAR_FIELD_WAKE_WORD","CHANGE_NAME","AUDIBLE","REMINDERS","CUSTOM_ALARM_TONE","TAHOE_BYOD","I_HEART_RADIO","PAIR_BT_SOURCE","GADGETS","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","UPDATE_WIFI","VOICE_TRAINING","TIMERS_AND_ALARMS","SUPPORTS_SOFTWARE_VERSION","DREAM_TRAINING","ALLOW_LOG_UPLOAD","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A05169693LL2CDOT7WP2H","deviceFamily":"ECHO","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A1JJ0KFC4ZPNJ3","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090VP04902600AA","softwareVersion":"1913068932"},{"accountName":"Sylviane - Echo Show","appDeviceList":[],"capabilities":["SALMON","PERSISTENT_CONNECTION","AUDIO_PLAYER","KINDLE_BOOKS","FACTORY_RESET_DEVICE","PANDORA","POPTART","GOLDFISH","TUPLE_CATEGORY_B","EARCONS","VOLUME_SETTING","MICROPHONE","SUPPORT_CALENDAR_ALERT","MUSIC_SKILL","LOCAL_VOICE","LEMUR_ALPHA","PAIR_BT_SINK","AMAZON_MUSIC","TUNE_IN","DS_VOLUME_SETTING","SLEEP","ASCENDING_ALARM_VOLUME","FAR_FIELD_WAKE_WORD","CHANGE_NAME","AUDIBLE","CUSTOM_ALARM_TONE","REMINDERS","I_HEART_RADIO","FLASH_BRIEFING","SET_LOCALE","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","SHARKNADO","VOICE_TRAINING","SUPPORTS_SOFTWARE_VERSION","TIMERS_AND_ALARMS","ALLOW_LOG_UPLOAD","DREAM_TRAINING","TUPLE","SOUND_SETTINGS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A09481211653X4GDU88UM","deviceFamily":"KNIGHT","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"AWZZ5CVHX2CD","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["f45e663d1e9e452ab51fe73594f7a5c8"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G000RA099122043V","softwareVersion":"631551820"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A0832336G52TFFE8XEJD","deviceType":"A2TF17PFR55MTB","serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c"},{"deviceAccountId":"A024781410SWP46S56OU7","deviceType":"A2IVLV5VM2W81","serialNumber":"012DFEA671D9400594BA93F2D0A606D5"},{"deviceAccountId":"A0562556XC8V7APU0PX2","deviceType":"A2IVLV5VM2W81","serialNumber":"A5406CC797EA43909597900E501C70CA"},{"deviceAccountId":"A06679892CXJJ15M7LV5P","deviceType":"A2IVLV5VM2W81","serialNumber":"f69349fca7ba36af58128029f0e4bcf3"},{"deviceAccountId":"A04818631AK6NTX3MRDNS","deviceType":"A2IVLV5VM2W81","serialNumber":"e06325298e95e914801b837943926a79"}],"capabilities":["REMINDERS","VOLUME_SETTING","MICROPHONE"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0832336G52TFFE8XEJD","deviceFamily":"VOX","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2TF17PFR55MTB","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"926dc7a7c15e4f59bb54a97faa3ffd8c","softwareVersion":"130050002"},{"accountName":"Sylviane's Alexa Apps","appDeviceList":[{"deviceAccountId":"A15MM1CLYVFCFE","deviceType":"A2825NDLA7WDZV","serialNumber":"Alcatraz36212979931520252975"},{"deviceAccountId":"A05313503VPD8CXQ5TEYU","deviceType":"A2825NDLA7WDZV","serialNumber":"F297F3397D3348D08D3E185CF3D03F5B"}],"capabilities":["VOLUME_SETTING","MICROPHONE","PEONY"],"charging":null,"clusterMembers":[],"deviceAccountId":"A15MM1CLYVFCFE","deviceFamily":"AMAZONMOBILEMUSIC_IOS","deviceOwnerCustomerId":"A2AT3H8J6YK7W8","deviceType":"A2825NDLA7WDZV","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"Alcatraz36212979931520252975","softwareVersion":"4"}]}
[2019-4-3 22:50:19] Alexa-Remote: No authentication check needed (time elapsed 1639)
[2019-4-3 22:50:19] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/wake-word?_=1554328219548","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:20] Alexa-Remote: Response: {"wakeWords":[{"active":true,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090P30880520AM2","deviceType":"A7WXQPH584YP","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G000RA099122043V","deviceType":"AWZZ5CVHX2CD","midFieldState":null,"wakeWord":"ALEXA"}]}
[2019-4-3 22:50:20] Alexa-Remote: No authentication check needed (time elapsed 2227)
[2019-4-3 22:50:20] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/notifications?cached=true&_=1554328220137","method":"GET","timeout":10000,"headers":{}}
[2019-4-3 22:50:20] Alexa-Remote: Response: {"notifications":[{"alarmTime":1554188400000,"createdDate":1554151034396,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-6676ac09-91ec-39ac-baa2-9ca4e4073678","lastUpdatedDate":1554192000568,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"6676ac09-91ec-39ac-baa2-9ca4e4073678","originalDate":"2019-04-02","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Charge ma montre","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1552857638639,"deferredAtTime":null,"deviceSerialNumber":"G070RR13817707HF","deviceType":"A10A33FOX2NUBK","geoLocationTriggerData":null,"id":"A10A33FOX2NUBK-G070RR13817707HF-cf45ea77-561d-3611-a4ba-30595d18685b","lastUpdatedDate":1552899069667,"musicAlarmId":"c55ce8ea-f8a3-49e8-99f9-6c37565a0cd5","musicEntity":"Nostalgie","notificationIndex":"cf45ea77-561d-3611-a4ba-30595d18685b","originalDate":"2019-03-18","originalTime":"06:15:00.000","personProfile":null,"provider":"TuneIn","rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Adrift","folder":null,"id":"system_alerts_soothing_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_soothing_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"MusicAlarm","version":"8"},{"alarmTime":1554102000000,"createdDate":1554089665347,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-a6e7238b-afb3-36d0-bbf0-be1304a95670","lastUpdatedDate":1554102022024,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"a6e7238b-afb3-36d0-bbf0-be1304a95670","originalDate":"2019-04-01","originalTime":"09:00:00.000","personProfile":null,"provider":null,"rRuleData":{"byMonthDays":null,"byWeekDays":null,"flexibleRecurringPatternType":null,"frequency":null,"intervals":null,"nextTriggerTimes":null,"notificationTimes":null,"recurEndDate":null,"recurEndTime":null,"recurStartDate":null,"recurStartTime":null,"recurrenceRules":null},"recurringPattern":null,"remainingTime":0,"reminderLabel":"Il y feel obligé de la peine de cotisation","skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Reminder","version":"3"},{"alarmTime":0,"createdDate":1553292559519,"deferredAtTime":null,"deviceSerialNumber":"G090LF1181750XBN","deviceType":"A3S5BH2HU6VAYF","geoLocationTriggerData":null,"id":"A3S5BH2HU6VAYF-G090LF1181750XBN-dda91c96-b3fb-3fd0-bead-2c73b25bb260","lastUpdatedDate":1553320212188,"musicAlarmId":null,"musicEntity":null,"notificationIndex":"dda91c96-b3fb-3fd0-bead-2c73b25bb260","originalDate":"2019-03-23","originalTime":"06:50:00.000","personProfile":null,"provider":null,"rRuleData":null,"recurringPattern":null,"remainingTime":0,"reminderLabel":null,"skillInfo":null,"snoozedToTime":null,"sound":{"displayName":"Simple Alarm","folder":null,"id":"system_alerts_melodic_01","providerId":"ECHO","sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_01.mp3"},"status":"OFF","targetPersonProfiles":null,"timeZoneId":null,"timerLabel":null,"triggerTime":0,"type":"Alarm","version":"4"}]}
[2019-4-3 22:50:20] Alexa-API - New cookie saved to:/var/www/html/plugins/alexaapi/resources/data/alexa-cookie.json
[2019-4-3 22:50:20] Alexa-API: *******************************************
[2019-4-3 22:50:20] Alexa-API: *Server is already listening on port 3456 *
[2019-4-3 22:50:20] Alexa-API: *******************************************
C'est bizarre le message "Exception :Unexpected token H in JSON at position 0"
par contre moi ce qui m'intéresse c'est ca :
"Connexion Close détectée dans la détection d'erreur et donc relance de l'initialisation"
suivit par un get sur les devices qui fonctionne (donc login devrait être ok) d'ou je te demandais de réessayer juste après car on voit bien que le serveur est pret à rappeler amazon
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

HadesDT
Timide
Messages : 204
Inscription : 29 janv. 2018, 08:00

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par HadesDT » 04 avr. 2019, 09:25

sigalou a écrit :
03 avr. 2019, 17:44
HadesDT a écrit :
03 avr. 2019, 14:27
Je viens d'installer la version beta sur un jeedom de test, tous les devices remontent bien, mais quand je veux faire un push vers mon téléphone j'ai ceci :

...

Sur le Jeedom de prod j'ai ceci (version stable du plugin) :

...
Oui, c'est absolument possible, j'ai complètement revu et retravaillé l'écran des commandes, tu dois voir la grande différence entre la stable et la beta si tu as les deux sous les yeux.
Du coup, j'ai vérifié tous les liens entre les actions programmées dans le scénario et les commandes.
Mais en lisant ton message, effectivement, j'ai retraité toutes les commandes ... sauf la commande push qui n'est pas présente sur les amazon echo mais uniquement sur l'Appli Alexa... donc je l'ai oubliée, je vais corriger cela rapidement.
Merci d'y avoir pensé et pour ton aide.
J'ai effectivement vu bcp de changement.

De rien pour le micro test, good job ! ;)

Avatar de l’utilisateur
sigalou
Actif
Messages : 1075
Inscription : 23 janv. 2017, 16:02

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par sigalou » 04 avr. 2019, 14:06

Nebz a écrit :
04 avr. 2019, 07:31
thierry38090 a écrit :
03 avr. 2019, 23:53
par contre moi ce qui m'intéresse c'est ca :
"Connexion Close détectée dans la détection d'erreur et donc relance de l'initialisation"
suivit par un get sur les devices qui fonctionne (donc login devrait être ok) d'ou je te demandais de réessayer juste après car on voit bien que le serveur est pret à rappeler amazon
Pas mal du tout, ça a bien détecté le connexion close et relancé le serveur derrière.
Les commandes passaient ensuite ?
Sigalou

Utilisateur/Développeur Plugin Jeedom
Créateur des plugins Alexa-API & WatchDog



Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par Nebz » 04 avr. 2019, 14:26

Non justement :-(


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
sigalou
Actif
Messages : 1075
Inscription : 23 janv. 2017, 16:02

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par sigalou » 04 avr. 2019, 20:04

Nebz a écrit :
04 avr. 2019, 14:26
Non justement :-(
Ha ?
Bon, Beta poussée avec :
* Lancement de commande en passant par une file d'attente de contrôle de bonne exécution.
* détection du Connexion Close, dans ce cas :
* relance de l'initialisation du serveur
* A la fin de l'init, on relance les commandes de la file d'attente non réussies.

Allo !! Les beta-testeurs ?! Vous êtes la ?
A vos tests, dites nous.
Sigalou

Utilisateur/Développeur Plugin Jeedom
Créateur des plugins Alexa-API & WatchDog



thierry38090
Timide
Messages : 40
Inscription : 02 mars 2019, 15:22

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par thierry38090 » 04 avr. 2019, 20:56

Je suis là :) :D :D
Je mets à jour la beta ce soir et vous tiens informé dès demain 😊

HadesDT
Timide
Messages : 204
Inscription : 29 janv. 2018, 08:00

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par HadesDT » 05 avr. 2019, 09:12

sigalou a écrit :
04 avr. 2019, 20:04
Nebz a écrit :
04 avr. 2019, 14:26
Non justement :-(
Ha ?
Bon, Beta poussée avec :
* Lancement de commande en passant par une file d'attente de contrôle de bonne exécution.
* détection du Connexion Close, dans ce cas :
* relance de l'initialisation du serveur
* A la fin de l'init, on relance les commandes de la file d'attente non réussies.

Allo !! Les beta-testeurs ?! Vous êtes la ?
A vos tests, dites nous.
Je viens de l'installer, je te reviens si j'ai un connection close.

Par contre j'ai essayé le push vers le téléphone et toujours la même erreur, aurais-tu oublié de commit la correction ? :)

HadesDT
Timide
Messages : 204
Inscription : 29 janv. 2018, 08:00

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par HadesDT » 05 avr. 2019, 14:35

HadesDT a écrit :
05 avr. 2019, 09:12
sigalou a écrit :
04 avr. 2019, 20:04
Nebz a écrit :
04 avr. 2019, 14:26
Non justement :-(
Ha ?
Bon, Beta poussée avec :
* Lancement de commande en passant par une file d'attente de contrôle de bonne exécution.
* détection du Connexion Close, dans ce cas :
* relance de l'initialisation du serveur
* A la fin de l'init, on relance les commandes de la file d'attente non réussies.

Allo !! Les beta-testeurs ?! Vous êtes la ?
A vos tests, dites nous.
Je viens de l'installer, je te reviens si j'ai un connection close.

Par contre j'ai essayé le push vers le téléphone et toujours la même erreur, aurais-tu oublié de commit la correction ? :)
Je me réponds, cela ne marche pas, j'ai ceci à chaque fois que je demande un speak :

Code : Tout sélectionner

[2019-4-5 14:30:30] Alexa-API: Alexa.Speak
[2019-4-5 14:30:30] Alexa-API: device: xxxx
[2019-4-5 14:30:30] Alexa-API: text: test
[2019-4-5 14:30:30] Alexa-Remote: No authentication check needed (time elapsed 45328)
[2019-4-5 14:30:30] Alexa-Remote: Sending Request with {blablabla}
[2019-4-5 14:30:30] ******************************************************
[2019-4-5 14:30:30] *********************DEBUG****************************
[2019-4-5 14:30:30] ******************************************************
[2019-4-5 14:30:30] **DEBUG**DEBUG*Alexa-Remote: Response: No/Invalid JSON
[2019-4-5 14:30:30] HTTP/1.1 0 x-amzn-RequestId: xxxx
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Fri, 05 Apr 2019 12:30:30 GMT
Connection: close
[2019-4-5 14:30:30] **DEBUG**DEBUG* Message Exception :Unexpected token H in JSON at position 0
[2019-4-5 14:30:30] ******************************************************
[2019-4-5 14:30:30] ******************************************************
[2019-4-5 14:30:30] ******************************************************
[2019-4-5 14:30:30] ***************FIND**CONNEXION CLOSE *****************
[2019-4-5 14:30:30] ******************************************************
[2019-4-5 14:30:30] Alexa-API: ******************************************************************
[2019-4-5 14:30:30] Alexa-API: *****************************ERROR********************************
[2019-4-5 14:30:30] Alexa-API: ******************************************************************
[2019-4-5 14:30:30] Connexion Close
[2019-4-5 14:30:30] Alexa-API: ******************************************************************
Error: Connexion Close
at IncomingMessage.res.on (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:524:52)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
[2019-4-5 14:30:30] Alexa-API: ******************************************************************
[2019-4-5 14:30:30] Alexa-API: ******************************************************************
[2019-4-5 14:30:30] Connexion Close détectée dans la détection d'erreur et donc relance de l'initialisation
[2019-4-5 14:30:30] Alexa-Remote: cookie was provided
[2019-4-5 14:30:30] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-4-5 14:30:31] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":false,"customerEmail":"xxxx@gmail.com","customerId":"A376FE26P0GPPW","xxxx":"xxxx xxxx"}}
[2019-4-5 14:30:31] Alexa-Remote: Authentication checked: true
[2019-4-5 14:30:31] Alexa-Remote: No authentication check needed (time elapsed 0)
[2019-4-5 14:30:31] Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}}
[2019-4-5 14:30:31] Alexa-Remote: Response: [{"commsId":[blablabla"]
[2019-4-5 14:30:31] Alexa-Remote: No authentication check needed (time elapsed 311)
[2019-4-5 14:30:31] Alexa-Remote: Sending Request with { ..............liste des device généré ==> ok..........}
[2019-4-5 14:30:32] Alexa-Remote: No authentication check needed (time "host":"alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=xxx","method":"GET","timeout":10000,"headers":{}}
[2019-4-5 14:30:32] Alexa-Remote: Response: {....elapsed 1503)
[2019-4-5 14:30:32] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/wake-word?_=xxx","method":"GET","timeout":10000,"headers":{}}
[2019-4-5 14:30:33] Alexa-Remote: Response: {"wakeWords":[blablabla]}
[2019-4-5 14:30:33] Alexa-Remote: No authentication check needed (time elapsed 1850)
[2019-4-5 14:30:33] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/notifications?cached=true&_=xxx","method":"GET","timeout":10000,"headers":{}}
[2019-4-5 14:30:33] Alexa-Remote: Response: {"notifications":[blablabla]}
[2019-4-5 14:30:33] Alexa-API - New cookie saved to:/var/www/html/plugins/alexaapi/resources/data/alexa-cookie.json
[2019-4-5 14:30:33] Alexa-API: *******************************************
[2019-4-5 14:30:33] Alexa-API: *Server is already listening on port 3456 *
[2019-4-5 14:30:33] Alexa-API: *******************************************

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [DEV] Plugin Alexa-Api en BETA uniquement

Message par Nebz » 05 avr. 2019, 14:57

tu as mis à jour via github ? sinon essaie, j'ai fait des corrections pendant la journée
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Répondre

Revenir vers « [Plugin Officiel] Assistant vocaux »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 5 invités