Themabewertung:
  • 1 Bewertung(en) - 5 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Alexa und Co.
#6
Im Prinzip ist die Anbindung gar nicht schwer. Vorausgesetzt natürlich die richtige Version des Gekkos, damit überhaupt die API-Schnittstelle vorhanden ist.
Bin mir unsicher ab welcher Version die jetzt unterstützt wurde. Habe V 4278-00 am laufen, da ist es jedenfalls möglich.

Um jetzt meine Stehlampe über die API schalten zu können, wird folgende URL genutzt:

Code:
http://<ip des gekkos>/api/v1/var/lights/item0/scmd/set?value=1&username=<name>&password=<password>

Jetzt benötigt man noch die HA-Bridge Software. Diese habe ich mir auf einen Raspberry Pi installiert. Anleitungen dazu gibt es genug im Netz.

Man kann in der HA-Bridge nun verschiedene Dinge definieren. Es gibt extra Aktionen für Einschalten, Ausschalten und Dimmen. Theoretisch ist es hauptsächlich für Lichtschaltungen ausgelegt. Daher hören sich später vielleicht Aktionen für Rollos etwas ungewöhnlich an: "Alexa, schalte Küchenrollo ein"  Big Grin

Sofern diese Punkte definiert sind, öffnet man entweder die Alexa App und lässt neue Geräte suchen über den Punkt Smart Home oder man gibt die Anweisung direkt per Sprache.
30 Sekunden später ist das neue Gerät betriebsbereit und kann via Echo (Dot) geschaltet werden.

Eine Dokumentation habe ich damals erhalten, da waren die grundlegendsten Befehle hinterlegt, um Daten via der API lesen und schreiben zu können. Es können auch Trends und weitere Dinge abgefragt werden. Zusätzlich gab es eine Doku, um Alexa via IFTTT anzubinden. Davon bin ich aber weg, weil es einfach viel zu träge ist. Vor allem bin ich kein großer Freund davon, Zugriffe von außen auf meine Infrastruktur zuzulassen.

Ein schönes Gimmick: Mit Hilfe der Gekko API konnte ich auch endlich eine Abwesenheitssteuerung implementieren. Durch Überwachung der Mobiltelefon (via WLAN Ping (jedenfalls bei Android)), kann der Profilstatus des Gekkos gesetzt werden. Tolles Feature Cool

Ich hoffe ich konnte dir einen kleinen Einblick geben. Denke damit kann man recht viele Dinge realisieren.


Nachrichten in diesem Thema
Alexa und Co. - von santos - 23.07.2017, 17:15
RE: Alexa und Co. - von AndreasH - 25.07.2017, 00:21
RE: Alexa und Co. - von Frank85 - 25.07.2017, 18:09
RE: Alexa und Co. - von santos - 25.07.2017, 16:23
RE: Alexa und Co. - von santos - 25.07.2017, 18:30
RE: Alexa und Co. - von Frank85 - 25.07.2017, 19:40
RE: Alexa und Co. - von AndreasH - 27.07.2017, 22:39
RE: Alexa und Co. - von santos - 25.07.2017, 20:01
RE: Alexa und Co. - von Frank85 - 25.07.2017, 20:11
RE: Alexa und Co. - von santos - 25.07.2017, 21:36
RE: Alexa und Co. - von AndreasH - 25.07.2017, 22:40
RE: Alexa und Co. - von Frank85 - 25.07.2017, 22:58
RE: Alexa und Co. - von AndreasH - 25.07.2017, 23:00
RE: Alexa und Co. - von Frank85 - 26.07.2017, 06:56
RE: Alexa und Co. - von santos - 26.07.2017, 19:37
RE: Alexa und Co. - von Frank85 - 27.07.2017, 22:51
RE: Alexa und Co. - von AndreasH - 27.07.2017, 23:10
RE: Alexa und Co. - von Frank85 - 27.07.2017, 23:22
RE: Alexa und Co. - von AndreasH - 29.07.2017, 19:32
RE: Alexa und Co. - von Frank85 - 29.07.2017, 20:03
RE: Alexa und Co. - von AndreasH - 29.07.2017, 20:55
RE: Alexa und Co. - von Frank85 - 29.07.2017, 21:02
RE: Alexa und Co. - von AndreasH - 30.07.2017, 00:50
RE: Alexa und Co. - von santos - 11.08.2017, 21:22
RE: Alexa und Co. - von Frank85 - 11.08.2017, 21:57
RE: Alexa und Co. - von santos - 11.08.2017, 22:01
RE: Alexa und Co. - von santos - 11.08.2017, 22:05
RE: Alexa und Co. - von Frank85 - 11.08.2017, 23:48
RE: Alexa und Co. - von AndreasH - 12.08.2017, 00:26
RE: Alexa und Co. - von santos - 12.08.2017, 09:32
RE: Alexa und Co. - von Frank85 - 12.08.2017, 09:41
RE: Alexa und Co. - von santos - 12.08.2017, 10:31
RE: Alexa und Co. - von Frank85 - 12.08.2017, 13:35
RE: Alexa und Co. - von santos - 12.08.2017, 15:41
RE: Alexa und Co. - von santos - 12.08.2017, 16:00
RE: Alexa und Co. - von Frank85 - 12.08.2017, 16:02
RE: Alexa und Co. - von santos - 12.08.2017, 17:15
RE: Alexa und Co. - von santos - 14.08.2017, 21:21
RE: Alexa und Co. - von Frank85 - 14.08.2017, 22:15
RE: Alexa und Co. - von santos - 14.08.2017, 22:40
RE: Alexa und Co. - von H4rdi - 30.12.2017, 00:47
RE: Alexa und Co. - von santos - 30.12.2017, 10:16
RE: Alexa und Co. - von toms2k - 01.01.2018, 18:15
RE: Alexa und Co. - von santos - 01.01.2018, 21:34
RE: Alexa und Co. - von toms2k - 02.01.2018, 00:52
RE: Alexa und Co. - von santos - 02.01.2018, 02:21
RE: Alexa und Co. - von toms2k - 02.01.2018, 12:27
RE: Alexa und Co. - von ellenor - 10.01.2018, 10:27
RE: Alexa und Co. - von Frank85 - 10.01.2018, 16:22
RE: Alexa und Co. - von ellenor - 28.01.2018, 13:07
RE: Alexa und Co. - von santos - 10.01.2018, 21:32
RE: Alexa und Co. - von H4rdi - 13.01.2018, 02:35
RE: Alexa und Co. - von Frank85 - 13.01.2018, 15:19
RE: Alexa und Co. - von H4rdi - 20.01.2018, 23:56
RE: Alexa und Co. - von Frank85 - 21.01.2018, 12:16
RE: Alexa und Co. - von santos - 21.01.2018, 13:32
RE: Alexa und Co. - von AndreasH - 28.01.2018, 17:57
RE: Alexa und Co. - von fisch - 02.03.2019, 22:02
RE: Alexa und Co. - von oli_p1974 - 07.03.2019, 12:32
RE: Alexa und Co. - von fisch - 07.03.2019, 14:16
RE: Alexa und Co. - von pinpong - 31.03.2019, 11:31
RE: Alexa und Co. - von santos - 01.04.2019, 16:58
RE: Alexa und Co. - von fisch - 02.04.2019, 11:01
RE: Alexa und Co. - von santos - 02.04.2019, 19:12
RE: Alexa und Co. - von fisch - 03.04.2019, 19:27
RE: Alexa und Co. - von fisch - 31.05.2019, 10:42
RE: Alexa und Co. - von Thomas S. - 03.06.2019, 19:29
RE: Alexa und Co. - von santos - 03.06.2019, 20:14
RE: Alexa und Co. - von fisch - 03.06.2019, 20:45
RE: Alexa und Co. - von Thomas S. - 03.06.2019, 22:25
RE: Alexa und Co. - von santos - 04.06.2019, 18:26

Möglicherweise verwandte Themen...
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Alexa Dot findet HA-Bridge nicht Tommy3001 5 8.874 09.06.2020, 23:21
Letzter Beitrag: Tommy3001
  Echo Show - Verknüpfung mit Alexa snowrocker 2 9.222 09.08.2018, 21:01
Letzter Beitrag: snowrocker
  Alexa auf dem Rasperry santos 0 3.543 01.08.2017, 19:34
Letzter Beitrag: santos

Gehe zu:


Benutzer, die gerade dieses Thema anschauen:
1 Gast/Gäste