Keine Ahnung, ich nutze das nicht, könnte das aber mit dem hier https://knx-user-forum.de/forum/supp...o-speach/page7 zusammenhängen?
Ankündigung
Einklappen
Keine Ankündigung bisher.
Alexa Smarthome Skill (Payload Version 3)
Einklappen
X
-
Ich habe die Verbindung mit Alexa erfolgreich nach Anleitung hergestellt.
In den Fehler-Logs hatte ich noch diesen Fehler:
Code:[COLOR=#FF0000][FONT=EDOMIfontMono][SIZE=10px]Datei: /usr/local/edomi/www/data/liveproject/lbs/LBS19001201.php | Fehlercode: 2 | Zeile: 1392 | include(/usr/local/edomi/www/admin/lbs/alexa/eventGatewayConfig.php): failed to open stream: No such file or directory[/SIZE][/FONT][/COLOR]
Ich habe im LBS19001201 Zeile 1689:
Code:include '/usr/local/edomi/www/admin/lbs/alexa/eventGatewayConfig.php';
Danke für die Umsetzung und super Arbeit!
Kommentar
-
Zitat von millo Beitrag anzeigenIch habe im LBS19001201 Zeile 1689: Code:
include '/usr/local/edomi/www/admin/lbs/alexa/eventGatewayConfig.php';
entfernt
EDIT: ich habe die Ursache gefunden, es ist nicht die aktuellste Version des Skill Skripts im DL Portal.
Die sendEvent() Funktion sieht nun so aus:
PHP-Code:function LB_LBSID_sendEvent($id, $event)
{
if (file_exists('/usr/local/edomi/www/admin/lbs/alexa/eventGatewayConfig.php')) {
include '/usr/local/edomi/www/admin/lbs/alexa/eventGatewayConfig.php';
static $eventGatewayAccessToken;
if (isset($eventGatewayRefreshToken)) {
if (! isset($eventGatewayAccessToken ))
$eventGatewayAccessToken = LB_LBSID_refresh_access_token($id, $eventGatewayClientId, $eventGatewayClientSecret, $eventGatewayRefreshToken);
$event['event']['endpoint']['scope']['token'] = $eventGatewayAccessToken;
LB_LBSID_logging($id, "Sending event to Alexa Event Gateway: ", $event);
$httpResponseCode = LB_LBSID_sendEventToGateway($event, $eventGatewayRegion);
if ($httpResponseCode == 202)
LB_LBSID_logging($id, 'Successfully sent event');
elseif ($httpResponseCode == 401) {
LB_LBSID_logging($id, 'Access token expired, refreshing now ...');
$eventGatewayAccessToken = LB_LBSID_refresh_access_token($id, $eventGatewayClientId, $eventGatewayClientSecret, $eventGatewayRefreshToken);
$event['event']['endpoint']['scope']['token'] = $eventGatewayAccessToken;
$httpResponseCode = LB_LBSID_sendEventToGateway($event);
if ($httpResponseCode == 202)
LB_LBSID_logging($id, 'Successfully sent event');
else
LB_LBSID_logging($id, 'Failed to send event. Error Code: ' . $httpResponseCode);
} else
LB_LBSID_logging($id, 'Failed to send event. Error Code: ' . $httpResponseCode);
} else
LB_LBSID_logging($id, "Failed to send event due to missing RefreshToken!");
} else
LB_LBSID_logging($id, "eventGatewayConfig.php missing. Please activate your EDOMI smarthome skill via the alexa app on your mobile device.");
}
Ich glaube mich zu erinnern, dass du bei der Konfiguration des Skills im Alexa Portal das EventGateway für den Skill aktivieren musst. Vermutlich wird nur dann die entsprechende Message geschickt, die dann das entsprechende Access und Refresh Token in der Config Datei speichert.
Einfach mal checken und den Skill dann neu aktivieren.Zuletzt geändert von jonofe; 27.06.2019, 10:58.
Kommentar
-
Im nächsten Update ist die Änderung dabei. Und normalerweise tritt das Problem nicht auf, denn dies deutet auf einen Fehler bei der Aktivierungs des Skills hin, welche zwar grundsätzlich unkritisch ist, aber das Event-Gateway dann nicht funktioniert.
Zu deinem anderen Problem bin ich etwas ratlos. Kommt denn bei der Aktivierung etwas im Skillskript an? Das sollte eigentlich beim Aktivieren getriggert werden. Wenn dies nicht passiert, dann gibt es einen Aktivierungsfehler. Du könntest dir mal die Cloudwatch Einträge der Lambda Funktion anschauen.
Kommentar
-
Zitat von ThorstenGehrig Beitrag anzeigenheißt das wir sollen das Skill-Script entsprechend anpassen?
Code:[COLOR=#FF0000][FONT=EDOMIfontMono][SIZE=10px]Datei: /usr/local/edomi/www/data/liveproject/lbs/LBS19001201.php | Fehlercode: 8 | Zeile: 1401 | Undefined variable: eventGatewayRegion[/SIZE][/FONT][/COLOR]
Kommentar
-
Hi
Zitat von jonofe Beitrag anzeigenKommt denn bei der Aktivierung etwas im Skillskript an? Das sollte eigentlich beim Aktivieren getriggert werden. Wenn dies nicht passiert, dann gibt es einen Aktivierungsfehler. Du könntest dir mal die Cloudwatch Einträge der Lambda Funktion anschauen.
Mal schauen was Cloudwatch sagt... kenne das bisher nicht.
... guter hinweiß:
Code: 18:56:13 START RequestId: c2724c7d-4af2-402a-875d-a364d636e989 Version: $LATEST 18:56:13 Handler 'lamda_handler' missing on module 'edomi-aws-lambda-skill-adapter-PLv3': 'module' object has no attribute 'lamda_handler' 18:56:13 END RequestId: c2724c7d-4af2-402a-875d-a364d636e989 18:56:13 REPORT RequestId: c2724c7d-4af2-402a-875d-a364d636e989 Duration: 0.36 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 51 MB
was muss da rein?
Im Augenblick habe ich: "edomi-aws-lambda-skill-adapter-PLv3.lamda_handler" eingetragen ...
(ich suche gleich nochmal in der PDF).
Nachtrag: laut Doku scheint das richtig. Die Datei "/edomi-aws-lambda-skill-adapter-PLv3.py" existiert auch...
... und die Datei enthält auch "def lambda_handler(event, context):" - genauso wie im PDF (Seite 28) zu sehen.
FACEPALM::: lamda_handler und lambda_handler sind halt 2 unterschiedliche Sachen... BLÖD das es (dank Fontsize) nicht sauber auf dem schirm lesbar war...
Hoffe jetzt krieg ich es hin ... ENDLICH FORTSCHRITT. Daaaaaaaanke.
Schonmal DANKE für den Hinweiß mit dem Cloudwatch log
Gruß
ThorstenZuletzt geändert von ThorstenGehrig; 30.06.2019, 20:59.
Kommentar
-
So... ich melde mich nochmal zurück.
Leider noch nicht mit erfolgsmeldungen.
Wenn ich den Skill verbinde kommt am EDOMI-PLv3 script was an, das sieht aber so aus:
Code:Array ( [directive] => Array ( [header] => Array ( [payloadVersion] => 3 [namespace] => Alexa.Authorization [name] => AcceptGrant [messageId] => edbae375-ebc4-4039-845e-6dff10fe1d2d ) [payload] => Array ( [grantee] => Array ( [token] => Atza|IwEBIBG744QJOKvzoZ1qZnROd0_1234_b4TMkBsga7fz-nTjEdmLQdu8aSp7kxtoouiYe9B3hPlsOyCM_9L3A8n3l5ukMBAFnmz680lIvg1iiRP-Kfako29R5US16VTtrQdSgHa6V0VbFUPSmd6X-Te-YQg4xegM1DLThj6DFQleFNL3KIvr9AhfGjiXLzgb0R5XyYDisra53MaUni4l5iXkI8KWdkwh-12CsCxgUtNMMP2iLLcFBKzmbqhCJm6C8uCY8supcjO6BOrRRYFi-ajk30w6ugDr8p_yx6ImapEMwCDB8jkG3wcvHvgpkzQB5ENoinu5JXD_Pdzu7Er99jDCmHaBvZHo3veC37fa_5fF_8YfQdsODDTYsFc5N8WT4ieW5NUcR_gbpjRyTxks2QOUooSeGs5faYf_uq6pd-vt3S4KdLihOuPSz8y68uJmnoC7G-jHGZ1RxJ-CxvZuBK1NcNyXfii4yOi_jz4cJybeZJuSNBlUR2xu4BJqMwQDcIo-G_N4oXpk1CEwqFwaEZFDHVM0 [type] => BearerToken ) [grant] => Array ( [code) => RHTwftSdmDQLFeRSrGgH [type] => OAuth2.AuthorizationCode ) ) ) ) Validation URL: https://api.amazon.com/auth/O2/tokeninfo?access_token=Atza%7CIwEBIBG744QJOKvzoZ1qZnROd0_1234_b4TMkBsga7fz-nTjEdmLQdu8aSp7kxtoouiYe9B3hPlsOyCM_9L3A8n3l5ukMBAFnmz680lIvg1iiRP-Kfako29R5US16VTtrQdSgHa6V0VbFUPSmd6X-Te-YQg4xegM1DLThj6DFQleFNL3KIvr9AhfGjiXLzgb0R5XyYDisra53MaUni4l5iXkI8KWdkwh-12CsCxgUtNMMP2iLLcFBKzmbqhCJm6C8uCY8supcjO6BOrRRYFi-ajk30w6ugDr8p_yx6ImapEMwCDB8jkG3wcvHvgpkzQB5ENoinu5JXD_Pdzu7Er99jDCmHaBvZHo3veC37fa_5fF_8YfQdsODDTYsFc5N8WT4ieW5NUcR_gbpjRyTxks2QOUooSeGs5faYf_uq6pd-vt3S4KdLihOuPSz8y68uJmnoC7G-jHGZ1RxJ-CxvZuBK1NcNyXfii4yOi_jz4cJybeZJuSNBlUR2xu4BJqMwQDcIo-G_N4oXpk1CEwqFwaEZFDHVM0 JSON Validation Response: OAUTH Validattion Response: Source : FAIL OAUTH Access Token invalid
Ich hab schon alles mögliche ausprobiert - aber ich komme nicht weiter.
client_id ist definitiv die auf Kapitel 4.1 (client_id, nicht security_profile_id)
Die eventGatewayClientID und Secret sind auch copy und paste.
das client-secret aus Kapitel 4.1 wird ja nirgendwo gebraucht...?
Der Baustein 19001201 hat vermutlich/hoffentlich nichts mit einer erfolgreichen Skill-Aktivierung zu tun?
Gibt es noch irgendwo cache dateien die man löschen kann?
Wenn ich die Validation-URL in einen Browser reinwerf kriege ich:
Code:{"aud":"amzn1.application-oa2-client.4a635ef9c5354abc9f0992f6c1ead72a","user_id":"amzn1.account.AFNPOGU6HOPOEZ1234P3ZPD3XI6Q","iss":"https://www.amazon.com","exp":3579,"app_id":"amzn1.application.8ff25ef9a2a9413e948041234423973d","iat":1562015118}
Sieht ja erstmal nicht schlecht aus - ich frage mich nur warum das Script einen "OAUTH Access Token" invalid macht.
Gruß
ThorstenZuletzt geändert von ThorstenGehrig; 02.07.2019, 13:49.
Kommentar
-
also so gaaaanz langsam kämpfe ich mich vorran.
Ich habe mal das Ergebniss er validation URL direkt in das "edomi-smarthome-skill-PLv3.php" eingefügt:
Code://$r = curl_exec($ch); $r = '{"aud":"amzn1.application-oa2-client.4a635ef9c5354abc9f0992f6c1ead72a","user_id":"amzn1.account.AFNPOGU6HOPOEZ1234P3ZPD3XI6Q","iss":"https://www.amazon.com","exp":3579,"app_id":"amzn1.application.8ff25ef9a2a9413e948012347423973d","iat":1562015118}'
Code:Source : OK User-ID : amzn1.account.AFNPOGU6HOPOEZ1234P3ZPD3XI6Q Client-ID : OK Expiry : OK Authorization Token successfully validated Starting communication with EDOMI Event-Gateway Grant Code: RHIRDAkDsSCeUkMgiLXV Array ( [url] => https://api.amazon.com/auth/o2/token [content_type] => [http_code] => 0 [header_size] => 0 [request_size] => 0 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0 [namelookup_time] => 3.6E-5 [connect_time] => 0.103999 [pretransfer_time] => 0 [size_upload] => 0 [size_download] => 0 [speed_download] => 0 [speed_upload] => 0 [download_content_length] => -1 [upload_content_length] => -1 [starttransfer_time] => 0 [redirect_time] => 0 [certinfo] => Array ( ) ) Getting access to Alexa Event Gateway failed, please try to activate Edomi Smarthome Skill again via your Alexa App.
Irgendwelche Ideen?
Gruß
ThorstenZuletzt geändert von ThorstenGehrig; 02.07.2019, 13:50.
Kommentar
-
Hat keiner Probleme damit das Zertifikat zu erneuern. Ich bekomme es einfach nicht hin.
Code:Installing Python packages... Had a problem while installing Python packages. pip prints the following errors: ===================================================== Collecting ConfigArgParse==0.14.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 7)) Downloading https://files.pythonhosted.org/packages/55/ea/f0ade52790bcd687127a302b26c1663bf2e0f23210d5281dbfcd1dfcda28/ConfigArgParse-0.14.0.tar.gz Collecting asn1crypto==0.24.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 9)) Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB) Collecting certifi==2019.3.9 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 12)) Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB) Collecting cffi==1.12.2 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 15)) Downloading https://files.pythonhosted.org/packages/64/7c/27367b38e6cc3e1f49f193deb761fe75cda9f95da37b67b422e62281fcac/cffi-1.12.2.tar.gz (453kB) Collecting chardet==3.0.4 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 44)) Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB) Collecting configobj==5.0.6 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 47)) Downloading https://files.pythonhosted.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz Collecting cryptography==2.6.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 49)) Downloading https://files.pythonhosted.org/packages/07/ca/bc827c5e55918ad223d59d299fff92f3563476c3b00d0a9157d9c0217449/cryptography-2.6.1.tar.gz (491kB) Collecting enum34==1.1.6 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 71)) Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl Collecting funcsigs==1.0.2 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 76)) Downloading https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl Collecting future==0.17.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 79)) Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB) Collecting idna==2.8 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 81)) Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB) Collecting ipaddress==1.0.22 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 84)) Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl Collecting josepy==1.1.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 87)) Downloading https://files.pythonhosted.org/packages/23/46/30ac29742b03be92e05d1fd9048df6f0902bb0b3b042a7ea76a2b3c30f7e/josepy-1.1.0-py2.py3-none-any.whl (53kB) Collecting mock==1.3.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 90)) Downloading https://files.pythonhosted.org/packages/b2/50/664a70b87408bb6c14c1af2337efa64eb8d1af80c933531758b8fb41ec25/mock-1.3.0-py2.py3-none-any.whl (56kB) Collecting parsedatetime==2.4 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 93)) Downloading https://files.pythonhosted.org/packages/1d/48/ac8d4c6239437592852e951bcb9438dc585f80c29777c391aef69c67dc79/parsedatetime-2.4-py2-none-any.whl (40kB) Collecting pbr==5.1.3 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 96)) Downloading https://files.pythonhosted.org/packages/14/09/12fe9a14237a6b7e0ba3a8d6fcf254bf4b10ec56a0185f73d651145e9222/pbr-5.1.3-py2.py3-none-any.whl (107kB) Collecting pyOpenSSL==19.0.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 99)) Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB) Collecting pyRFC3339==1.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 102)) Downloading https://files.pythonhosted.org/packages/c1/7a/725f5c16756ec6211b1e7eeac09f469084595513917ea069bc023c40a5e2/pyRFC3339-1.1-py2.py3-none-any.whl Collecting pycparser==2.19 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 105)) Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl (111kB) Collecting pyparsing==2.3.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 107)) Downloading https://files.pythonhosted.org/packages/de/0a/001be530836743d8be6c2d85069f46fecf84ac6c18c7f5fb8125ee11d854/pyparsing-2.3.1-py2.py3-none-any.whl (61kB) Collecting python-augeas==0.5.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 110)) Downloading https://files.pythonhosted.org/packages/41/e6/4b6740cb3e31b82252099994cea751c648b846aa7874343c31d68c2215be/python-augeas-0.5.0.tar.gz (90kB) Collecting pytz==2018.9 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 112)) Downloading https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl (510kB) Collecting requests==2.21.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 115)) Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB) Collecting requests-toolbelt==0.9.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 118)) Downloading https://files.pythonhosted.org/packages/60/ef/7681134338fc097acef8d9b2f8abe0458e4d87559c689a8c306d0957ece5/requests_toolbelt-0.9.1-py2.py3-none-any.whl (54kB) Collecting six==1.12.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 121)) Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Collecting urllib3==1.24.2 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 124)) Downloading https://files.pythonhosted.org/packages/df/1c/59cca3abf96f991f2ec3131a4ffe72ae3d9ea1f5894abe8a9c5e3c77cfee/urllib3-1.24.2-py2.py3-none-any.whl (131kB) Collecting zope.component==4.5 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 127)) Downloading https://files.pythonhosted.org/packages/97/e2/c785df1171f277ea93cc16bdcc112cb3ddfde1aeefbc401d46c49727f472/zope.component-4.5-py2.py3-none-any.whl (70kB) Collecting zope.deferredimport==4.3 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 130)) Downloading https://files.pythonhosted.org/packages/62/d2/e03e4b0c9103817e19d1ea577c1f7fb9b67e4c0397ca5127d377e1eafe0c/zope.deferredimport-4.3-py2.py3-none-any.whl Collecting zope.deprecation==4.4.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 133)) Downloading https://files.pythonhosted.org/packages/f9/26/b935bbf9d27e898b87d80e7873a0200cebf239253d0afe7a59f82fe90fff/zope.deprecation-4.4.0-py2.py3-none-any.whl Collecting zope.event==4.4 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 136)) Downloading https://files.pythonhosted.org/packages/c5/96/361edb421a077a4c208b4a5c212737d78ae03ce67fbbcd01621c49f332d1/zope.event-4.4-py2.py3-none-any.whl Collecting zope.hookable==4.2.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 139)) Downloading https://files.pythonhosted.org/packages/41/b5/378175b959565de41f45c775cdfbf8897aaeaf29a258b94e40bd2661ce46/zope.hookable-4.2.0.tar.gz Collecting zope.interface==4.6.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 150)) Downloading https://files.pythonhosted.org/packages/4e/d0/c9d16bd5b38de44a20c6dc5d5ed80a49626fafcb3db9f9efdc2a19026db6/zope.interface-4.6.0.tar.gz (150kB) Collecting zope.proxy==4.3.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 180)) Downloading https://files.pythonhosted.org/packages/7c/f5/e9ed65cdf8c93d24d7512ef89e21b241bc9ae75d90bc8608cc142f4c26f9/zope.proxy-4.3.1.tar.gz (43kB) Collecting letsencrypt==0.7.0 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 200)) Downloading https://files.pythonhosted.org/packages/fd/21/0c6f33829fadec8aca0c1ebb4d6f8101c05899356a58d1b2e506cb77cf18/letsencrypt-0.7.0-py2-none-any.whl Collecting certbot==0.35.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 204)) Downloading https://files.pythonhosted.org/packages/12/a0/1882f18f2640259aea16cbd7a6e3fb05e79ff796b72ccd1813982c2e4bd0/certbot-0.35.1-py2.py3-none-any.whl (329kB) Collecting acme==0.35.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 207)) Downloading https://files.pythonhosted.org/packages/66/b8/e31d10972248f5e3e67aeadcaec3a24b1ea2717664ec8e20179f13dbd429/acme-0.35.1-py2.py3-none-any.whl (85kB) Collecting certbot-apache==0.35.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 210)) Downloading https://files.pythonhosted.org/packages/a1/42/deef50182d9e9c6da65630bac08d349ead7ca6761054cb8611abaa32a97f/certbot_apache-0.35.1-py2.py3-none-any.whl (254kB) Collecting certbot-nginx==0.35.1 (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 213)) Downloading https://files.pythonhosted.org/packages/4d/14/873c84be613c88da239b9823c88e36e52a77e6be1027de9ce9442d0cbdd9/certbot_nginx-0.35.1-py2.py3-none-any.whl (86kB) Requirement already satisfied: setuptools>=1.0 in /opt/eff.org/certbot/venv/lib/python2.7/site-packages (from josepy==1.1.0->-r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 87)) THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. pycparser==2.19 from https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl#sha256=6162f1c328e42d9bd4e74ca234a575748f199e40f56d5ec3204d55cd130cfd7e (from -r /tmp/tmp.Zg2RfmqZSG/letsencrypt-auto-requirements.txt (line 105)): Expected sha256 a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3 Got 6162f1c328e42d9bd4e74ca234a575748f199e40f56d5ec3204d55cd130cfd7e ===================================================== Certbot has problem setting up the virtual environment. We were not be able to guess the right solution from your pip output. Consult https://certbot.eff.org/docs/install.html#problems-with-python-virtual-environment for possible solutions. You may also find some support resources at https://certbot.eff.org/support/ .
Kommentar
-
Hi
mal ein anderes Thema... vielleicht kann das ja noch jemand Gebrauchen.
Folgendes Szenario: viele Alexa´s/Echo´s im Haus - und mehrere Kinder. Da die Kinder ihr eigenes z.B. Spotify Konto brauchen - brauchen Sie auch ein eigenes Amazon Konto. Damit ist die Edomi-Alexa-Smarthomenutzung aber nicht mehr möglich...
Der Ansatz "Konto wechseln" geht nur bedingt (keine 3 Konten möglich - nur 2) - außerdem kann man nur mit dem richtigen Konto die Edomi-Smathome skills aufrufen.
Bei meiner kürzlichen Troubleshooting session habe ich "Beta Tester Einladen" gesehen ... und damit kann man sein EDOMI smarthome auch auf weitere Konten ausdehnen :-)
Vorgehensweiße:
a) bei developer.amazon.com (Skill-Kit / Distribution/ availability) Beta test freischalten - und die passenden Konten einladen
b) bei alexa.amazon.com mit neuem Alexa-Konto anmelden (Kind1)
c) Den Einladungslink (vom Webinterface 1 oder Email-Einladung) anwenden und Beta-Skill aktivieren
d) Kontoverknüpfung aufrufen und das HAUPTKONTO (nicht Kind1) verknüpfen
e) Geräte suchen - fertig :-)
Gruß
Thorsten
Kommentar
Kommentar