Oui mais sans le type exact c'est compliqué,Denis80 a écrit :c'est le premier, le petit
le plus grand s'appel Portal+
Envoyé de mon iPhone en utilisant Tapatalk
Oui mais sans le type exact c'est compliqué,Denis80 a écrit :c'est le premier, le petit
le plus grand s'appel Portal+
Bonjour,Heracles44 a écrit : ↑02 mai 2019, 10:06Bonjour,
Voici ce que j'ai comme erreur le matin à 9:00
2019-05-02 09:00:14 alexaapi Connexion close détectée donc relance de la dernière commande :http://192.168.0.16:3456/volume?value=5 ... 08837213ND
2019-05-02 09:00:08 alexaapi Attention, Connexion close sur Alexa-API, Lien réinitialisé
Idem le soir pour baisser le volume à 30 à 20:00
Code : Tout sélectionner
Alexa-Remote: Authentication checked: true
Alexa-Remote: No authentication check needed (time elapsed 1)
Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}}
Alexa-Remote: Response: [{"commsId":null,"directedId":"amzn1.account.AHIFSDYDUJGWFPBEGNBHPICSQSQQ","phoneCountryCode":null,"phoneNumber":null,"firstName":"Gilles","lastName":"MARTIN","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"UNKNOWN","isChild":false,"signedInUser":true,"commsProvisioned":false,"speakerProvisioned":false}]
Alexa-Remote: No authentication check needed (time elapsed 637)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=1555621726982","method":"GET","timeout":10000,"headers":{}}
Alexa-Remote: Response: {"devices":[{"accountName":"Apogee - Echo","appDeviceList":[],"capabilities":["ALLOW_LOG_UPLOAD","PANDORA","EARCONS","CUSTOM_ALARM_TONE","AUDIBLE","PAIR_BT_SOURCE","FLASH_BRIEFING","AUDIO_PLAYER","I_HEART_RADIO","TIMERS_ALARMS_NOTIFICATIONS_VOLUME","POPTART","GOLDFISH","TUPLE_CATEGORY_A","SLEEP","TUPLE","MUSIC_SKILL","DEREGISTER_FACTORY_RESET","CHANGE_NAME","SOUND_SETTINGS","PAIR_BT_SINK","SUPPORT_CALENDAR_ALERT","DEREGISTER_DEVICE","KINDLE_BOOKS","PERSISTENT_CONNECTION","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","AMAZON_MUSIC","GADGETS","DREAM_TRAINING","DS_VOLUME_SETTING","VOLUME_SETTING","ASCENDING_ALARM_VOLUME","FAR_FIELD_WAKE_WORD","VOICE_TRAINING","MICROPHONE","SALMON","TAHOE_BYOD","PAIR_REMOTE","SUPPORTS_SOFTWARE_VERSION","SET_LOCALE","REMINDERS","UPDATE_WIFI","LEMUR_ALPHA","TIMERS_AND_ALARMS","ACTIVE_AFTER_FRO","REQUIRES_OOBE_FOR_SETUP"],"charging":null,"clusterMembers":[],"deviceAccountId":"A077125722WFURGHWCQAU","deviceFamily":"ECHO","deviceOwnerCustomerId":"A5CT8A6PE5GV7","deviceType":"A7WXQPH584YP","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090P308821404M3","softwareVersion":"635559320"},{"accountName":"Sdbains","appDeviceList":[],"capabilities":["AMAZON_MUSIC","PANDORA","VOLUME_SETTING","MUSIC_SKILL","CHANGE_NAME","REMINDERS","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIO_PLAYER","TUNE_IN","PEONY","I_HEART_RADIO"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01162373QA2LRLNEVZ9N","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A5CT8A6PE5GV7","deviceType":"A15ERDAKK5HQQG","deviceTypeFriendlyName":"Sonos","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"be8cbbe379d24d5b8f5fa3d3b18dd469","softwareVersion":"0"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A01234333L9CS926O12HR","deviceType":"A2IVLV5VM2W81","serialNumber":"77c5e4feb41560cb1ba2f1f3fe92ea21"},{"deviceAccountId":"A01259112BKX8IN9Y6RM1","deviceType":"A2IVLV5VM2W81","serialNumber":"2d56917dd785d6d87e81e13f0defa453"},{"deviceAccountId":"A098298933GPT18U2V68S","deviceType":"A2IVLV5VM2W81","serialNumber":"20c5fedebc132cf700275b3cdc04fcfd"},{"deviceAccountId":"A03451123DJOP07058X9M","deviceType":"A2IVLV5VM2W81","serialNumber":"e40b2643cb9b1cbb1e3a135be6c9d36e"}],"capabilities":["VOLUME_SETTING","REMINDERS","MICROPHONE"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01234333L9CS926O12HR","deviceFamily":"VOX","deviceOwnerCustomerId":"A5CT8A6PE5GV7","deviceType":"A2IVLV5VM2W81","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"77c5e4feb41560cb1ba2f1f3fe92ea21","softwareVersion":"1"}]}
Alexa-Remote: No authentication check needed (time elapsed 1626)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/wake-word?_=1555621727971","method":"GET","timeout":10000,"headers":{}}
Alexa-Remote: Response: {"wakeWords":[{"active":true,"deviceSerialNumber":"G090P308821404M3","deviceType":"A7WXQPH584YP","midFieldState":null,"wakeWord":"ALEXA"}]}
Alexa-Remote: No authentication check needed (time elapsed 2080)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/notifications?cached=true&_=1555621728425","method":"GET","timeout":10000,"headers":{}}
Alexa-Remote: Response: {"notifications":[]}
Alexa-Config (initCookie.js): amazonserver=amazon.fr
Alexa-Config (initCookie.js): alexaserver=alexa.amazon.fr
initCookie - Cookie successfully retrieved from Amazon
initCookie - Cookie saved to:/var/www/html/plugins/alexaapi/resources/data/alexa-cookie.json
[2019-05-04 07:43:51][INFO] : Lancement du démon cookie
[2019-05-04 07:43:51][INFO] : Démon cookie lancé
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:1:73)
Code : Tout sélectionner
[2019-5-4 06:00:02] Alexa-API: checkAuth
[2019-5-4 06:00:02] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-5-4 06:00:03] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":false,"customerEmail":"apogee.conseil@gmail.com","customerId":"A5CT8A6PE5GV7","customerName":"Apogee"}}
[2019-5-4 06:00:03] Alexa-API: routines
[2019-5-4 06:00:03] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
[2019-5-4 06:00:04] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":false,"customerEmail":"apogee.conseil@gmail.com","customerId":"A5CT8A6PE5GV7","customerName":"Apogee"}}
[2019-5-4 06:00:04] Alexa-Remote: Authentication check successfull
[2019-5-4 06:00:04] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/automations?limit=2000","method":"GET","timeout":10000,"headers":{}}
[2019-5-4 06:30:03] Alexa-API: routines
[2019-5-4 06:30:03] Alexa-Remote: No authentication check needed (time elapsed 427)
[2019-5-4 06:30:03] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/automations?limit=2000","method":"GET","timeout":10000,"headers":{}}
[2019-5-4 06:30:04] Alexa-Remote: Response: [{"@type":"com.amazon.alexa.behaviors.model.Automation","automationId":"amzn1.alexa.automation.1032a6b5-33f8-4498-9405-e73933d3f1f5","name":null,"triggers":[{"payload":{"customerId":"A5CT8A6PE5GV7","utterance":"Bonne nuit","locale":"fr-FR","marketplaceId":"A13V1IB3VIYZZH"},"id":"amzn1.alexa.trigger.5b56a7d2-a7f3-4995-9ef9-6657f2d8d6c7","type":"CustomUtterance","timeLapse":null}],"sequence":{"@type":"com.amazon.alexa.behaviors.model.Sequence","sequenceId":"amzn1.alexa.sequence.1c1647bb-cd92-48b4-9ac4-1359230e6984","startNode":{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.ParallelNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"sceneActivate","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"07252f58-44ca-4fef-8fd0-2c5bbebef865","customerId":"A5CT8A6PE5GV7","operationId":"sceneActivate"},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"Alexa.CannedTts.Speak","skillId":"amzn1.ask.1p.saysomething","operationPayload":{"deviceType":"ALEXA_CURRENT_DEVICE_TYPE","deviceSerialNumber":"ALEXA_CURRENT_DSN","customerId":"A5CT8A6PE5GV7","locale":"fr-FR","cannedTtsStringId":"alexa.cannedtts.speak.curatedtts-category-goodnight/alexa.cannedtts.speak.curatedtts-random"},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.ParallelNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"a388df5a-b62d-41bb-a878-2ba04055539d","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"a388df5a-b62d-41bb-a878-2ba04055539d","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"002dac6f-ae32-4aef-9d7f-dc1c3508002c","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"002dac6f-ae32-4aef-9d7f-dc1c3508002c","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"142c39cd-1733-43b9-95e4-ad3b35d35be5","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"142c39cd-1733-43b9-95e4-ad3b35d35be5","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"a22d1392-1539-495d-9e84-05cfee8d7b4d","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"a22d1392-1539-495d-9e84-05cfee8d7b4d","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"c68c463a-0501-47c0-ba6f-e78c74d72075","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"c68c463a-0501-47c0-ba6f-e78c74d72075","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"832ec522-edde-46a5-85d2-63d841219a72","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"832ec522-edde-46a5-85d2-63d841219a72","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"ab73ef64-7f27-4897-b282-cff2d5b3fe8d","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"ab73ef64-7f27-4897-b282-cff2d5b3fe8d","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"2adbb434-558c-4f9b-9e34-1844d13c12a2","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"2adbb434-558c-4f9b-9e34-1844d13c12a2","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"880a6665-73db-40d1-8880-0ae03d4977a1","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"880a6665-73db-40d1-8880-0ae03d4977a1","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"8f5e6d0f-3c49-4b77-aa6f-3ecb7c1fbd77","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"8f5e6d0f-3c49-4b77-aa6f-3ecb7c1fbd77","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"fd8d7a9f-d419-482a-acaf-8900f0a79787","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"fd8d7a9f-d419-482a-acaf-8900f0a79787","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"031123db-60aa-4eee-913d-17f2beb073a4","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"031123db-60aa-4eee-913d-17f2beb073a4","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"ef5c7047-267e-4ec6-948f-b086b4e02ea0","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"ef5c7047-267e-4ec6-948f-b086b4e02ea0","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"bf878ae5-873e-4ea6-807c-00b38a9291e9","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"bf878ae5-873e-4ea6-807c-00b38a9291e9","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"1f1c5cf8-2a87-4ae3-85f9-790f743ddcdc","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"1f1c5cf8-2a87-4ae3-85f9-790f743ddcdc","operationId":"setBrightness","brightness":0},"name":null}]}]}]}},"condition":null,"status":"ENABLED","creationTimeEpochMillis":1556400806618,"lastUpdatedTimeEpochMillis":1556400815462},{"@type":"com.amazon.alexa.behaviors.model.Automation","automationId":"amzn1.alexa.automation.8b4b42b0-8469-408c-a3d6-d7fc2c8e3233","name":null,"triggers":[{"payload":{"customerId":"A5CT8A6PE5GV7","utterance":"bonjour","locale":"fr-FR","marketplaceId":"A13V1IB3VIYZZH"},"id":"amzn1.alexa.trigger.efd0e51d-f014-4d6d-a156-23a2fdd187a6","type":"CustomUtterance","timeLapse":null}],"sequence":{"@type":"com.amazon.alexa.behaviors.model.Sequence","sequenceId":"amzn1.alexa.sequence.57034358-f448-4018-8572-4bd73e9732ee","startNode":{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.ParallelNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"sceneActivate","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"1483b469-0470-47fc-a964-bb3d1a0bfe5e","customerId":"A5CT8A6PE5GV7","operationId":"sceneActivate"},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"Alexa.GoodMorning.Play","skillId":"amzn1.ask.1p.saysomething","operationPayload":{"deviceType":"ALEXA_CURRENT_DEVICE_TYPE","deviceSerialNumber":"ALEXA_CURRENT_DSN","customerId":"A5CT8A6PE5GV7","locale":"fr-FR"},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"Alexa.Weather.Play","skillId":"amzn1.ask.1p.weather","operationPayload":{"deviceType":"ALEXA_CURRENT_DEVICE_TYPE","deviceSerialNumber":"ALEXA_CURRENT_DSN","customerId":"A5CT8A6PE5GV7","locale":"fr-FR"},"name":null}]}},"condition":null,"status":"ENABLED","creationTimeEpochMillis":1556400878337,"lastUpdatedTimeEpochMillis":1556400932887}]
[2019-5-4 06:30:04] Alexa-API: routines
[2019-5-4 06:30:04] Alexa-Remote: No authentication check needed (time elapsed 1018)
[2019-5-4 06:30:04] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/automations?limit=2000","method":"GET","timeout":10000,"headers":{}}
[2019-5-4 06:30:05] Alexa-Remote: Response: {"message":"Rate Exceeded"}
[2019-5-4 06:30:05] Alexa-API: routines
[2019-5-4 06:30:05] Alexa-Remote: No authentication check needed (time elapsed 2528)
[2019-5-4 06:30:05] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/automations?limit=2000","method":"GET","timeout":10000,"headers":{}}
[2019-5-4 06:30:06] Alexa-Remote: Response: {"message":null}
/var/www/html/plugins/alexaapi/resources/alexaapi.js:723
if (routine.status === 'ENABLED') {
^
TypeError: Cannot read property 'status' of null
at /var/www/html/plugins/alexaapi/resources/alexaapi.js:723:17
at getAutomationRoutines (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:1482:23)
at IncomingMessage.res.on (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:537:40)
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)
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: « nodejs »: Aucun fichier ou dossier de ce type
nice: 'nodejs': No such file or directory
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)
Rebootgpga a écrit :Bonjour,
après quelques jours de bon fonctionnement suite aux modifications sur le plugin, j'ai de nouveau perdu alexa api ce matin. Je vous met les logs pour analyse.
j'ai relancé les dépendance
j'ai tenteé de recréer le cookie et la j'ai la même erreur que dans le passé ; Failed to connect to 192.168.1.30 port 3456: Connection refused
et impossible de relancer le demon.
Alexa api cookie
Alexa api nodeCode : Tout sélectionner
Alexa-Remote: Authentication checked: true Alexa-Remote: No authentication check needed (time elapsed 1) Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}} Alexa-Remote: Response: [{"commsId":null,"directedId":"amzn1.account.AHIFSDYDUJGWFPBEGNBHPICSQSQQ","phoneCountryCode":null,"phoneNumber":null,"firstName":"Gilles","lastName":"MARTIN","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"UNKNOWN","isChild":false,"signedInUser":true,"commsProvisioned":false,"speakerProvisioned":false}] Alexa-Remote: No authentication check needed (time elapsed 637) Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/devices-v2/device?cached=true&_=1555621726982","method":"GET","timeout":10000,"headers":{}} Alexa-Remote: Response: {"devices":[{"accountName":"Apogee - Echo","appDeviceList":[],"capabilities":["ALLOW_LOG_UPLOAD","PANDORA","EARCONS","CUSTOM_ALARM_TONE","AUDIBLE","PAIR_BT_SOURCE","FLASH_BRIEFING","AUDIO_PLAYER","I_HEART_RADIO","TIMERS_ALARMS_NOTIFICATIONS_VOLUME","POPTART","GOLDFISH","TUPLE_CATEGORY_A","SLEEP","TUPLE","MUSIC_SKILL","DEREGISTER_FACTORY_RESET","CHANGE_NAME","SOUND_SETTINGS","PAIR_BT_SINK","SUPPORT_CALENDAR_ALERT","DEREGISTER_DEVICE","KINDLE_BOOKS","PERSISTENT_CONNECTION","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","TUNE_IN","AMAZON_MUSIC","GADGETS","DREAM_TRAINING","DS_VOLUME_SETTING","VOLUME_SETTING","ASCENDING_ALARM_VOLUME","FAR_FIELD_WAKE_WORD","VOICE_TRAINING","MICROPHONE","SALMON","TAHOE_BYOD","PAIR_REMOTE","SUPPORTS_SOFTWARE_VERSION","SET_LOCALE","REMINDERS","UPDATE_WIFI","LEMUR_ALPHA","TIMERS_AND_ALARMS","ACTIVE_AFTER_FRO","REQUIRES_OOBE_FOR_SETUP"],"charging":null,"clusterMembers":[],"deviceAccountId":"A077125722WFURGHWCQAU","deviceFamily":"ECHO","deviceOwnerCustomerId":"A5CT8A6PE5GV7","deviceType":"A7WXQPH584YP","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090P308821404M3","softwareVersion":"635559320"},{"accountName":"Sdbains","appDeviceList":[],"capabilities":["AMAZON_MUSIC","PANDORA","VOLUME_SETTING","MUSIC_SKILL","CHANGE_NAME","REMINDERS","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AUDIO_PLAYER","TUNE_IN","PEONY","I_HEART_RADIO"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01162373QA2LRLNEVZ9N","deviceFamily":"THIRD_PARTY_AVS_MEDIA_DISPLAY","deviceOwnerCustomerId":"A5CT8A6PE5GV7","deviceType":"A15ERDAKK5HQQG","deviceTypeFriendlyName":"Sonos","essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"be8cbbe379d24d5b8f5fa3d3b18dd469","softwareVersion":"0"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A01234333L9CS926O12HR","deviceType":"A2IVLV5VM2W81","serialNumber":"77c5e4feb41560cb1ba2f1f3fe92ea21"},{"deviceAccountId":"A01259112BKX8IN9Y6RM1","deviceType":"A2IVLV5VM2W81","serialNumber":"2d56917dd785d6d87e81e13f0defa453"},{"deviceAccountId":"A098298933GPT18U2V68S","deviceType":"A2IVLV5VM2W81","serialNumber":"20c5fedebc132cf700275b3cdc04fcfd"},{"deviceAccountId":"A03451123DJOP07058X9M","deviceType":"A2IVLV5VM2W81","serialNumber":"e40b2643cb9b1cbb1e3a135be6c9d36e"}],"capabilities":["VOLUME_SETTING","REMINDERS","MICROPHONE"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01234333L9CS926O12HR","deviceFamily":"VOX","deviceOwnerCustomerId":"A5CT8A6PE5GV7","deviceType":"A2IVLV5VM2W81","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"77c5e4feb41560cb1ba2f1f3fe92ea21","softwareVersion":"1"}]} Alexa-Remote: No authentication check needed (time elapsed 1626) Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/wake-word?_=1555621727971","method":"GET","timeout":10000,"headers":{}} Alexa-Remote: Response: {"wakeWords":[{"active":true,"deviceSerialNumber":"G090P308821404M3","deviceType":"A7WXQPH584YP","midFieldState":null,"wakeWord":"ALEXA"}]} Alexa-Remote: No authentication check needed (time elapsed 2080) Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/notifications?cached=true&_=1555621728425","method":"GET","timeout":10000,"headers":{}} Alexa-Remote: Response: {"notifications":[]} Alexa-Config (initCookie.js): amazonserver=amazon.fr Alexa-Config (initCookie.js): alexaserver=alexa.amazon.fr initCookie - Cookie successfully retrieved from Amazon initCookie - Cookie saved to:/var/www/html/plugins/alexaapi/resources/data/alexa-cookie.json [2019-05-04 07:43:51][INFO] : Lancement du démon cookie [2019-05-04 07:43:51][INFO] : Démon cookie lancé /var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80 httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[ ]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;} ^^^^^ SyntaxError: Unexpected identifier at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:617:28) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:1:73)
Code : Tout sélectionner
[2019-5-4 06:00:02] Alexa-API: checkAuth [2019-5-4 06:00:02] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}} [2019-5-4 06:00:03] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":false,"customerEmail":"apogee.conseil@gmail.com","customerId":"A5CT8A6PE5GV7","customerName":"Apogee"}} [2019-5-4 06:00:03] Alexa-API: routines [2019-5-4 06:00:03] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}} [2019-5-4 06:00:04] Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":false,"customerEmail":"apogee.conseil@gmail.com","customerId":"A5CT8A6PE5GV7","customerName":"Apogee"}} [2019-5-4 06:00:04] Alexa-Remote: Authentication check successfull [2019-5-4 06:00:04] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/automations?limit=2000","method":"GET","timeout":10000,"headers":{}} [2019-5-4 06:30:03] Alexa-API: routines [2019-5-4 06:30:03] Alexa-Remote: No authentication check needed (time elapsed 427) [2019-5-4 06:30:03] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/automations?limit=2000","method":"GET","timeout":10000,"headers":{}} [2019-5-4 06:30:04] Alexa-Remote: Response: [{"@type":"com.amazon.alexa.behaviors.model.Automation","automationId":"amzn1.alexa.automation.1032a6b5-33f8-4498-9405-e73933d3f1f5","name":null,"triggers":[{"payload":{"customerId":"A5CT8A6PE5GV7","utterance":"Bonne nuit","locale":"fr-FR","marketplaceId":"A13V1IB3VIYZZH"},"id":"amzn1.alexa.trigger.5b56a7d2-a7f3-4995-9ef9-6657f2d8d6c7","type":"CustomUtterance","timeLapse":null}],"sequence":{"@type":"com.amazon.alexa.behaviors.model.Sequence","sequenceId":"amzn1.alexa.sequence.1c1647bb-cd92-48b4-9ac4-1359230e6984","startNode":{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.ParallelNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"sceneActivate","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"07252f58-44ca-4fef-8fd0-2c5bbebef865","customerId":"A5CT8A6PE5GV7","operationId":"sceneActivate"},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"Alexa.CannedTts.Speak","skillId":"amzn1.ask.1p.saysomething","operationPayload":{"deviceType":"ALEXA_CURRENT_DEVICE_TYPE","deviceSerialNumber":"ALEXA_CURRENT_DSN","customerId":"A5CT8A6PE5GV7","locale":"fr-FR","cannedTtsStringId":"alexa.cannedtts.speak.curatedtts-category-goodnight/alexa.cannedtts.speak.curatedtts-random"},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.ParallelNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"a388df5a-b62d-41bb-a878-2ba04055539d","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"a388df5a-b62d-41bb-a878-2ba04055539d","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"002dac6f-ae32-4aef-9d7f-dc1c3508002c","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"002dac6f-ae32-4aef-9d7f-dc1c3508002c","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"142c39cd-1733-43b9-95e4-ad3b35d35be5","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"142c39cd-1733-43b9-95e4-ad3b35d35be5","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"a22d1392-1539-495d-9e84-05cfee8d7b4d","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"a22d1392-1539-495d-9e84-05cfee8d7b4d","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"c68c463a-0501-47c0-ba6f-e78c74d72075","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"c68c463a-0501-47c0-ba6f-e78c74d72075","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"832ec522-edde-46a5-85d2-63d841219a72","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"832ec522-edde-46a5-85d2-63d841219a72","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"ab73ef64-7f27-4897-b282-cff2d5b3fe8d","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"ab73ef64-7f27-4897-b282-cff2d5b3fe8d","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"2adbb434-558c-4f9b-9e34-1844d13c12a2","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"2adbb434-558c-4f9b-9e34-1844d13c12a2","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"880a6665-73db-40d1-8880-0ae03d4977a1","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"880a6665-73db-40d1-8880-0ae03d4977a1","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"8f5e6d0f-3c49-4b77-aa6f-3ecb7c1fbd77","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"8f5e6d0f-3c49-4b77-aa6f-3ecb7c1fbd77","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"fd8d7a9f-d419-482a-acaf-8900f0a79787","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"fd8d7a9f-d419-482a-acaf-8900f0a79787","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"031123db-60aa-4eee-913d-17f2beb073a4","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"031123db-60aa-4eee-913d-17f2beb073a4","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"ef5c7047-267e-4ec6-948f-b086b4e02ea0","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"ef5c7047-267e-4ec6-948f-b086b4e02ea0","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"bf878ae5-873e-4ea6-807c-00b38a9291e9","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"bf878ae5-873e-4ea6-807c-00b38a9291e9","operationId":"setBrightness","brightness":0},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"turnOff","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"1f1c5cf8-2a87-4ae3-85f9-790f743ddcdc","operationId":"turnOff"},"name":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"setBrightness","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"customerId":"A5CT8A6PE5GV7","target":"1f1c5cf8-2a87-4ae3-85f9-790f743ddcdc","operationId":"setBrightness","brightness":0},"name":null}]}]}]}},"condition":null,"status":"ENABLED","creationTimeEpochMillis":1556400806618,"lastUpdatedTimeEpochMillis":1556400815462},{"@type":"com.amazon.alexa.behaviors.model.Automation","automationId":"amzn1.alexa.automation.8b4b42b0-8469-408c-a3d6-d7fc2c8e3233","name":null,"triggers":[{"payload":{"customerId":"A5CT8A6PE5GV7","utterance":"bonjour","locale":"fr-FR","marketplaceId":"A13V1IB3VIYZZH"},"id":"amzn1.alexa.trigger.efd0e51d-f014-4d6d-a156-23a2fdd187a6","type":"CustomUtterance","timeLapse":null}],"sequence":{"@type":"com.amazon.alexa.behaviors.model.Sequence","sequenceId":"amzn1.alexa.sequence.57034358-f448-4018-8572-4bd73e9732ee","startNode":{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.ParallelNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.SerialNode","name":null,"nodesToExecute":[{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"sceneActivate","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"1483b469-0470-47fc-a964-bb3d1a0bfe5e","customerId":"A5CT8A6PE5GV7","operationId":"sceneActivate"},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"Alexa.GoodMorning.Play","skillId":"amzn1.ask.1p.saysomething","operationPayload":{"deviceType":"ALEXA_CURRENT_DEVICE_TYPE","deviceSerialNumber":"ALEXA_CURRENT_DSN","customerId":"A5CT8A6PE5GV7","locale":"fr-FR"},"name":null}]},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"Alexa.Weather.Play","skillId":"amzn1.ask.1p.weather","operationPayload":{"deviceType":"ALEXA_CURRENT_DEVICE_TYPE","deviceSerialNumber":"ALEXA_CURRENT_DSN","customerId":"A5CT8A6PE5GV7","locale":"fr-FR"},"name":null}]}},"condition":null,"status":"ENABLED","creationTimeEpochMillis":1556400878337,"lastUpdatedTimeEpochMillis":1556400932887}] [2019-5-4 06:30:04] Alexa-API: routines [2019-5-4 06:30:04] Alexa-Remote: No authentication check needed (time elapsed 1018) [2019-5-4 06:30:04] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/automations?limit=2000","method":"GET","timeout":10000,"headers":{}} [2019-5-4 06:30:05] Alexa-Remote: Response: {"message":"Rate Exceeded"} [2019-5-4 06:30:05] Alexa-API: routines [2019-5-4 06:30:05] Alexa-Remote: No authentication check needed (time elapsed 2528) [2019-5-4 06:30:05] Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/automations?limit=2000","method":"GET","timeout":10000,"headers":{}} [2019-5-4 06:30:06] Alexa-Remote: Response: {"message":null} /var/www/html/plugins/alexaapi/resources/alexaapi.js:723 if (routine.status === 'ENABLED') { ^ TypeError: Cannot read property 'status' of null at /var/www/html/plugins/alexaapi/resources/alexaapi.js:723:17 at getAutomationRoutines (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:1482:23) at IncomingMessage.res.on (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:537:40) 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) nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: « nodejs »: Aucun fichier ou dossier de ce type nice: 'nodejs': No such file or directory /var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80 httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[ ]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;} ^^^^^ SyntaxError: Unexpected identifier at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:617:28) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131) /var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80 httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[ ]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;} ^^^^^ SyntaxError: Unexpected identifier at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:617:28) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)
Hello,champi a écrit :Bonjour,
étant sous jessie sur RPI2, je me retrouve confronté au problème d'installation des dépendances dont nodeJS.
(si j'ai bien compris, problème de signature)
Je n'ai pas le fichier :
/etc/apt/sources.list.d/jeedom.list
dans ce post, Nebz parle d'une méthode pour palier à ce problème, quelqu'un pourrait-il m'aider ?
Merci
Code : Tout sélectionner
--0%
--10%
Lancement de l'installation/mise à jour des dépendances
--20%
E: The method driver /usr/lib/apt/methods/https could not be found.
--30%
Version actuelle :
--40%
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs' is not installed, so not removed
Package 'npm' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 196 not upgraded.
--45%
Utilisation du dépot officiel
## Installing the NodeSource Node.js 8.x LTS Carbon repo...
## Populating apt-get cache...
+ apt-get update
E: The method driver /usr/lib/apt/methods/https could not be found.
Error executing command, exiting
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libc-ares2 libv8-3.14.5
The following NEW packages will be installed:
libc-ares2 libv8-3.14.5 nodejs
0 upgraded, 3 newly installed, 0 to remove and 196 not upgraded.
Need to get 0 B/1,768 kB of archives.
After this operation, 6,431 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libc-ares2 libv8-3.14.5 nodejs
E: There are problems and -y was used without --force-yes
/var/www/html/plugins/alexaapi/resources/nodejs.sh: line 128: npm: command not found
/var/www/html/plugins/alexaapi/resources/nodejs.sh: line 130: nodejs: command not found
Version actuelle :
--50%
--60%
Installation...
sudo: npm: command not found
chown: cannot access ‘node_modules’: No such file or directory
--95%
--100%
Installation des dépendances alexaapi terminée, vérifiez qu'il n'y a pas d'erreur
Ouh là, tu as surtout un gros problème dans ton apt-get !!!champi a écrit :Oui, avec plaisirCode : Tout sélectionner
--0% --10% Lancement de l'installation/mise à jour des dépendances --20% E: The method driver /usr/lib/apt/methods/https could not be found. --30% Version actuelle : --40% KO, version obsolète à upgrader Suppression du Nodejs existant et installation du paquet recommandé Reading package lists... Building dependency tree... Reading state information... Package 'nodejs' is not installed, so not removed Package 'npm' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 196 not upgraded. --45% Utilisation du dépot officiel ## Installing the NodeSource Node.js 8.x LTS Carbon repo... ## Populating apt-get cache... + apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. Error executing command, exiting Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libc-ares2 libv8-3.14.5 The following NEW packages will be installed: libc-ares2 libv8-3.14.5 nodejs 0 upgraded, 3 newly installed, 0 to remove and 196 not upgraded. Need to get 0 B/1,768 kB of archives. After this operation, 6,431 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libc-ares2 libv8-3.14.5 nodejs E: There are problems and -y was used without --force-yes /var/www/html/plugins/alexaapi/resources/nodejs.sh: line 128: npm: command not found /var/www/html/plugins/alexaapi/resources/nodejs.sh: line 130: nodejs: command not found Version actuelle : --50% --60% Installation... sudo: npm: command not found chown: cannot access ‘node_modules’: No such file or directory --95% --100% Installation des dépendances alexaapi terminée, vérifiez qu'il n'y a pas d'erreur
Code : Tout sélectionner
sudo apt-get install apt-transport-https
Code : Tout sélectionner
[2019-05-04 22:02:23][INFO] : Lancement du démon cookie
[2019-05-04 22:02:23][INFO] : Démon cookie lancé
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:1:73)
[2019-05-04 22:05:48][INFO] : Lancement du démon cookie
[2019-05-04 22:05:48][INFO] : Démon cookie lancé
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:1:73)
Code : Tout sélectionner
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)
Code : Tout sélectionner
Fetched 3194 B in 60s (53 B/s)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.solid-build.xyz ./ Release: The following signatures were invalid: KEYEXPIRED 1508672008
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch https://repo.solid-build.xyz/debian/jessie/bsp-imx6/./Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Error executing command, exiting
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Version actuelle : v5.12.0
--50%
--60%
Installation...
alexa-remote-http@1.0.0 /var/www/html/plugins/alexaapi/resources
+-- alexa-cookie2@2.0.1
+-- cookie@0.3.1
+-- express@4.16.4
| +-- accepts@1.3.7
| | +-- mime-types@2.1.24
| | | `-- mime-db@1.40.0
| | `-- negotiator@0.6.2
| +-- array-flatten@1.1.1
| +-- body-parser@1.18.3
| | +-- bytes@3.0.0
| | +-- http-errors@1.6.3
| | +-- iconv-lite@0.4.23
| | | `-- safer-buffer@2.1.2
| | `-- raw-body@2.3.3
| +-- content-disposition@0.5.2
| +-- content-type@1.0.4
| +-- cookie-signature@1.0.6
| +-- debug@2.6.9
| | `-- ms@2.0.0
| +-- depd@1.1.2
| +-- encodeurl@1.0.2
| +-- escape-html@1.0.3
| +-- etag@1.8.1
| +-- finalhandler@1.1.1
| | `-- unpipe@1.0.0
| +-- fresh@0.5.2
| +-- merge-descriptors@1.0.1
| +-- methods@1.1.2
| +-- on-finished@2.3.0
| | `-- ee-first@1.1.1
| +-- parseurl@1.3.3
| +-- path-to-regexp@0.1.7
| +-- proxy-addr@2.0.5
| | +-- forwarded@0.1.2
| | `-- ipaddr.js@1.9.0
| +-- qs@6.5.2
| +-- range-parser@1.2.0
| +-- safe-buffer@5.1.2
| +-- send@0.16.2
| | +-- destroy@1.0.4
| | `-- mime@1.4.1
| +-- serve-static@1.13.2
| +-- setprototypeof@1.1.0
| +-- statuses@1.4.0
| +-- type-is@1.6.18
| | `-- media-typer@0.3.0
| +-- utils-merge@1.0.1
| `-- vary@1.1.2
+-- extend@3.0.2
+-- http-proxy-middleware@0.19.1
| +-- http-proxy@1.17.0
| | +-- eventemitter3@3.1.2
| | +-- follow-redirects@1.7.0
| | | `-- debug@3.2.6
| | | `-- ms@2.1.1
| | `-- requires-port@1.0.0
| +-- is-glob@4.0.1
| | `-- is-extglob@2.1.1
| +-- lodash@4.17.11
| `-- micromatch@3.1.10
| +-- arr-diff@4.0.0
| +-- array-unique@0.3.2
| +-- braces@2.3.2
| | +-- arr-flatten@1.1.0
| | +-- extend-shallow@2.0.1
| | | `-- is-extendable@0.1.1
| | +-- fill-range@4.0.0
| | | +-- extend-shallow@2.0.1
| | | +-- is-number@3.0.0
| | | | `-- kind-of@3.2.2
| | | | `-- is-buffer@1.1.6
| | | +-- repeat-string@1.6.1
| | | `-- to-regex-range@2.1.1
| | +-- isobject@3.0.1
| | +-- repeat-element@1.1.3
| | +-- snapdragon-node@2.1.1
| | | +-- define-property@1.0.0
| | | | `-- is-descriptor@1.0.2
| | | | +-- is-accessor-descriptor@1.0.0
| | | | `-- is-data-descriptor@1.0.0
| | | `-- snapdragon-util@3.0.1
| | | `-- kind-of@3.2.2
| | `-- split-string@3.1.0
| +-- define-property@2.0.2
| | `-- is-descriptor@1.0.2
| | +-- is-accessor-descriptor@1.0.0
| | `-- is-data-descriptor@1.0.0
| +-- extend-shallow@3.0.2
| | +-- assign-symbols@1.0.0
| | `-- is-extendable@1.0.1
| | `-- is-plain-object@2.0.4
| +-- extglob@2.0.4
| | +-- define-property@1.0.0
| | | `-- is-descriptor@1.0.2
| | | +-- is-accessor-descriptor@1.0.0
| | | `-- is-data-descriptor@1.0.0
| | +-- expand-brackets@2.1.4
| | | +-- define-property@0.2.5
| | | +-- extend-shallow@2.0.1
| | | `-- posix-character-classes@0.1.1
| | `-- extend-shallow@2.0.1
| +-- fragment-cache@0.2.1
| | `-- map-cache@0.2.2
| +-- kind-of@6.0.2
| +-- nanomatch@1.2.13
| | `-- is-windows@1.0.2
| +-- object.pick@1.3.0
| +-- regex-not@1.0.2
| | `-- safe-regex@1.1.0
| | `-- ret@0.1.15
| +-- snapdragon@0.8.2
| | +-- base@0.11.2
| | | +-- cache-base@1.0.1
| | | | +-- collection-visit@1.0.0
| | | | | +-- map-visit@1.0.0
| | | | | `-- object-visit@1.0.1
| | | | +-- get-value@2.0.6
| | | | +-- has-value@1.0.0
| | | | | `-- has-values@1.0.0
| | | | | `-- kind-of@4.0.0
| | | | +-- set-value@2.0.0
| | | | | `-- extend-shallow@2.0.1
| | | | +-- to-object-path@0.3.0
| | | | | `-- kind-of@3.2.2
| | | | +-- union-value@1.0.0
| | | | | `-- set-value@0.4.3
| | | | | `-- extend-shallow@2.0.1
| | | | `-- unset-value@1.0.0
| | | | `-- has-value@0.3.1
| | | | +-- has-values@0.1.4
| | | | `-- isobject@2.1.0
| | | +-- class-utils@0.3.6
| | | | +-- arr-union@3.1.0
| | | | +-- define-property@0.2.5
| | | | `-- static-extend@0.1.2
| | | | +-- define-property@0.2.5
| | | | `-- object-copy@0.1.0
| | | | +-- copy-descriptor@0.1.1
| | | | +-- define-property@0.2.5
| | | | `-- kind-of@3.2.2
| | | +-- component-emitter@1.3.0
| | | +-- define-property@1.0.0
| | | | `-- is-descriptor@1.0.2
| | | | +-- is-accessor-descriptor@1.0.0
| | | | `-- is-data-descriptor@1.0.0
| | | +-- mixin-deep@1.3.1
| | | | +-- for-in@1.0.2
| | | | `-- is-extendable@1.0.1
| | | `-- pascalcase@0.1.1
| | +-- define-property@0.2.5
| | | `-- is-descriptor@0.1.6
| | | +-- is-accessor-descriptor@0.1.6
| | | | `-- kind-of@3.2.2
| | | +-- is-data-descriptor@0.1.4
| | | | `-- kind-of@3.2.2
| | | `-- kind-of@5.1.0
| | +-- extend-shallow@2.0.1
| | +-- source-map@0.5.7
| | +-- source-map-resolve@0.5.2
| | | +-- atob@2.1.2
| | | +-- decode-uri-component@0.2.0
| | | +-- resolve-url@0.2.1
| | | +-- source-map-url@0.4.0
| | | `-- urix@0.1.0
| | `-- use@3.1.1
| `-- to-regex@3.0.2
+-- http-proxy-response-rewrite@0.0.1
| +-- bufferhelper@0.2.1
| `-- concat-stream@1.6.2
| +-- buffer-from@1.1.1
| +-- inherits@2.0.3
| +-- readable-stream@2.3.6
| | +-- core-util-is@1.0.2
| | +-- isarray@1.0.0
| | +-- process-nextick-args@2.0.0
| | +-- string_decoder@1.1.1
| | `-- util-deprecate@1.0.2
| `-- typedarray@0.0.6
+-- https@1.0.0
`-- querystring@0.2.0
--95%
--100%
Installation des dépendances alexaapi terminée, vérifiez qu'il n'y a pas d'erreur
Code : Tout sélectionner
/var/www/html/plugins/alexaapi/resources/initCookie.js:1
(function (exports, require, module, __filename, __dirname) { let Alexa = require('./lib/alexa-remote');
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:387:25)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:148:18)
at node.js:405:3
En effet il faut lancer la commande indiquée soit en ssh soit via configuration > OS/DB > Administration LancerMad Ein a écrit :bonjour,
j'ai le même problème avec le plugin…
quand je lance les dépendances j'ai une erreur dpkg…lorsque je veux lancer les cookies alexa la page s'ouvre mais j'ai une erreur de connexion mais ou bout d'un moment j'ai "bravo: cookie chargé".Code : Tout sélectionner
Fetched 3194 B in 60s (53 B/s) W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.solid-build.xyz ./ Release: The following signatures were invalid: KEYEXPIRED 1508672008 W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch https://repo.solid-build.xyz/debian/jessie/bsp-imx6/./Release W: Some index files failed to download. They have been ignored, or old ones used instead. E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. Error executing command, exiting E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. Version actuelle : v5.12.0 --50% --60% Installation... alexa-remote-http@1.0.0 /var/www/html/plugins/alexaapi/resources +-- alexa-cookie2@2.0.1 +-- cookie@0.3.1 +-- express@4.16.4 | +-- accepts@1.3.7 | | +-- mime-types@2.1.24 | | | `-- mime-db@1.40.0 | | `-- negotiator@0.6.2 | +-- array-flatten@1.1.1 | +-- body-parser@1.18.3 | | +-- bytes@3.0.0 | | +-- http-errors@1.6.3 | | +-- iconv-lite@0.4.23 | | | `-- safer-buffer@2.1.2 | | `-- raw-body@2.3.3 | +-- content-disposition@0.5.2 | +-- content-type@1.0.4 | +-- cookie-signature@1.0.6 | +-- debug@2.6.9 | | `-- ms@2.0.0 | +-- depd@1.1.2 | +-- encodeurl@1.0.2 | +-- escape-html@1.0.3 | +-- etag@1.8.1 | +-- finalhandler@1.1.1 | | `-- unpipe@1.0.0 | +-- fresh@0.5.2 | +-- merge-descriptors@1.0.1 | +-- methods@1.1.2 | +-- on-finished@2.3.0 | | `-- ee-first@1.1.1 | +-- parseurl@1.3.3 | +-- path-to-regexp@0.1.7 | +-- proxy-addr@2.0.5 | | +-- forwarded@0.1.2 | | `-- ipaddr.js@1.9.0 | +-- qs@6.5.2 | +-- range-parser@1.2.0 | +-- safe-buffer@5.1.2 | +-- send@0.16.2 | | +-- destroy@1.0.4 | | `-- mime@1.4.1 | +-- serve-static@1.13.2 | +-- setprototypeof@1.1.0 | +-- statuses@1.4.0 | +-- type-is@1.6.18 | | `-- media-typer@0.3.0 | +-- utils-merge@1.0.1 | `-- vary@1.1.2 +-- extend@3.0.2 +-- http-proxy-middleware@0.19.1 | +-- http-proxy@1.17.0 | | +-- eventemitter3@3.1.2 | | +-- follow-redirects@1.7.0 | | | `-- debug@3.2.6 | | | `-- ms@2.1.1 | | `-- requires-port@1.0.0 | +-- is-glob@4.0.1 | | `-- is-extglob@2.1.1 | +-- lodash@4.17.11 | `-- micromatch@3.1.10 | +-- arr-diff@4.0.0 | +-- array-unique@0.3.2 | +-- braces@2.3.2 | | +-- arr-flatten@1.1.0 | | +-- extend-shallow@2.0.1 | | | `-- is-extendable@0.1.1 | | +-- fill-range@4.0.0 | | | +-- extend-shallow@2.0.1 | | | +-- is-number@3.0.0 | | | | `-- kind-of@3.2.2 | | | | `-- is-buffer@1.1.6 | | | +-- repeat-string@1.6.1 | | | `-- to-regex-range@2.1.1 | | +-- isobject@3.0.1 | | +-- repeat-element@1.1.3 | | +-- snapdragon-node@2.1.1 | | | +-- define-property@1.0.0 | | | | `-- is-descriptor@1.0.2 | | | | +-- is-accessor-descriptor@1.0.0 | | | | `-- is-data-descriptor@1.0.0 | | | `-- snapdragon-util@3.0.1 | | | `-- kind-of@3.2.2 | | `-- split-string@3.1.0 | +-- define-property@2.0.2 | | `-- is-descriptor@1.0.2 | | +-- is-accessor-descriptor@1.0.0 | | `-- is-data-descriptor@1.0.0 | +-- extend-shallow@3.0.2 | | +-- assign-symbols@1.0.0 | | `-- is-extendable@1.0.1 | | `-- is-plain-object@2.0.4 | +-- extglob@2.0.4 | | +-- define-property@1.0.0 | | | `-- is-descriptor@1.0.2 | | | +-- is-accessor-descriptor@1.0.0 | | | `-- is-data-descriptor@1.0.0 | | +-- expand-brackets@2.1.4 | | | +-- define-property@0.2.5 | | | +-- extend-shallow@2.0.1 | | | `-- posix-character-classes@0.1.1 | | `-- extend-shallow@2.0.1 | +-- fragment-cache@0.2.1 | | `-- map-cache@0.2.2 | +-- kind-of@6.0.2 | +-- nanomatch@1.2.13 | | `-- is-windows@1.0.2 | +-- object.pick@1.3.0 | +-- regex-not@1.0.2 | | `-- safe-regex@1.1.0 | | `-- ret@0.1.15 | +-- snapdragon@0.8.2 | | +-- base@0.11.2 | | | +-- cache-base@1.0.1 | | | | +-- collection-visit@1.0.0 | | | | | +-- map-visit@1.0.0 | | | | | `-- object-visit@1.0.1 | | | | +-- get-value@2.0.6 | | | | +-- has-value@1.0.0 | | | | | `-- has-values@1.0.0 | | | | | `-- kind-of@4.0.0 | | | | +-- set-value@2.0.0 | | | | | `-- extend-shallow@2.0.1 | | | | +-- to-object-path@0.3.0 | | | | | `-- kind-of@3.2.2 | | | | +-- union-value@1.0.0 | | | | | `-- set-value@0.4.3 | | | | | `-- extend-shallow@2.0.1 | | | | `-- unset-value@1.0.0 | | | | `-- has-value@0.3.1 | | | | +-- has-values@0.1.4 | | | | `-- isobject@2.1.0 | | | +-- class-utils@0.3.6 | | | | +-- arr-union@3.1.0 | | | | +-- define-property@0.2.5 | | | | `-- static-extend@0.1.2 | | | | +-- define-property@0.2.5 | | | | `-- object-copy@0.1.0 | | | | +-- copy-descriptor@0.1.1 | | | | +-- define-property@0.2.5 | | | | `-- kind-of@3.2.2 | | | +-- component-emitter@1.3.0 | | | +-- define-property@1.0.0 | | | | `-- is-descriptor@1.0.2 | | | | +-- is-accessor-descriptor@1.0.0 | | | | `-- is-data-descriptor@1.0.0 | | | +-- mixin-deep@1.3.1 | | | | +-- for-in@1.0.2 | | | | `-- is-extendable@1.0.1 | | | `-- pascalcase@0.1.1 | | +-- define-property@0.2.5 | | | `-- is-descriptor@0.1.6 | | | +-- is-accessor-descriptor@0.1.6 | | | | `-- kind-of@3.2.2 | | | +-- is-data-descriptor@0.1.4 | | | | `-- kind-of@3.2.2 | | | `-- kind-of@5.1.0 | | +-- extend-shallow@2.0.1 | | +-- source-map@0.5.7 | | +-- source-map-resolve@0.5.2 | | | +-- atob@2.1.2 | | | +-- decode-uri-component@0.2.0 | | | +-- resolve-url@0.2.1 | | | +-- source-map-url@0.4.0 | | | `-- urix@0.1.0 | | `-- use@3.1.1 | `-- to-regex@3.0.2 +-- http-proxy-response-rewrite@0.0.1 | +-- bufferhelper@0.2.1 | `-- concat-stream@1.6.2 | +-- buffer-from@1.1.1 | +-- inherits@2.0.3 | +-- readable-stream@2.3.6 | | +-- core-util-is@1.0.2 | | +-- isarray@1.0.0 | | +-- process-nextick-args@2.0.0 | | +-- string_decoder@1.1.1 | | `-- util-deprecate@1.0.2 | `-- typedarray@0.0.6 +-- https@1.0.0 `-- querystring@0.2.0 --95% --100% Installation des dépendances alexaapi terminée, vérifiez qu'il n'y a pas d'erreur
alors que j'ai ça dans le log cookie:ça fait un moment que je n'ai pas utilisé putty sur mon jeedom… et je ne sais plus mes identifiants.Code : Tout sélectionner
/var/www/html/plugins/alexaapi/resources/initCookie.js:1 (function (exports, require, module, __filename, __dirname) { let Alexa = require('./lib/alexa-remote'); ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:387:25) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Function.Module.runMain (module.js:447:10) at startup (node.js:148:18) at node.js:405:3
par contre il me semble qu'il est possible de lancer des commandes via le dashboard mais je ne sais pas faire...
désolé, je suis assez nul en code!
si quelqu'un à une idée...
je suis sous jeedom v3.3.24 avec mini +
merci
su: unrecognized option '--configure'
Usage: su [options] [LOGIN]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login make the shell a login shell
-m, -p,
--preserve-environment do not reset environment variables, and
keep the same shell
-s, --shell SHELL use SHELL instead of the default in passwd
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 17 invités