NEWS
[gelöst] Alexa Adapter startet nach Update auf 3.10.4 nicht
-
@thomas-braun Das sollte egal sein ... aber arte mal denke der pfad mit bufferutil war falsch
Man muss suchen wo node_modules/ws ist und das mit bufferurtil dort ausführen
musst mal suchen ob es in /opt/iobroker/node_modules/iobroker.alexa2/node_modules/ws ist oder in /opt/iobroker/node_modules/ws
-
@apollon77 Also hier?
pi@ioBroker:/opt/iobroker $ cd node_modules/iobroker.alexa2/node_modules/ws -bash: cd: node_modules/iobroker.alexa2/node_modules/ws: Datei oder Verzeichnis nicht gefunden pi@ioBroker:/opt/iobroker $ cd /opt/iobroker/node_modules/ws/ pi@ioBroker:/opt/iobroker/node_modules/ws $ ls browser.js index.js lib LICENSE package.json README.md
Und hier dann:
npm i bufferutil@4.0.3
Korrekt?
-
@skb jupp
-
pi@ioBroker:/opt/iobroker/node_modules/ws $ npm i bufferutil@4.0.3 > bufferutil@4.0.3 install /opt/iobroker/node_modules/ws/node_modules/bufferutil > node-gyp-build npm notice created a lockfile as package-lock.json. You should commit this file. + bufferutil@4.0.3 added 2 packages from 2 contributors and audited 2 packages in 1.423s found 0 vulnerabilities pi@ioBroker:/opt/iobroker/node_modules/ws $
Per Instanz Start:
host.ioBroker 2021-10-13 08:34:17.091 warn instance system.adapter.alexa2.0 terminated due to SIGBUS alexa2.0 2021-10-13 08:34:16.895 debug Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/namedLists/YW16bjEuYWNjb3VudC5BSEs3QlE2WUFIQ1FKSDVLQ0hMQ0NVUEJEUkdRLVRBU0s=/items?_=1634106856894","method":"GET","timeout":10000,"headers":{}} alexa2.0 2021-10-13 08:34:16.894 debug Alexa-Remote: No authentication check needed (time elapsed 2280) alexa2.0 2021-10-13 08:34:16.893 debug Updating list TO_DO... alexa2.0 2021-10-13 08:34:16.890 debug Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/namedLists/YW16bjEuYWNjb3VudC5BSEs3QlE2WUFIQ1FKSDVLQ0hMQ0NVUEJEUkdRLVNIT1BQSU5HX0lURU0=/items?_=1634106856890","method":"GET","timeout":10000,"headers":{}} alexa2.0 2021-10-13 08:34:16.889 debug Alexa-Remote: No authentication check needed (time elapsed 2275)
Via Shell:
pi@ioBroker:/opt/iobroker/node_modules/ws $ node --report-signal=SIGBUS --report-on-signal /opt/iobroker/node_modules/iobroker.alexa2/main.js --force --logs 2021-10-13 08:36:35.147 - error: alexa2.0 (14617) adapter disabled 2021-10-13 08:36:35.156 - info: alexa2.0 (14617) starting. Version 3.11.2 in /opt/iobroker/node_modules/iobroker.alexa2, node: v14.18.0, js-controller: 3.3.18 2021-10-13 08:36:35.699 - debug: alexa2.0 (14617) Alexa-Remote: Use as User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 2021-10-13 08:36:35.701 - debug: alexa2.0 (14617) Alexa-Remote: Use as Login-Amazon-URL: amazon.de 2021-10-13 08:36:35.702 - debug: alexa2.0 (14617) Alexa-Remote: Use as Base-URL: alexa.amazon.de 2021-10-13 08:36:35.705 - debug: alexa2.0 (14617) Alexa-Remote: cookie was provided 2021-10-13 08:36:35.708 - debug: alexa2.0 (14617) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}} 2021-10-13 08:36:35.964 - debug: alexa2.0 (14617) Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"info@skb-web.de","customerId":"AV8T15OWSJBT1","customerName":"Stephan Kreyenborg"}} 2021-10-13 08:36:35.966 - debug: alexa2.0 (14617) Alexa-Remote: Authentication checked: true 2021-10-13 08:36:35.968 - debug: alexa2.0 (14617) Alexa-Remote: No authentication check needed (time elapsed 1) 2021-10-13 08:36:35.969 - debug: alexa2.0 (14617) Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.de","path":"/accounts","method":"GET","timeout":10000,"headers":{}} 2021-10-13 08:36:36.453 - debug: alexa2.0 (14617) Alexa-Remote: Response: [{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.AE2K6HEV5O4UZ6LEM2FHPTHLEDXA","directedId":"amzn1.account.AE2K6HEV5O4UZ6LEM2FHPTHLEDXA","phoneCountryCode":"49","phoneNumber":"1729887930","firstName":"Stephan","lastName":"Kreyenborg","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"personIdV2":"amzn1.actor.person.oid.A2P02UVLYMB4FY","signedInUser":true,"commsProvisioned":true,"enrolledInAlexa":true,"speakerProvisioned":false}] 2021-10-13 08:36:36.455 - debug: alexa2.0 (14617) Alexa-Remote: No authentication check needed (time elapsed 488) 2021-10-13 08:36:36.456 - debug: alexa2.0 (14617) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/devices-v2/device?cached=true&_=1634106996456","method":"GET","timeout":10000,"headers":{}} 2021-10-13 08:36:36.786 - debug: alexa2.0 (14617) Alexa-Remote: Response: {"devices":[{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A0861997DUI3R74CCS7X","deviceType":"A2TF17PFR55MTB","serialNumber":"9b152b51d8704399bfc1b33db9fa8214"}],"capabilities":["SOUND_SETTINGS","VOLUME_SETTING","REMINDERS","MICROPHONE","CUSTOM_ALARM_TONE","DIALOG_INTERFACE_VERSION","TIMERS_AND_ALARMS","ADAPTIVE_LISTENING"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0861997DUI3R74CCS7X","deviceFamily":"VOX","deviceOwnerCustomerId":"A1EIP8DVPCTVOF","deviceType":"A2TF17PFR55MTB","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"9b152b51d8704399bfc1b33db9fa8214","softwareVersion":"130050002"},{"accountName":"Marijana's Alexa Apps","appDeviceList":[{"deviceAccountId":"A06654591OVZOCDFF8ZR0","deviceType":"A1DL2DVDQVK3Q","serialNumber":"SMG950FF40469E1060EB598"},{"deviceAccountId":"A01169689K3RKDK3Z6UV","deviceType":"A1DL2DVDQVK3Q","serialNumber":"SMG980F682BCDDF422ED90F"},{"deviceAccountId":"A024247128CGZ5KLLWDXY","deviceType":"A1DL2DVDQVK3Q","serialNumber":"SMT8134A745230E200CDB9"}],"capabilities":["VOLUME_SETTING","MICROPHONE","ADAPTIVE_LISTENING"],"charging":null,"clusterMembers":[],"deviceAccountId":"A06654591OVZOCDFF8ZR0","deviceFamily":"AMAZONMOBILEMUSIC_ANDROID","deviceOwnerCustomerId":"A1EIP8DVPCTVOF","deviceType":"A1DL2DVDQVK3Q","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"SMG950FF40469E1060EB598","softwareVersion":"516110110"},{"accountName":"Stephan's Fire TV stick","appDeviceList":[],"capabilities":["PERSISTENT_CONNECTION","VOLUME_SETTING","REMINDERS","SUPPORTS_LOCALE","FLASH_BRIEFING","MICROPHONE","CUSTOM_ALARM_TONE","DIALOG_INTERFACE_VERSION","TIMERS_AND_ALARMS","ACTIVE_AFTER_FRO","SOUND_SETTINGS","ASCENDING_ALARM_VOLUME","CHANGE_NAME","SUPPORTS_LOCALE_SWITCH","SHARKNADO","SUPPORTS_SOFTWARE_VERSION","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","ADAPTIVE_LISTENING","ARTHUR_TARGET"],"charging":null,"clusterMembers":[],"deviceAccountId":"A159HL3V8OMRNZ","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"AV8T15OWSJBT1","deviceType":"ADVBD696BHNV5","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"70940514603302JH","softwareVersion":"662663720"},{"accountName":"Wohnung","appDeviceList":[],"capabilities":["VOLUME_SETTING","SALMON","TIDAL","MICROPHONE","DEEZER","AUDIO_PLAYER","I_HEART_RADIO","TUNE_IN","APPLE_MUSIC","KINDLE_BOOKS","AUDIBLE","PANDORA","SIRIUSXM","MUSIC_SKILL","AMAZON_MUSIC"],"charging":null,"clusterMembers":["G090U610916420KJ","G09183091056058K","G0911M079406180P"],"deviceAccountId":"A00087432OQ8XJFXWT00","deviceFamily":"WHA","deviceOwnerCustomerId":"AV8T15OWSJBT1","deviceType":"A3C9PE6TNYLTCH","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"edbb7e932cf347c7b287a5db19c3ee30","softwareVersion":"0"},{"accountName":"Fire TV Cube","appDeviceList":[],"capabilities":["TIMERS_ALARMS_NOTIFICATIONS_VOLUME","PERSISTENT_CONNECTION","SLEEP","SALMON","TIDAL","VOICE_TRAINING","SPEECH_RECOGNIZER_USS","REMINDERS","FAR_FIELD_WAKE_WORD","DIALOG_INTERFACE_VERSION","TIMERS_AND_ALARMS","DEEZER","ACTIVE_AFTER_FRO","I_HEART_RADIO","EARCONS","ASCENDING_ALARM_VOLUME","KINDLE_BOOKS","SUPPORT_CALENDAR_ALERT","AUDIBLE","SIRIUSXM","SUPPORTS_LOCALE_SWITCH","SUPPORTS_SOFTWARE_VERSION","ARTHUR_TARGET","SET_LOCALE","DREAM_TRAINING","SUPPORTS_LOCALE","FLASH_BRIEFING","CUSTOM_ALARM_TONE","MICROPHONE","AUDIO_PLAYER","TUNE_IN","APPLE_MUSIC","SOUND_SETTINGS","PANDORA","CHANGE_NAME","BT_PAIRING_FLOW_V2","GOLDFISH","PAIR_BT_SINK","MUSIC_SKILL","SHARKNADO","MULTI_WAKEWORDS_SUPPORTED","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AMAZON_MUSIC","ADAPTIVE_LISTENING"],"charging":null,"clusterMembers":[],"deviceAccountId":"A07651723SRV0G2RLZ9S","deviceFamily":"FIRE_TV","deviceOwnerCustomerId":"AV8T15OWSJBT1","deviceType":"A2JKHJ0PX4J3L3","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G0911X03941304ML","softwareVersion":"21039196292"},{"accountName":"Echo Dot Flur","appDeviceList":[],"capabilities":["SET_TIME_ZONE","TUPLE_CATEGORY_A","SALMON","TIDAL","EQUALIZER_CONTROLLER_MIDRANGE","PAIR_REMOTE","SPEECH_RECOGNIZER_USS","REMINDERS","DEEZER","ACTIVE_AFTER_FRO","EARCONS","ASCENDING_ALARM_VOLUME","AUDIBLE","TAHOE_BYOD","SUPPORTS_SOFTWARE_VERSION","EQUALIZER_CONTROLLER_TREBLE","SET_LOCALE","TUPLE","DEREGISTER_DEVICE","MICROPHONE","AUDIO_PLAYER","TUNE_IN","APPLE_MUSIC","SOUND_SETTINGS","BT_PAIRING_FLOW_V2","PAIR_BT_SINK","GOLDFISH","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AMAZON_MUSIC","ADAPTIVE_LISTENING","POPTART","TIMERS_ALARMS_NOTIFICATIONS_VOLUME","PERSISTENT_CONNECTION","SLEEP","VOLUME_SETTING","EQUALIZER_CONTROLLER_BASS","VOICE_TRAINING","GUARD_EARCON","FAR_FIELD_WAKE_WORD","LEMUR_ALPHA","DIALOG_INTERFACE_VERSION","TIMERS_AND_ALARMS","I_HEART_RADIO","KINDLE_BOOKS","SUPPORT_CALENDAR_ALERT","SIRIUSXM","SUPPORTS_LOCALE_SWITCH","UPDATE_WIFI","ALEXA_VOICE","REQUIRES_OOBE_FOR_SETUP","DREAM_TRAINING","SUPPORTS_LOCALE","FLASH_BRIEFING","CUSTOM_ALARM_TONE","PAIR_BT_SOURCE","GADGETS","PANDORA","CHANGE_NAME","EFDCARDS","MUSIC_SKILL","MULTI_WAKEWORDS_SUPPORTED","ALEXA_PRESENCE","DS_VOLUME_SETTING","AUDIO_CONTROLS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A01378201SS79J7AJ7XMS","deviceFamily":"ECHO","deviceOwnerCustomerId":"AV8T15OWSJBT1","deviceType":"A1RABVCI4QCIKC","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["edbb7e932cf347c7b287a5db19c3ee30"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G0911M079406180P","softwareVersion":"5805753220"},{"accountName":"Echo Dot Küche","appDeviceList":[],"capabilities":["TUPLE_CATEGORY_A","SALMON","TIDAL","EQUALIZER_CONTROLLER_MIDRANGE","PAIR_REMOTE","SPEECH_RECOGNIZER_USS","REMINDERS","DEEZER","DEREGISTER_FACTORY_RESET","ACTIVE_AFTER_FRO","EARCONS","ASCENDING_ALARM_VOLUME","AUDIBLE","TAHOE_BYOD","SUPPORTS_SOFTWARE_VERSION","EQUALIZER_CONTROLLER_TREBLE","SET_LOCALE","TUPLE","DEREGISTER_DEVICE","MICROPHONE","AUDIO_PLAYER","TUNE_IN","APPLE_MUSIC","SOUND_SETTINGS","BT_PAIRING_FLOW_V2","PAIR_BT_SINK","GOLDFISH","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AMAZON_MUSIC","ADAPTIVE_LISTENING","POPTART","TIMERS_ALARMS_NOTIFICATIONS_VOLUME","PERSISTENT_CONNECTION","SLEEP","VOLUME_SETTING","EQUALIZER_CONTROLLER_BASS","VOICE_TRAINING","GUARD_EARCON","FAR_FIELD_WAKE_WORD","LEMUR_ALPHA","DIALOG_INTERFACE_VERSION","TIMERS_AND_ALARMS","I_HEART_RADIO","KINDLE_BOOKS","SUPPORT_CALENDAR_ALERT","SIRIUSXM","SUPPORTS_LOCALE_SWITCH","UPDATE_WIFI","ALEXA_VOICE","REQUIRES_OOBE_FOR_SETUP","DREAM_TRAINING","SUPPORTS_LOCALE","FLASH_BRIEFING","CUSTOM_ALARM_TONE","PAIR_BT_SOURCE","GADGETS","PANDORA","CHANGE_NAME","EFDCARDS","MUSIC_SKILL","MULTI_WAKEWORDS_SUPPORTED","ALEXA_PRESENCE","DS_VOLUME_SETTING","AUDIO_CONTROLS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A10336463KM6ANCFBSROV","deviceFamily":"ECHO","deviceOwnerCustomerId":"AV8T15OWSJBT1","deviceType":"A32DOYMUN6DTXA","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["edbb7e932cf347c7b287a5db19c3ee30"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G090U610916420KJ","softwareVersion":"5805753476"},{"accountName":"Echo Show Schlafzimmer","appDeviceList":[],"capabilities":["SALMON","TIDAL","EQUALIZER_CONTROLLER_MIDRANGE","SPEECH_RECOGNIZER_USS","REMINDERS","LIVE_VIEW","DEEZER","EARCONS","ASCENDING_ALARM_VOLUME","AUDIBLE","TUPLE_CATEGORY_B","SUPPORTS_SOFTWARE_VERSION","EQUALIZER_CONTROLLER_TREBLE","SET_LOCALE","TUPLE","MICROPHONE","AUDIO_PLAYER","TUNE_IN","APPLE_MUSIC","SOUND_SETTINGS","BT_PAIRING_FLOW_V2","GOLDFISH","PAIR_BT_SINK","SUPPORTS_CONNECTED_HOME_CLOUD_ONLY","AMAZON_MUSIC","ADAPTIVE_LISTENING","POPTART","TIMERS_ALARMS_NOTIFICATIONS_VOLUME","PERSISTENT_CONNECTION","FACTORY_RESET_DEVICE","SLEEP","VOLUME_SETTING","EQUALIZER_CONTROLLER_BASS","VOICE_TRAINING","GUARD_EARCON","FAR_FIELD_WAKE_WORD","LEMUR_ALPHA","DIALOG_INTERFACE_VERSION","TIMERS_AND_ALARMS","I_HEART_RADIO","KINDLE_BOOKS","SUPPORT_CALENDAR_ALERT","SIRIUSXM","SUPPORTS_LOCALE_SWITCH","ALEXA_VOICE","DREAM_TRAINING","SUPPORTS_LOCALE","CUSTOM_ALARM_TONE","FLASH_BRIEFING","PANDORA","CHANGE_NAME","EFDCARDS","MUSIC_SKILL","SHARKNADO","MULTI_WAKEWORDS_SUPPORTED","ALEXA_PRESENCE","DS_VOLUME_SETTING","AUDIO_CONTROLS"],"charging":null,"clusterMembers":[],"deviceAccountId":"A063800733RIXTXAV2E0V","deviceFamily":"KNIGHT","deviceOwnerCustomerId":"AV8T15OWSJBT1","deviceType":"A1Z88NGR2BK6A2","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":["edbb7e932cf347c7b287a5db19c3ee30"],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"G09183091056058K","softwareVersion":"5805754756"},{"accountName":"This Device","appDeviceList":[{"deviceAccountId":"A0677275IETJ8P5WNXLX","deviceType":"A2IVLV5VM2W81","serialNumber":"87ba03d8a92b898ff3e2a5c99dfec165"},{"deviceAccountId":"A0305194VW9O0KVSCYQ1","deviceType":"A2TF17PFR55MTB","serialNumber":"0e04d8c1b73441e4a99110c749a5c5b4"},{"deviceAccountId":"A026176610BR5KGLF1W15","deviceType":"A2IVLV5VM2W81","serialNumber":"c0762bc600e4285baf43afb81d34ac9f"},{"deviceAccountId":"A07533506XAPMCE5GKBX","deviceType":"A2IVLV5VM2W81","serialNumber":"21c59241ed82e98a939e5f47592a8d7e"},{"deviceAccountId":"A09012853PV47373YXTQJ","deviceType":"A2IVLV5VM2W81","serialNumber":"21972b82caeee1fdd6a07cc3efcb2ea8"},{"deviceAccountId":"A0267062IZ3KDQJQTKZ9","deviceType":"A2IVLV5VM2W81","serialNumber":"1b301e0ca222ab067879d1d21e50614f"}],"capabilities":["VOLUME_SETTING","MICROPHONE","ADAPTIVE_LISTENING"],"charging":null,"clusterMembers":[],"deviceAccountId":"A0267062IZ3KDQJQTKZ9","deviceFamily":"VOX","deviceOwnerCustomerId":"AV8T15OWSJBT1","deviceType":"A2IVLV5VM2W81","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":true,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"1b301e0ca222ab067879d1d21e50614f","softwareVersion":"1"},{"accountName":"Stephan's Alexa Apps","appDeviceList":[{"deviceAccountId":"A06175881I2SREN19MYMG","deviceType":"A1DL2DVDQVK3Q","serialNumber":"SMG985F5B8874995CD23CCC"}],"capabilities":["VOLUME_SETTING","MICROPHONE","ADAPTIVE_LISTENING"],"charging":null,"clusterMembers":[],"deviceAccountId":"A06175881I2SREN19MYMG","deviceFamily":"AMAZONMOBILEMUSIC_ANDROID","deviceOwnerCustomerId":"AV8T15OWSJBT1","deviceType":"A1DL2DVDQVK3Q","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"SMG985F5B8874995CD23CCC","softwareVersion":"516140110"}]} 2021-10-13 08:36:36.789 - debug: alexa2.0 (14617) Alexa-Remote: No authentication check needed (time elapsed 822) 2021-10-13 08:36:36.790 - debug: alexa2.0 (14617) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/wake-word?_=1634106996790","method":"GET","timeout":10000,"headers":{}} 2021-10-13 08:36:37.020 - debug: alexa2.0 (14617) Alexa-Remote: Response: {"wakeWords":[{"active":true,"deviceSerialNumber":"G0911X03941304ML","deviceType":"A2JKHJ0PX4J3L3","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G0911M079406180P","deviceType":"A1RABVCI4QCIKC","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G090U610916420KJ","deviceType":"A32DOYMUN6DTXA","midFieldState":null,"wakeWord":"ALEXA"},{"active":true,"deviceSerialNumber":"G09183091056058K","deviceType":"A1Z88NGR2BK6A2","midFieldState":null,"wakeWord":"ALEXA"}]} 2021-10-13 08:36:37.022 - debug: alexa2.0 (14617) Alexa-Remote: No authentication check needed (time elapsed 1055) 2021-10-13 08:36:37.023 - debug: alexa2.0 (14617) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/bluetooth?cached=true&_=1634106997023","method":"GET","timeout":10000,"headers":{}} 2021-10-13 08:36:37.487 - debug: alexa2.0 (14617) Alexa-Remote: Response: {"bluetoothStates":[{"deviceSerialNumber":"9b152b51d8704399bfc1b33db9fa8214","deviceType":"A2TF17PFR55MTB","friendlyName":null,"gadgetPaired":false,"online":false,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"130050002","streamingState":null},{"deviceSerialNumber":"SMG950FF40469E1060EB598","deviceType":"A1DL2DVDQVK3Q","friendlyName":null,"gadgetPaired":false,"online":false,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"516110110","streamingState":null},{"deviceSerialNumber":"70940514603302JH","deviceType":"ADVBD696BHNV5","friendlyName":null,"gadgetPaired":false,"online":false,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"662663720","streamingState":null},{"deviceSerialNumber":"edbb7e932cf347c7b287a5db19c3ee30","deviceType":"A3C9PE6TNYLTCH","friendlyName":null,"gadgetPaired":false,"online":false,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"0","streamingState":null},{"deviceSerialNumber":"G0911X03941304ML","deviceType":"A2JKHJ0PX4J3L3","friendlyName":"FireTV","gadgetPaired":false,"online":true,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"21039196292","streamingState":null},{"deviceSerialNumber":"G0911M079406180P","deviceType":"A1RABVCI4QCIKC","friendlyName":"Echo Dot-80P","gadgetPaired":false,"online":true,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"5805753220","streamingState":null},{"deviceSerialNumber":"G090U610916420KJ","deviceType":"A32DOYMUN6DTXA","friendlyName":"Echo-0KJ","gadgetPaired":false,"online":true,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"5805753476","streamingState":null},{"deviceSerialNumber":"G09183091056058K","deviceType":"A1Z88NGR2BK6A2","friendlyName":"Echo Show","gadgetPaired":false,"online":true,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"5805754756","streamingState":null},{"deviceSerialNumber":"1b301e0ca222ab067879d1d21e50614f","deviceType":"A2IVLV5VM2W81","friendlyName":null,"gadgetPaired":false,"online":false,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"1","streamingState":null},{"deviceSerialNumber":"SMG985F5B8874995CD23CCC","deviceType":"A1DL2DVDQVK3Q","friendlyName":null,"gadgetPaired":false,"online":false,"pairedDeviceList":null,"sconeBattery":null,"sconePaired":false,"softwareVersion":"516140110","streamingState":null}]} 2021-10-13 08:36:37.488 - debug: alexa2.0 (14617) Alexa-Remote: No authentication check needed (time elapsed 1521) 2021-10-13 08:36:37.489 - debug: alexa2.0 (14617) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/notifications?cached=true&_=1634106997489","method":"GET","timeout":10000,"headers":{}} 2021-10-13 08:36:37.838 - debug: alexa2.0 (14617) Alexa-Remote: Response: {"notifications":[]} 2021-10-13 08:36:37.840 - debug: alexa2.0 (14617) Alexa-Remote: Initialize WS-MQTT Push Connection 2021-10-13 08:36:37.860 - debug: alexa2.0 (14617) Alexa-Remote: No authentication check needed (time elapsed 1893) 2021-10-13 08:36:37.861 - debug: alexa2.0 (14617) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/entities?skillId=amzn1.ask.1p.music","method":"GET","timeout":10000,"headers":{"Routines-Version":"1.1.210292"}} 2021-10-13 08:36:38.179 - debug: alexa2.0 (14617) Alexa-Remote: Response: [{"id":"AMAZON_MUSIC","displayName":"Amazon Music","description":"Music provider","supportedProperties":["Alexa.Music.PlaySearchPhrase"],"supportedTriggers":[],"supportedOperations":["Alexa.Music.PlaySearchPhrase"],"availability":"AVAILABLE","icon":null,"providerData":{"isDefaultMusicProvider":true,"isDefaultStationProvider":true}},{"id":"TUNEIN","displayName":"TuneIn","description":"Music provider","supportedProperties":["Alexa.Music.PlaySearchPhrase"],"supportedTriggers":[],"supportedOperations":["Alexa.Music.PlaySearchPhrase"],"availability":"AVAILABLE","icon":null,"providerData":{"isDefaultMusicProvider":false,"isDefaultStationProvider":false}},{"id":"CLOUDPLAYER","displayName":"My Library","description":"Music provider","supportedProperties":["Alexa.Music.PlaySearchPhrase"],"supportedTriggers":[],"supportedOperations":["Alexa.Music.PlaySearchPhrase"],"availability":"AVAILABLE","icon":null,"providerData":{"isDefaultMusicProvider":false,"isDefaultStationProvider":false}},{"id":"DEFAULT","displayName":"","description":"Default Music provider","supportedProperties":["Alexa.Music.PlaySearchPhrase"],"supportedTriggers":[],"supportedOperations":["Alexa.Music.PlaySearchPhrase"],"availability":"AVAILABLE","icon":null,"providerData":{"isDefaultMusicProvider":false,"isDefaultStationProvider":false}}] 2021-10-13 08:36:38.181 - debug: alexa2.0 (14617) Alexa-Remote: No authentication check needed (time elapsed 2214) 2021-10-13 08:36:38.182 - debug: alexa2.0 (14617) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/v2/automations?limit=2000","method":"GET","timeout":30000,"headers":{}} 2021-10-13 08:36:38.314 - debug: alexa2.0 (14617) Alexa-Remote WS-MQTT: Open: wss://dp-gw-na.amazon.de/tcomm/ 2021-10-13 08:36:38.319 - debug: alexa2.0 (14617) Alexa-Remote WS-MQTT: Incoming RAW message: 307833376131623630372030783030303030303963207b2270726f746f636f6c4e616d65223a22413a46222c22706172616d6574657273223a7b22416c70686150726f746f636f6c48616e646c65722e6d6178467261676d656e7453697a65223a223136303030222c22416c70686150726f746f636f6c48616e646c65722e7265636569766557696e646f7753697a65223a223136227d7d54554e45 2021-10-13 08:36:38.321 - debug: alexa2.0 (14617) Alexa-Remote WS-MQTT: Incoming message: {"service":"TUNE","checksum":933344775,"content":{"protocolName":"A:F","parameters":{"AlphaProtocolHandler.maxFragmentSize":"16000","AlphaProtocolHandler.receiveWindowSize":"16"}}} 2021-10-13 08:36:38.322 - debug: alexa2.0 (14617) Alexa-Remote WS-MQTT: Detected protocol A:F 2021-10-13 08:36:38.327 - debug: alexa2.0 (14617) Alexa-Remote WS-MQTT: A:F Initialization Msg 2 sent: 307866653838626335322030783030303030303963207b2270726f746f636f6c4e616d65223a22413a46222c22706172616d6574657273223a7b22416c70686150726f746f636f6c48616e646c65722e7265636569766557696e646f7753697a65223a223136222c22416c70686150726f746f636f6c48616e646c65722e6d6178467261676d656e7453697a65223a223136303030227d7d54554e45 2021-10-13 08:36:38.348 - debug: alexa2.0 (14617) Alexa-Remote: Response: [{"@type":"com.amazon.alexa.behaviors.model.Automation","automationId":"amzn1.alexa.automation.084e8b9b-e269-472b-acc4-539bd06bbebc","name":null,"triggers":[{"payload":{"customerId":"AV8T15OWSJBT1","utterance":"gute Nacht","locale":"de-DE","marketplaceId":"A1PA6795UKMFR9"},"id":"amzn1.alexa.trigger.1088f084-3501-41cb-9875-5dea73d565cf","type":"CustomUtterance","skillId":null,"timeLapse":null,"presentationDataList":null,"imageUrl":null,"clientData":null,"context":null}],"sequence":{"@type":"com.amazon.alexa.behaviors.model.Sequence","sequenceId":"amzn1.alexa.sequence.c9f5cbd3-91d8-4819-a646-a7505728b03e","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.OpaquePayloadOperationNode","nodeState":null,"name":null,"type":"Alexa.SmartHome.Batch","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"fb09d991-b846-4852-acd5-fb7b2597e4b4","customerId":"AV8T15OWSJBT1","operations":[{"type":"turnOff"}]},"presentationDataList":null,"clientData":null,"context":null,"tag":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","nodeState":null,"name":null,"type":"Alexa.SmartHome.Batch","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"9e37deb8-60c4-44b4-8d73-7705ffc21260","customerId":"AV8T15OWSJBT1","operations":[{"type":"turnOff"}]},"presentationDataList":null,"clientData":null,"context":null,"tag":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","nodeState":null,"name":null,"type":"Alexa.SmartHome.Batch","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"b059ab72-41b5-405a-acd6-3dcd1dda4dae","customerId":"AV8T15OWSJBT1","operations":[{"type":"turnOff"}]},"presentationDataList":null,"clientData":null,"context":null,"tag":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","nodeState":null,"name":null,"type":"Alexa.SmartHome.Batch","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"de17645c-61e3-45ad-b91d-4a18c7cf73ff","customerId":"AV8T15OWSJBT1","operations":[{"type":"turnOff"}]},"presentationDataList":null,"clientData":null,"context":null,"tag":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","nodeState":null,"name":null,"type":"Alexa.SmartHome.Batch","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"f87e7c2b-c4be-4778-b937-d58bf93da780","customerId":"AV8T15OWSJBT1","operations":[{"type":"turnOff"}]},"presentationDataList":null,"clientData":null,"context":null,"tag":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","nodeState":null,"name":null,"type":"Alexa.SmartHome.Batch","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"873ba7a1-c8fb-4f31-b964-fc27f2f2a681","customerId":"AV8T15OWSJBT1","operations":[{"type":"turnOff"}]},"presentationDataList":null,"clientData":null,"context":null,"tag":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","nodeState":null,"name":null,"type":"Alexa.SmartHome.Batch","skillId":"amzn1.ask.1p.smarthome","operationPayload":{"target":"068302e5-0b50-423c-ae94-c3e67ba06f27","customerId":"AV8T15OWSJBT1","operations":[{"type":"turnOff"}]},"presentationDataList":null,"clientData":null,"context":null,"tag":null},{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","nodeState":null,"name":null,"type":"Alexa.CannedTts.Speak","skillId":"amzn1.ask.1p.saysomething","operationPayload":{"deviceType":"ALEXA_CURRENT_DEVICE_TYPE","deviceSerialNumber":"ALEXA_CURRENT_DSN","customerId":"AV8T15OWSJBT1","locale":"de-DE","cannedTtsStringId":"alexa.cannedtts.speak.curatedtts-category-goodnight/alexa.cannedtts.speak.curatedtts-random"},"presentationDataList":null,"clientData":null,"context":null,"tag":null}]}]}},"owner":{"@type":"OwnerId","ownerType":"CUSTOMER","id":"AV8T15OWSJBT1"},"clientAlias":"arn:alexa:amazon:softwareapplication/AlexaBehaviorsService","condition":null,"status":"ENABLED","tags":null,"creationTimeEpochMillis":1562701605337,"lastUpdatedTimeEpochMillis":1627511282562},{"@type":"com.amazon.alexa.behaviors.model.Automation","automationId":"amzn1.alexa.automation.bd4a7714-c11b-4e7b-b8a3-e7aa9dc2f55d","name":null,"triggers":[{"payload":{"customerId":"AV8T15OWSJBT1","utterance":"guten Morgen","locale":"de-DE","marketplaceId":"A1PA6795UKMFR9"},"id":"amzn1.alexa.trigger.6e2ca1a4-1538-48ca-b398-b330291ab4c9","type":"CustomUtterance","skillId":null,"timeLapse":null,"presentationDataList":null,"imageUrl":null,"clientData":null,"context":null}],"sequence":{"@type":"com.amazon.alexa.behaviors.model.Sequence","sequenceId":"amzn1.alexa.sequence.d39a20b5-0c08-4655-ad3b-f7f146713347","startNode":{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","nodeState":null,"name":null,"type":"Alexa.FlashBriefing.Play","skillId":"amzn1.ask.1p.flashbriefing","operationPayload":{"customerId":"AV8T15OWSJBT1","deviceType":"ALEXA_CURRENT_DEVICE_TYPE","deviceSerialNumber":"ALEXA_CURRENT_DSN","locale":"de-DE"},"presentationDataList":null,"clientData":null,"context":null,"tag":null}},"owner":{"@type":"OwnerId","ownerType":"CUSTOMER","id":"AV8T15OWSJBT1"},"clientAlias":"arn:alexa:amazon:softwareapplication/AlexaBehaviorsService","condition":null,"status":"ENABLED","tags":null,"creationTimeEpochMillis":1581662916724,"lastUpdatedTimeEpochMillis":1607290215760}] 2021-10-13 08:36:38.351 - debug: alexa2.0 (14617) Alexa-Remote: No authentication check needed (time elapsed 2384) 2021-10-13 08:36:38.352 - debug: alexa2.0 (14617) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/namedLists?_=1634106998352","method":"GET","timeout":10000,"headers":{}} 2021-10-13 08:36:38.385 - debug: alexa2.0 (14617) Alexa-Remote WS-MQTT: A:F Initialization Msg 3 (Register Connection) sent: 4d53470000036229f32fc766000000015736e899000000e447574d204d5347203078303030306234373920307830303030303033622075726e3a74636f6d6d2d656e64706f696e743a6465766963653a646576696365547970653a303a64657669636553657269616c4e756d6265723a3020307830303030303034312075726e3a74636f6d6d2d656e64706f696e743a736572766963653a736572766963654e616d653a446565576562736974654d6573736167696e6753657276696365207b22636f6d6d616e64223a2252454749535445525f434f4e4e454354494f4e227d46414245 2021-10-13 08:36:38.489 - debug: alexa2.0 (14617) Alexa-Remote WS-MQTT: Send First Ping Speicherzugriffsfehler
Leider hat sich, soweit ich das sehen kann, nichts geändert
-
Schade
-
@apollon77 Ok dann kannst du noch folgendes tun. suche mal wo in den node_modules du ein "bufferutil" Verzeichnis findest und benenne es mal um oder "Move" es weg (nicht löschen falls was anderes dadurch kaputt geht)
-
@apollon77 Was mich aber verwundert ist folgendes:
pi@ioBroker:/opt/iobroker/node_modules/ws $ npm i bufferutil@4.0.3 > bufferutil@4.0.3 install /opt/iobroker/node_modules/ws/node_modules/bufferutil > node-gyp-build npm notice created a lockfile as package-lock.json. You should commit this file. + bufferutil@4.0.3 added 2 packages from 2 contributors and audited 2 packages in 1.423s found 0 vulnerabilities pi@ioBroker:/opt/iobroker/node_modules/ws $
Bringt keine Meldung, das etwas "getan" wurde. Zum Test habe ich mal eingegeben:
pi@ioBroker:/opt/iobroker/node_modules/ws $ npm i bufferutil@4.0.2 > bufferutil@4.0.2 install /opt/iobroker/node_modules/ws/node_modules/bufferutil > node-gyp-build make: Verzeichnis „/opt/iobroker/node_modules/ws/node_modules/bufferutil/build“ wird betreten CC(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node COPY Release/bufferutil.node make: Verzeichnis „/opt/iobroker/node_modules/ws/node_modules/bufferutil/build“ wird verlassen + bufferutil@4.0.2 updated 1 package and audited 2 packages in 4.396s found 0 vulnerabilities
Hier steht ja etwas, das was gemacht wurde ...
-
Ja npm ist da manchmal strange ... kannst auch versuchen bufferutil verzeichnisse zu suchen (oh ja mach das mal) und in allen ein "npm rebuild" aufrufen
-
pi@ioBroker:/opt/iobroker/node_modules/ws $ sudo find / -type d -name "bufferutil" /opt/iobroker/node_modules/bufferutil /opt/iobroker/node_modules/ws/node_modules/bufferutil /opt/iobroker/node_modules/ws/node_modules/bufferutil/build/Release/.deps/Release/obj.target/bufferutil /opt/iobroker/node_modules/ws/node_modules/bufferutil/build/Release/obj.target/bufferutil find: ‘/proc/15830’: Datei oder Verzeichnis nicht gefunden /home/pi/node_modules/bufferutil
-
@skb dann mach mal in /opt/iobroker/node_modules/bufferutil und auch /opt/iobroker/node_modules/ws/node_modules/bufferutil/ ein "npm rebuild"
-
pi@ioBroker:/opt/iobroker/node_modules/ws $ cd /opt/iobroker/node_modules/bufferutil/ pi@ioBroker:/opt/iobroker/node_modules/bufferutil $ npm rebuild pi@ioBroker:/opt/iobroker/node_modules/bufferutil $ cd /opt/iobroker/node_modules/ws/node_modules/bufferutil/ pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ npm rebuild pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $
Ist das richtig, das da keine Ausgabe kommt?
Soll ich nun den Adapter noch einmal starten? Via Instanz oder Shell? -
@skb hm ... ne keine ausgabe ist blöd. mach mal in beiden dirs ein "npm install --production"
-
@apollon77 said in Alexa Adapter startet nach Update auf 3.10.4 nicht mehr:
npm install --production
pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ npm install --production > bufferutil@4.0.2 install /opt/iobroker/node_modules/ws/node_modules/bufferutil > node-gyp-build npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) added 1 package from 1 contributor and audited 115 packages in 7.61s found 1 moderate severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $
und
pi@ioBroker:/opt/iobroker/node_modules/bufferutil $ npm install --production npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. > bufferutil@4.0.4 install /opt/iobroker/node_modules/bufferutil > node-gyp-build npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) added 1 package from 1 contributor and audited 411 packages in 14.738s found 5 vulnerabilities (1 low, 3 moderate, 1 high) run `npm audit fix` to fix them, or `npm audit` for details pi@ioBroker:/opt/iobroker/node_modules/bufferutil $
Irgendwie sieht das sehr strubbelig aus ^^
Soll ich npm audit fix laufen lassen?
-
@skb nneee kein audit fix. versuch mal start
-
@apollon77 npm start? Oder?
-
@skb einfach adapter restarten ... admin oder "iob restart alexa2" oder so ist egal
-
host.ioBroker 2021-10-13 09:52:28.035 info Restart adapter system.adapter.alexa2.0 because enabled host.ioBroker 2021-10-13 09:52:28.035 info instance system.adapter.alexa2.0 terminated with code NaN () host.ioBroker 2021-10-13 09:52:28.034 warn instance system.adapter.alexa2.0 terminated due to SIGBUS
Frage: Wie könnte sich jetzt etwas geändert haben, wenn dort oben soviele Fehlermeldungen auftauchen?
-
@skb Problem ist das ich oben das was ich sehen wollte nicht gesehen habe ... keine ahnung gerade mehr @AlCalzone noch ne idee als workaround?
-
@SKB next try ...
Ansonsten: in den entsprechenden Verzeichnissen die Datei node.napi.armv7.node löschen, dann sollten keine nativen Sachen mehr aufgerufen werden können. Siehe auch GitHub Issue.
... schau mal ob so ein File in den bufferutil verzeichnissen ist und wenn ja benenn mal um
-
pi@ioBroker:/opt/iobroker/node_modules/bufferutil $ ls binding.gyp fallback.js index.js LICENSE node_modules package.json package-lock.json prebuilds README.md src pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ ls binding.gyp build fallback.js index.js LICENSE node_modules package.json package-lock.json prebuilds README.md src
Soweit ich das sehe, ist in keinem der Verzeichnisse diese Datei vorhanden.
Habe mal eine Suche durchgeführt:
pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ sudo find / -type f -name "node.napi.armv7.node" /opt/iobroker/node_modules/utf-8-validate/prebuilds/linux-arm/node.napi.armv7.node /opt/iobroker/node_modules/bufferutil/prebuilds/linux-arm/node.napi.armv7.node find: ‘/proc/21028/task/21028/net’: Das Argument ist ungültig find: ‘/proc/21028/net’: Das Argument ist ungültig /home/pi/node_modules/utf-8-validate/prebuilds/linux-arm/node.napi.armv7.node /home/pi/node_modules/bufferutil/prebuilds/linux-arm/node.napi.armv7.node
Soll ich alle entfernen?