[alexa-fhem | Generell] Alles zu Installation und damit verbundenen Problemen

Begonnen von prodigy7, 09 November 2016, 19:42:01

Vorheriges Thema - Nächstes Thema

Hotbird

#105
Oh mann.... Nachdem ich jetzt ssl auf false gesetzt habe ( dann kommt im Log auch kein HTTPS mehr für den Zugriff auf FHEM ) und dann auch den Usernamen wie im Firefox KLEIN geschrieben habe ( könnte mir selbst dafür in den Arsch treten....) passiert auch endlich etwas.. Allerdings kommt dann auch mal wieder ne neue Fehlermeldung.. Habe Raspi neu gestartet ( denke mal dadurch wird auch die "Homebridge" neu gestartet ), aber wieder der selbe Fehler....


pi@Raspberry:~/alexa-fhem $ ./bin/alexa
[2016-11-12 14:54:59] using /home/pi/.alexa/config.json
[2016-11-12 14:55:01] ---
[2016-11-12 14:55:01] Trying UPnP NAT-PMP ...
[2016-11-12 14:55:01] Fetching FHEM devices...
starting longpoll: http://192.168.0.9:8083/fhem.pl?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1478958902016
[2016-11-12 14:55:02] [FHEM] Checking genericDeviceType...
[2016-11-12 14:55:02] [FHEM]   executing: http://192.168.0.9:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[2016-11-12 14:55:02] [FHEM] Fetching FHEM devices...
[2016-11-12 14:55:02] [FHEM] fetching: http://192.168.0.9:8083/fhem?cmd=jsonlist2%20room=alexa&XHR=1
Server listening on: https://:::3000
[2016-11-12 14:55:02] [FHEM]   executing: http://192.168.0.9:8083/fhem?cmd=%7B%20addToAttrList(%20%22homebridgeMapping:textField-long%22%20)%20%7D&XHR=1
[2016-11-12 14:55:02] [FHEM] homebridgeMapping attribute created.
[2016-11-12 14:55:02] [FHEM]   executing: http://192.168.0.9:8083/fhem?cmd=%7BaddToAttrList(%20%22genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,contact,garage,window,lock%22%20)%20%7D&XHR=1
[2016-11-12 14:55:02] [FHEM] got: 1 results
[2016-11-12 14:55:02] [FHEM] FBDECT_fbahahttp_08761_0277450 is switch
[2016-11-12 14:55:02] [FHEM] FBDECT_fbahahttp_08761_0277450 has
[2016-11-12 14:55:02] [FHEM]   Custom Power [power]
[2016-11-12 14:55:02] [FHEM]   Custom Energy [energy]
[2016-11-12 14:55:02] [FHEM]   On [state;on,off]
[2016-11-12 14:55:02] [FHEM]   CurrentTemperature [temperature]
  2016-11-12 14:55:02 caching: FBDECT_fbahahttp_08761_0277450-power: 2.36 W
[2016-11-12 14:55:02] [FHEM]     caching: Custom Power: 2.36 (as number; from '2.36 W')
  2016-11-12 14:55:02 caching: FBDECT_fbahahttp_08761_0277450-energy: 3688 Wh
[2016-11-12 14:55:02] [FHEM]     caching: Custom Energy: 3.688 (as number; from '3688 Wh')
  2016-11-12 14:55:02 caching: FBDECT_fbahahttp_08761_0277450-state: on
  2016-11-12 14:55:02 caching: FBDECT_fbahahttp_08761_0277450-temperature: 20.0 C (measured)
[2016-11-12 14:55:02] [FHEM] genericDeviceType attribute was not known. please restart homebridge.



P.S. fürs Troubleshooting kann ich schon einmal Tips geben :-)

1. Achte auf sämtliche Klammern und Komma´s in der .json
2. ssl oder nicht, das ist hier die Frage....
3. geh zwischendrin in die Stadt und schau Dir danach nochmal Deine Passwörter an

:-)


//// edit

ok, Steckdose von Fritz rausgenommen und Thermostat von Eurotronic DECT reingenommen und das funktioniert :-) Kann es mit Alexa steuern :-)
Dann muss ich wohl noch irgendein Attribut bei der Steckdose ändern...Aber welches?

Capeghost

Den Trigger habe ich jetzt nochmal kontrolliert, der sollte passen.

Aber schon beim Test im AWS bekomme ich eine Fehlermeldung...die richtige IP der Fritzbox wird aber gefunden:

START RequestId: c2c1cfaa-a8e4-11e6-a93f-77fd521ac1ac Version: $LATEST
2016-11-12T14:31:55.505Z c2c1cfaa-a8e4-11e6-a93f-77fd521ac1ac **** Received Directive: {"key3":"value3","key2":"value2","key1":"value1"}
2016-11-12T14:31:55.616Z c2c1cfaa-a8e4-11e6-a93f-77fd521ac1ac problem with request: connect ECONNREFUSED 91.33.189.xxx:3000
END RequestId: c2c1cfaa-a8e4-11e6-a93f-77fd521ac1ac
REPORT RequestId: c2c1cfaa-a8e4-11e6-a93f-77fd521ac1ac Duration: 111.57 ms Billed Duration: 200 ms Memory Size: 128 MB Max Memory Used: 37 MB


Ich habe die Portfreigabe auf 3000 zum Pi nochmal neu angelegt, die Fritzbox neu gestartet, es ändert sich aber nichts.
Hast Du noch eine Idee?


justme1968

@Markus Hermann: ja. wenn du nur ds-lite hast dann brauchst du noch einen umsetzung vom ipv4 auf ipv6

@Hotbird: die steckdose geht ganz bestimmt auch. versuch es noch mal.

@Capeghost: hast du eine echte ipv4 adresse oder auch ds-lite?
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Willtho

Vermutlich bin ich gerade nur Betriebsblind, aber ich bekomme folgenden Fehler wenn ich versuche mit Alexa Geräte zu finden:
[11/12/2016, 3:29:34 PM] clientId amzn1.application-oa2-client.XXX not authorized
response :{"header":{"messageId":"f8ef109a-01e0-42f4-b02a-3a286ad3e5f0","namespace":"Alexa.ConnectedHome.Control","name":"InvalidAccessTokenError","payloadVersion":"2"},"payload":{}}


Weiß einer wo ich noch suchen könnte? Application/Client IDs sind soweit eigentlich richtig eingetragen. Im Security Profile sind die drei Return URLs eingetragen


Anbei noch ein Paar weitere Logs:

Im AWS log sieht soweit alles richtig aus:
14:29:33
START RequestId: 6e54584d-a8e4-11e6-a9dc-2b920e77a436 Version: $LATEST
14:29:33
2016-11-12T14:29:33.867Z 6e54584d-a8e4-11e6-a9dc-2b920e77a436 **** Received Directive: {"header":{"namespace":"Alexa.ConnectedHome.Discovery","name":"DiscoverAppliancesRequest","payloadVersion":"2","messageId":"6afdb607-12e4-4d2d-beb8-815686189836"},"payload":{"accessToken":"Atza|IwEBIEueyFGrFtHnNQpq_xwDBfcVPwWYw2OjPl_eA7UF2FYjk48nFohU_KrMLJv329902uYqyq0TnSDnKenemcK2v-4GIhv7hNPjMMVg3HyeWl8-Oj65t1S
14:29:34
2016-11-12T14:29:34.985Z 6e54584d-a8e4-11e6-a9dc-2b920e77a436 STATUS: 200
14:29:34
2016-11-12T14:29:34.985Z 6e54584d-a8e4-11e6-a9dc-2b920e77a436 HEADERS: {"date":"Sat, 12 Nov 2016 14:29:34 GMT","connection":"close","content-length":"172"}
14:29:34
2016-11-12T14:29:34.985Z 6e54584d-a8e4-11e6-a9dc-2b920e77a436 No more data in response.
14:29:34
END RequestId: 6e54584d-a8e4-11e6-a9dc-2b920e77a436
14:29:34
REPORT RequestId: 6e54584d-a8e4-11e6-a9dc-2b920e77a436 Duration: 1118.79 ms Billed Duration: 1200 ms Memory Size: 256 MB Max Memory Used: 39 MB


Komplettes alexa-log:
[11/12/2016, 3:29:25 PM] using /home/pi/.alexa/config.json
[11/12/2016, 3:29:25 PM] ---
[11/12/2016, 3:29:25 PM] Trying UPnP NAT-PMP ...
[11/12/2016, 3:29:25 PM] Fetching FHEM devices...
starting longpoll: http://127.0.0.1:8083/fhem.pl?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1478960965430
[11/12/2016, 3:29:25 PM] [FHEM] Checking genericDeviceType...
[11/12/2016, 3:29:25 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[11/12/2016, 3:29:25 PM] [FHEM] Fetching FHEM devices...
[11/12/2016, 3:29:25 PM] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=alexa&XHR=1
[11/12/2016, 3:29:25 PM] [FHEM] got: 21 results
[11/12/2016, 3:29:25 PM] [FHEM] Bad.Heizung_Clima is thermostat
[11/12/2016, 3:29:25 PM] [FHEM] Bad.Heizung_Clima has
[11/12/2016, 3:29:25 PM] [FHEM]   TargetTemperature [desired-temp]
[11/12/2016, 3:29:25 PM] [FHEM]   Custom Actuation [ValvePosition]
[11/12/2016, 3:29:25 PM] [FHEM]   CurrentTemperature [measured-temp]
[11/12/2016, 3:29:25 PM] [FHEM]   CurrentHeatingCoolingState [undefined]
  2016-11-12 15:29:25 caching: Bad.Heizung_Clima-desired-temp: 21.0
  2016-11-12 15:29:25 caching: Bad.Heizung_Clima-ValvePosition: 0
[11/12/2016, 3:29:26 PM] [FHEM]     caching: Custom Actuation: 0 (as number; from '0')
  2016-11-12 15:29:26 caching: Bad.Heizung_Clima-measured-temp: 21.9
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice1 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice1 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   Hue [hue;hue;0-65535]
[11/12/2016, 3:29:26 PM] [FHEM]   Saturation [sat;sat;0-254]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
[11/12/2016, 3:29:26 PM] [FHEM]   xy [xy]
  2016-11-12 15:29:26 caching: HUEDevice1-onoff: 1
  2016-11-12 15:29:26 caching: HUEDevice1-bri: 26
  2016-11-12 15:29:26 caching: HUEDevice1-hue: 6024
  2016-11-12 15:29:26 caching: HUEDevice1-sat: 180
  2016-11-12 15:29:26 caching: HUEDevice1-colormode: hs
  2016-11-12 15:29:26 caching: HUEDevice1-xy: 0.5448,0.3706
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice10 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice10 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
  2016-11-12 15:29:26 caching: HUEDevice10-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice10-bri: 126
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice11 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice11 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
  2016-11-12 15:29:26 caching: HUEDevice11-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice11-bri: 126
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice12 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice12 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
  2016-11-12 15:29:26 caching: HUEDevice12-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice12-bri: 126
  2016-11-12 15:29:26 caching: HUEDevice12-colormode: ct
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice13 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice13 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
  2016-11-12 15:29:26 caching: HUEDevice13-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice13-bri: 126
  2016-11-12 15:29:26 caching: HUEDevice13-colormode: ct
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice14 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice14 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
  2016-11-12 15:29:26 caching: HUEDevice14-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice14-bri: 126
  2016-11-12 15:29:26 caching: HUEDevice14-colormode: ct
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice2 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice2 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   Hue [hue;hue;0-65535]
[11/12/2016, 3:29:26 PM] [FHEM]   Saturation [sat;sat;0-254]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
[11/12/2016, 3:29:26 PM] [FHEM]   xy [xy]
  2016-11-12 15:29:26 caching: HUEDevice2-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice2-bri: 102
  2016-11-12 15:29:26 caching: HUEDevice2-hue: 6024
  2016-11-12 15:29:26 caching: HUEDevice2-sat: 180
  2016-11-12 15:29:26 caching: HUEDevice2-colormode: hs
  2016-11-12 15:29:26 caching: HUEDevice2-xy: 0.5448,0.3706
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice3 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice3 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   Hue [hue;hue;0-65535]
[11/12/2016, 3:29:26 PM] [FHEM]   Saturation [sat;sat;0-254]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
[11/12/2016, 3:29:26 PM] [FHEM]   xy [xy]
  2016-11-12 15:29:26 caching: HUEDevice3-onoff: 1
  2016-11-12 15:29:26 caching: HUEDevice3-bri: 102
  2016-11-12 15:29:26 caching: HUEDevice3-hue: 6024
  2016-11-12 15:29:26 caching: HUEDevice3-sat: 180
  2016-11-12 15:29:26 caching: HUEDevice3-colormode: hs
  2016-11-12 15:29:26 caching: HUEDevice3-xy: 0.5448,0.3706
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice4 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice4 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   Hue [hue;hue;0-65535]
[11/12/2016, 3:29:26 PM] [FHEM]   Saturation [sat;sat;0-254]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
[11/12/2016, 3:29:26 PM] [FHEM]   xy [xy]
  2016-11-12 15:29:26 caching: HUEDevice4-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice4-bri: 254
  2016-11-12 15:29:26 caching: HUEDevice4-hue: 13393
  2016-11-12 15:29:26 caching: HUEDevice4-sat: 204
  2016-11-12 15:29:26 caching: HUEDevice4-colormode: ct
  2016-11-12 15:29:26 caching: HUEDevice4-xy: 0.5052,0.4151
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice5 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice5 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   Hue [hue;hue;0-65535]
[11/12/2016, 3:29:26 PM] [FHEM]   Saturation [sat;sat;0-254]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
[11/12/2016, 3:29:26 PM] [FHEM]   xy [xy]
  2016-11-12 15:29:26 caching: HUEDevice5-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice5-bri: 254
  2016-11-12 15:29:26 caching: HUEDevice5-hue: 13393
  2016-11-12 15:29:26 caching: HUEDevice5-sat: 204
  2016-11-12 15:29:26 caching: HUEDevice5-colormode: ct
  2016-11-12 15:29:26 caching: HUEDevice5-xy: 0.5052,0.4151
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice6 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice6 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   Hue [hue;hue;0-65535]
[11/12/2016, 3:29:26 PM] [FHEM]   Saturation [sat;sat;0-254]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
[11/12/2016, 3:29:26 PM] [FHEM]   xy [xy]
  2016-11-12 15:29:26 caching: HUEDevice6-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice6-bri: 254
  2016-11-12 15:29:26 caching: HUEDevice6-hue: 32494
  2016-11-12 15:29:26 caching: HUEDevice6-sat: 0
  2016-11-12 15:29:26 caching: HUEDevice6-colormode: hs
  2016-11-12 15:29:26 caching: HUEDevice6-xy: 0.3804,0.3768
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice7 is light
[11/12/2016, 3:29:26 PM] [FHEM] HUEDevice7 has
[11/12/2016, 3:29:26 PM] [FHEM]   On [onoff;on,off]
[11/12/2016, 3:29:26 PM] [FHEM]   Brightness [bri]
[11/12/2016, 3:29:26 PM] [FHEM]   Hue [hue;hue;0-65535]
[11/12/2016, 3:29:26 PM] [FHEM]   Saturation [sat;sat;0-254]
[11/12/2016, 3:29:26 PM] [FHEM]   colormode [colormode]
[11/12/2016, 3:29:26 PM] [FHEM]   xy [xy]
  2016-11-12 15:29:26 caching: HUEDevice7-onoff: 0
  2016-11-12 15:29:26 caching: HUEDevice7-bri: 254
  2016-11-12 15:29:26 caching: HUEDevice7-hue: 6991
  2016-11-12 15:29:26 caching: HUEDevice7-sat: 254
  2016-11-12 15:29:26 caching: HUEDevice7-colormode: xy
  2016-11-12 15:29:26 caching: HUEDevice7-xy: 0.624,0.3687
[11/12/2016, 3:29:26 PM] [FHEM] Schloss is lock
[11/12/2016, 3:29:26 PM] [FHEM] Schloss has
[11/12/2016, 3:29:26 PM] [FHEM]   PositionState [direction]
[11/12/2016, 3:29:26 PM] [FHEM]   StatusLowBattery [battery]
[11/12/2016, 3:29:26 PM] [FHEM]   FirmwareRevision [D-firmware]
[11/12/2016, 3:29:26 PM] [FHEM]   TargetDoorState []
[11/12/2016, 3:29:26 PM] [FHEM]   LockCurrentState [lock]
[11/12/2016, 3:29:26 PM] [FHEM]   LockTargetState [lock]
  2016-11-12 15:29:26 caching: Schloss-direction: none
  2016-11-12 15:29:26 caching: Schloss-battery: ok
  2016-11-12 15:29:26 caching: Schloss-D-firmware: 2.5
  2016-11-12 15:29:26 caching: Schloss-lock: locked
[11/12/2016, 3:29:26 PM] [FHEM] Steckdose_Sw is switch
[11/12/2016, 3:29:26 PM] [FHEM] Steckdose_Sw has
[11/12/2016, 3:29:26 PM] [FHEM]   On [state;on,off]
  2016-11-12 15:29:26 caching: Steckdose_Sw-state: on
[11/12/2016, 3:29:26 PM] [FHEM] Wohn.Harmony is switch
[11/12/2016, 3:29:26 PM] [FHEM] Wohn.Harmony has
[11/12/2016, 3:29:26 PM] [FHEM]   On [activity;activity+Apple.TV.sehen,off]
[11/12/2016, 3:29:26 PM] [FHEM]   On [activity;activity+Steam,off]
[11/12/2016, 3:29:26 PM] [FHEM]   On [activity;activity+Anhören.Wohnzimmer..Sonos,off]
[11/12/2016, 3:29:26 PM] [FHEM]   On [activity;activity+Internet,off]
[11/12/2016, 3:29:26 PM] [FHEM]   On [activity;activity+PowerOff,off]
  2016-11-12 15:29:26 caching: Wohn.Harmony-activity: Steam
[11/12/2016, 3:29:26 PM] [FHEM] Wohn.Heizung_Clima is thermostat
[11/12/2016, 3:29:26 PM] [FHEM] Wohn.Heizung_Clima has
[11/12/2016, 3:29:26 PM] [FHEM]   TargetTemperature [desired-temp]
[11/12/2016, 3:29:26 PM] [FHEM]   Custom Actuation [ValvePosition]
[11/12/2016, 3:29:26 PM] [FHEM]   CurrentTemperature [measured-temp]
[11/12/2016, 3:29:26 PM] [FHEM]   CurrentHeatingCoolingState [undefined]
  2016-11-12 15:29:26 caching: Wohn.Heizung_Clima-desired-temp: 21.0
  2016-11-12 15:29:26 caching: Wohn.Heizung_Clima-ValvePosition: 0
[11/12/2016, 3:29:26 PM] [FHEM]     caching: Custom Actuation: 0 (as number; from '0')
  2016-11-12 15:29:26 caching: Wohn.Heizung_Clima-measured-temp: 21.9
[11/12/2016, 3:29:26 PM] [FHEM] no device created for harmony_30560270 (harmony)
[11/12/2016, 3:29:26 PM] [FHEM] no device created for harmony_30561990 (harmony)
[11/12/2016, 3:29:26 PM] [FHEM] no device created for harmony_32433891 (harmony)
[11/12/2016, 3:29:26 PM] [FHEM] no device created for harmony_37944030 (harmony)
Server listening on: https://:::3000
[11/12/2016, 3:29:34 PM] clientId amzn1.application-oa2-client.XXX not authorized
response :{"header":{"messageId":"f8ef109a-01e0-42f4-b02a-3a286ad3e5f0","namespace":"Alexa.ConnectedHome.Control","name":"InvalidAccessTokenError","payloadVersion":"2"},"payload":{}}


justme1968

hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Hotbird

Ok :-) Nachdem ich jetzt nach und nach die Devices reingenommen habe funzen auch die beiden DECT Steckdosen :-)

Jetzt muss ich nur noch die Befehle kennenlernen :-) An/Aus und Heizungen stellen geht schon einmal :-)
Jetzt ist eigentlich auch alles drin, bis auf die Netatmo Thermostate, die will Alexa noch nicht wirklich erkennen obwohl sie in der Console angezeigt werden..


Mit der Einrichtung bzw Installation bin ich dann ja quasi fertig :-) Vielen Dank für die tolle Hilfe!!! Ohne das Forum und vor allem Euch hätte ich das jetzt nicht hinbekommen. Bin mal gespannt wann ich hier so weit bin mal gute Tips zu geben. Werde auf jeden Fall dran bleiben :-)

Capeghost

@justme1968: Da ich mit 102 MBit/s online bin, würde ich von einer normalen IPv4-Adresse ausgehen, oder?

Viel mehr kann ich doch im Port-Forwarding nicht einstellen.
Port 3000 zeigt in der Fritzbox auf die IP-Adresse vom Pi.
Im Code in AWS ist
const PORT=3000;
const HOST='0sddoprh7xxxxxxx.myfritz.net';

eingetragen.

Ist es von Bedeutung, dass in der Übersicht der Fritzbox noch der Port 41511 hinter dem MyFritz!-Eintrag steht?

justme1968

was hat die geschwindigkeit mit dem protokoll zu tun?

du darfst keinen myFritz freigabe anlegen sondern eine port freigabe.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Hotbird

bei welchem Internetanbieter bist Du denn? Google doch mal " Anbieter IPV4" dann kannst Du dir da sicher sein

Capeghost

Bin bei 1&1. Da habe ich IPv4 und IPv6. Ist das das Problem?

Eine MyFritz!-Freigabe habe ich auch nicht eingerichtet.
Habe die Internet-Adresse meiner FritzBox genommen, die unter FritzBox-Dienste aufgeführt ist.

justme1968

wenn du eine echte und von aussen erreichbare ipv4 hast ist das kein problem. sonst schon.

hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Markus Hermann

Also ich habe kein DS-Lite, meine ich jedenfalls:

Internet

IPv4, verbunden seit 12.11.2016, 11:18 Uhr
Anbieter: Kabel Deutschland
IP-Adresse: xx.23.243.xx

Internet

IPv6, verbunden seit 12.11.2016, 11:18 Uhr
Anbieter: Kabel Deutschland
IPv6-Adresse: xxxx:8109::3d:482f:ad72:b325:xxxx

CUL/CUL-RFR/HM-LAN an Cubietruck

FS20/FHT/TFK/UTS/KS300/HM-SEC-SC/HMS100/HM-OU-CFM-PL/HM-RC-SEC3/

FLOORPLAN auf Android-Tablet und VDR

Hotbird

#117
@Capeghorst

Bin auch bei 1&1, daher dürfte dies nicht Dein Problem sein ;-)

da bei Dir keine Anfrage von aussen kommt und das json script ja etwas findet und darauf hört, müsste es bei Dir an den externen Einstellungen liegen. Prüfe doch am besten nochmal Lambda und mach dort auch mal nen test. Kommst Du denn mit Deiner IP über den Browser und Port 3000 auf ne Seite die ein Problem mit einem Sicherheitszertifikat anzeigt?


Markus Hermann

@Capeghorst:

Wir haben wohl das gleiche Problem, komisch ist aber, dass meine externe Adresse immer 2x hintereinander aufgeführt wird.

2016-11-12T15:42:27.497Z 9d372b1e-a8ee-11e6-b75a-75ebcf93b05b problem with request: getaddrinfo ENOTFOUND https://eoxxxxxxxxxa.myfritz.net https://eoxxxxxxxxsa.myfritz.net:3000

Was ich auch komisch finde, ist dass mein Portscanner (von heise.de: https://www.heise.de/download/product/portscan-70308) mit der lokalen IP den Port 3000 als offen anzeigt, aber mit der externen leider gar kein Port als offen anzeigt.



CUL/CUL-RFR/HM-LAN an Cubietruck

FS20/FHT/TFK/UTS/KS300/HM-SEC-SC/HMS100/HM-OU-CFM-PL/HM-RC-SEC3/

FLOORPLAN auf Android-Tablet und VDR

Capeghost

@Hotbird: Ja, wenn ich 0sddoprh7xxxxxxxx.myfritz.net:3000 über Mobiltelfon ohne Wlan aufrufe, bekam ich beim letzen Mal noch die Meldung mit dem Sicherheitszertifikat und bei Weiter kam dann eine Rückmeldung von Alexa allerdings mit  ERROR_UNSUPPORTED_OPERATION.
Jetzt kommt merkwürdigerweise nur noch die Meldung, dass keine sichere Verbindung bereitgestellt werden kann. Wahrscheinlich habe ich zuviel rum gespielt. ;-(
Und AWS-Test bringt immer noch die Meldung mit "problem with request: connect ECONNREFUSED 91.33...."