alexa-fhem: amazon alexa smart home skill für fhem, api version 3

Begonnen von justme1968, 19 Dezember 2017, 22:16:30

Vorheriges Thema - Nächstes Thema

cs-online

OK, gute Hinweise ! Ich habe nun alle Alexa-FHEM-Verzeichnisse verschoben, im FHEM-Verzeichnis dann

pi@FHEM-Jessie:/opt/fhem $ sudo npm install -g alexa-fhem
/usr/bin/alexa-fhem -> /usr/lib/node_modules/alexa-fhem/bin/alexa
+ alexa-fhem@0.5.31
added 6 packages from 6 contributors and updated 54 packages in 56.439s
pi@FHEM-Jessie:/opt/fhem $


shutdown restart =>

alexaFHEM
running /usr/bin/alexa-fhem


Sieht schon besser aus würde ich meinen.

Ich habe versucht, meine alte config da einzubinden:

alexaFHEM-config
/home/pi/.alexa/config.json


wenn ich im Terminal "nano /home/pi/.alexa/config.json" eingebe, dann wird das File angezeigt. Skill in der Alexa App nochmal deaktiviert und aktiviert, Aber: immer noch "bei der Antwort......."
FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr

justme1968

wenn du die config auf ein anderes file legst musst du ein mal set alexa restart sagen. ich glaube ich habe den automatischen restart für diesen fall vergessen.

ansonsten: schau ins log. link links oben in der alexa device detail ansicht.

unabhängig davon: steht dein port forwarding noch? passt da noch alles?

das cloudwatch log sollte auch etwas sagen.


ps: wenn dann später alles wieder läuft: du musst du sprecher erkennung auch in der alexa app global erlauben. hab ich vorhin zufällig unter den konto einstellungen gesehen.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

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

cs-online

letzteres habe ich (glaube ich) gestern schon gemacht, weil in der Alexa App ein Hinweis auf Drittanbieter Spracherkennung kam... Ich glaube, ich komme näher:

nachdem ich im Config-File den absoluten Pfad auf die key.pem und die cert.pem eingefügt habe, tut sich was, das FHEM-Log hat hunderte Zeilen bekommen. Trotzdem immernoch, wenn ich "starte FHEM" sage, kommt der Fehler...

2019.11.07 20:56:42 2: MyAlexa: starting alexa-fhem: /usr/bin/alexa-fhem -c /home/pi/.alexa/config.json
2019.11.07 20:56:42 3: MyAlexa: starting
2019.11.07 20:56:42 3: MyAlexa: using logfile: Alexa.log
2019.11.07 20:56:44 5: MyAlexa: read: [2019-11-7 20:56:44] using config from /home/pi/.alexa/config.json
2019.11.07 20:56:44 5: MyAlexa: read: *** CONFIG: parsed completely
2019.11.07 20:56:44 5: MyAlexa: read: [2019-11-7 20:56:44] this is alexa-fhem 0.5.31
2019.11.07 20:56:45 5: MyAlexa: read: [2019-11-7 20:56:45] connecting to FHEM ...
2019.11.07 20:56:47 5: MyAlexa: read: [2019-11-7 20:56:47] [FHEM] trying longpoll to listen for fhem events
2019.11.07 20:56:47 5: MyAlexa: read: [2019-11-7 20:56:47] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1573156607473
2019.11.07 20:56:47 5: MyAlexa: read: [2019-11-7 20:56:47] Server listening on: https://:::3000 for direct connections
2019.11.07 20:56:48 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM] got csrfToken:
2019.11.07 20:56:48 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM] Checking devices and attributes...
2019.11.07 20:56:48 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&XHR=1
2019.11.07 20:56:48 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&XHR=1
2019.11.07 20:56:48 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM] waiting for events ...
2019.11.07 20:56:48 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM] Fetching FHEM devices...
2019.11.07 20:56:48 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=Alexa&XHR=1
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM] alexa device is MyAlexa
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7BMyAlexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.31%22%7D%3B%7B%24defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:48]   wrong syntax:
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:48]   wrong syntax:
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20MyAlexa%20.eventToken%3B%7B%24defs%7BMyAlexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
2019.11.07 20:56:49 5: MyAlexa: read: *** FHEM: connected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] got: 41 results
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] ALEXASTART_noty is disabled
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] ALEXASTART_noty: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for ALEXASTART_noty (notify)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Aktuelle_Aussentemperatur is thermometer
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Aktuelle_Aussentemperatur has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentTemperature [state]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Aktuelle_Aussentemperatur-state: 8.375
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Debug2: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Debug2 (dummy)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Dreambox is switch
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Dreambox has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   Custom Volume [volume;cached]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   Mute [mute]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   Custom Power [power]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Dreambox-volume: 50
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]     caching: Custom Volume: 50 (as number; from '50')
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Dreambox-mute: on
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Dreambox-power: on
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Dreambox-power not a number: on
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Dreambox-state: on
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Dreambox_Schlafzimmer is switch
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Dreambox_Schlafzimmer has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   Custom Volume [volume;cached]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   Mute [mute]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   Custom Power [power]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Dreambox_Schlafzimmer-volume: 55
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]     caching: Custom Volume: 55 (as number; from '55')
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Dreambox_Schlafzimmer-mute: -
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Dreambox_Schlafzimmer-power: off
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Dreambox_Schlafzimmer-power not a number: off
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Dreambox_Schlafzimmer-state: off
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] ESPEasy_ESP_Easy_PUMP is switch
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] ESPEasy_ESP_Easy_PUMP has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: ESPEasy_ESP_Easy_PUMP-state: GPIO12: off Uptime: 37622.00
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] ESPEasy_WLAN_Dose_5_PUMP is switch
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] ESPEasy_WLAN_Dose_5_PUMP has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: ESPEasy_WLAN_Dose_5_PUMP-state: GPIO12: off Uptime: 23088.00
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] ESPEasy_Whirlpool_Terrasse_Temperatur_Pool is thermometer
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] ESPEasy_Whirlpool_Terrasse_Temperatur_Pool has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Esszimmer_Rolladen is blind
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Esszimmer_Rolladen has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   TargetPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] FHEM.Alexa: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for FHEM.Alexa (dummy)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] FHEM.Alexa.Status: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for FHEM.Alexa.Status (dummy)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Fehlermeldung_Heizung: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Fehlermeldung_Heizung (readingsProxy)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Fehlermeldung_Historie: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Fehlermeldung_Historie (readingsProxy)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] LaCrosse_02 is thermometer
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] LaCrosse_02 has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   StatusLowBattery [battery]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentTemperature [temperature]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentRelativeHumidity [humidity]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_02-battery: ok
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_02-temperature: 19.6
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_02-humidity: 55
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] LaCrosse_11 is thermometer
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] LaCrosse_11 has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   StatusLowBattery [battery]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentTemperature [temperature]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentRelativeHumidity [humidity]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_11-battery: ok
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_11-temperature: 18.6
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_11-humidity: 61
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] LaCrosse_23 is thermometer
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] LaCrosse_23 has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   StatusLowBattery [battery]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentTemperature [temperature]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentRelativeHumidity [humidity]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_23-battery: ok
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_23-temperature: 16
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_23-humidity: 65
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] LaCrosse_36 is thermometer
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] LaCrosse_36 has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   StatusLowBattery [battery]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentTemperature [temperature]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentRelativeHumidity [humidity]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_36-battery: ok
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_36-temperature: 19.9
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: LaCrosse_36-humidity: 53
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Letztes_Intent: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Letztes_Intent (dummy)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Letztes_Kommando: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Letztes_Kommando (dummy)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Lichterkette_Flur is switch
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Lichterkette_Flur has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Lichterkette_Flur-state: off
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Luftdruck: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Luftdruck (readingsProxy)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Luftfeuchte: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Luftfeuchte (readingsProxy)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] MyAlexa: no service type detected
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for MyAlexa (alexa)
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Pumpe_Badewanne is switch
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Pumpe_Badewanne has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Pumpe_Badewanne-state: off
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Rolladen_Gaestezimmer is blind
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Rolladen_Gaestezimmer has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   PositionState [motor]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   FirmwareRevision [D-firmware]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   TargetPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Gaestezimmer-motor: stop:off
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Gaestezimmer-D-firmware: 2.3
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Gaestezimmer-pct: 0
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Rolladen_Kinderzimmer is blind
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Rolladen_Kinderzimmer has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   Custom Power [power]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   Custom Energy [energy]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   FirmwareRevision [firmware]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   TargetPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Kinderzimmer-power: 0
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]     caching: Custom Power: 0 (as number; from '0')
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Kinderzimmer-energy: 8.2
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]     caching: Custom Energy: 8.2 (as number; from '8.2')
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Kinderzimmer-firmware: v1.5.2
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Kinderzimmer-pct: 0
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Rolladen_Tanjas_Zimmer is blind
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Rolladen_Tanjas_Zimmer has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   PositionState [motor]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   FirmwareRevision [D-firmware]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   TargetPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Tanjas_Zimmer-motor: stop:off
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Tanjas_Zimmer-D-firmware: 2.3
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Tanjas_Zimmer-pct: 0
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Rolladen_Wohnzimmer is blind
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Rolladen_Wohnzimmer has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   PositionState [motor]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   FirmwareRevision [D-firmware]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   TargetPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Wohnzimmer-motor: stop:65
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Wohnzimmer-D-firmware: 2.3
2019.11.07 20:56:49 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Rolladen_Wohnzimmer-pct: 65
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Schlafzimmer_Rolladen is blind
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Schlafzimmer_Rolladen has
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentPosition [pct]
2019.11.07 20:56:49 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   TargetPosition [pct]
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Speichertemperatur_oben is thermometer
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Speichertemperatur_oben has
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentTemperature [state]
2019.11.07 20:56:50 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Speichertemperatur_oben-state: 52.00 °C
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Subwoofer_Wohnzimmer is switch
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Subwoofer_Wohnzimmer has
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:50 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Subwoofer_Wohnzimmer-state: off
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Temperatur_Wohnzimmer is thermometer
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Temperatur_Wohnzimmer has
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   StatusLowBattery [battery]
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentTemperature [temperature]
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentRelativeHumidity [humidity]
2019.11.07 20:56:50 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Temperatur_Wohnzimmer-battery: ok
2019.11.07 20:56:50 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Temperatur_Wohnzimmer-temperature: 20.6
2019.11.07 20:56:50 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Temperatur_Wohnzimmer-humidity: 52
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Terrassenlampen is switch
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Terrassenlampen has
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:50 5: MyAlexa: read:   2019-11-07 20:56:49 caching: Terrassenlampen-state: undefined
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Vorletztes_Intent: no service type detected
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Vorletztes_Intent (dummy)
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Vorletztes_Kommando: no service type detected
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Vorletztes_Kommando (dummy)
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Vorvorletztes_Intent: no service type detected
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Vorvorletztes_Intent (dummy)
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] WZ_LAMPE is switch
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] WZ_LAMPE has
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:50 5: MyAlexa: read:   2019-11-07 20:56:49 caching: WZ_LAMPE-state: off
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] WZ_Lampen is switch
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] WZ_Lampen has
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   On [state;on,off]
2019.11.07 20:56:50 5: MyAlexa: read:   2019-11-07 20:56:49 caching: WZ_Lampen-state: undefined
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Warmwasserspeicher is switch
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Warmwasserspeicher has
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] Windrichtung: no service type detected
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] no device created for Windrichtung (readingsProxy)
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] leinwand is blind
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM] leinwand has
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   CurrentPosition [pct]
2019.11.07 20:56:50 5: MyAlexa: read: [2019-11-7 20:56:49] [FHEM]   TargetPosition [pct]
2019.11.07 20:56:50 5: MyAlexa: read:   2019-11-07 20:56:49 caching: leinwand-pct: 0
2019.11.07 20:56:53 5: MyAlexa: read:   2019-11-07 20:56:52 caching: LaCrosse_11-temperature: 18.7
2019.11.07 20:56:53 5: MyAlexa: read: [2019-11-7 20:56:52] [FHEM]     caching: CurrentTemperature: 18.7 (as number; from '18.7')
2019.11.07 20:57:09 5: MyAlexa: read:   2019-11-07 20:57:09 caching: LaCrosse_11-temperature: 18.6
2019.11.07 20:57:09 5: MyAlexa: read: [2019-11-7 20:57:09] [FHEM]     caching: CurrentTemperature: 18.6 (as number; from '18.6')
2019.11.07 20:57:10 5: MyAlexa: read:   2019-11-07 20:57:10 caching: ESPEasy_ESP_Easy_PUMP-state: GPIO12: off Uptime: 37623.00
2019.11.07 20:57:10 5: MyAlexa: read: [2019-11-7 20:57:10] [FHEM]     caching: On: 0 (as number; from 'GPIO12: off Uptime: 37623.00')
2019.11.07 20:57:13 5: MyAlexa: read:   2019-11-07 20:57:13 caching: LaCrosse_11-temperature: 18.7
2019.11.07 20:57:13 5: MyAlexa: read: [2019-11-7 20:57:13] [FHEM]     caching: CurrentTemperature: 18.7 (as number; from '18.7')
2019.11.07 20:57:17 5: MyAlexa: read:   2019-11-07 20:57:17 caching: LaCrosse_11-temperature: 18.6
2019.11.07 20:57:17 5: MyAlexa: read: [2019-11-7 20:57:17] [FHEM]     caching: CurrentTemperature: 18.6 (as number; from '18.6')
2019.11.07 20:57:25 5: MyAlexa: read:   2019-11-07 20:57:25 caching: LaCrosse_11-temperature: 18.7
2019.11.07 20:57:25 5: MyAlexa: read: [2019-11-7 20:57:25] [FHEM]     caching: CurrentTemperature: 18.7 (as number; from '18.7')
2019.11.07 20:57:28 5: MyAlexa: read:   2019-11-07 20:57:28 caching: ESPEasy_WLAN_Dose_5_PUMP-state: GPIO12: off Uptime: 23089.00
2019.11.07 20:57:28 5: MyAlexa: read: [2019-11-7 20:57:28] [FHEM]     caching: On: 0 (as number; from 'GPIO12: off Uptime: 23089.00')
2019.11.07 20:57:58 5: MyAlexa: read:   2019-11-07 20:57:58 caching: LaCrosse_11-temperature: 18.6
2019.11.07 20:57:58 5: MyAlexa: read: [2019-11-7 20:57:58] [FHEM]     caching: CurrentTemperature: 18.6 (as number; from '18.6')
2019.11.07 20:58:02 5: MyAlexa: read:   2019-11-07 20:58:02 caching: LaCrosse_11-temperature: 18.7
2019.11.07 20:58:02 5: MyAlexa: read: [2019-11-7 20:58:02] [FHEM]     caching: CurrentTemperature: 18.7 (as number; from '18.7')
2019.11.07 20:58:06 5: MyAlexa: read:   2019-11-07 20:58:06 caching: LaCrosse_11-temperature: 18.6
2019.11.07 20:58:06 5: MyAlexa: read: [2019-11-7 20:58:06] [FHEM]     caching: CurrentTemperature: 18.6 (as number; from '18.6')
2019.11.07 20:58:10 5: MyAlexa: read:   2019-11-07 20:58:10 caching: ESPEasy_ESP_Easy_PUMP-state: GPIO12: off Uptime: 37624.00
2019.11.07 20:58:10 5: MyAlexa: read: [2019-11-7 20:58:10] [FHEM]     caching: On: 0 (as number; from 'GPIO12: off Uptime: 37624.00')
2019.11.07 20:58:11 5: MyAlexa: read:   2019-11-07 20:58:11 caching: LaCrosse_11-temperature: 18.7
2019.11.07 20:58:11 5: MyAlexa: read: [2019-11-7 20:58:11] [FHEM]     caching: CurrentTemperature: 18.7 (as number; from '18.7')
2019.11.07 20:58:14 5: MyAlexa: read:   2019-11-07 20:58:14 caching: LaCrosse_36-temperature: 19.8
2019.11.07 20:58:14 5: MyAlexa: read: [2019-11-7 20:58:14] [FHEM]     caching: CurrentTemperature: 19.8 (as number; from '19.8')
2019.11.07 20:58:29 5: MyAlexa: read:   2019-11-07 20:58:28 caching: ESPEasy_WLAN_Dose_5_PUMP-state: GPIO12: off Uptime: 23090.00
2019.11.07 20:58:29 5: MyAlexa: read: [2019-11-7 20:58:28] [FHEM]     caching: On: 0 (as number; from 'GPIO12: off Uptime: 23090.00')


Alexa.log ist übrigend leer...
FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr

cpet

Außerdem ist bei dir die Node Version veraltet, diese muss glaube ich mindestens Version 10 sein und auch auf der Amazon AWS-Consolen Website auf die neuere Version eingestellt werden.
Amazon hat die Unterstützung für ältere Node Versionen abgeschaltet.
RPI 3 mit 1x SCC 868MHz für FS20; 1x SCC 433MHz SlowRF; 1x SCC 868MHz Homematic;
Rollladen-/Markisensteuerung, Fußboden-Heizungssteuerung 
diverse Licht-/Schaltungssteuerungen
ALEXA-Integration;
Statusmeldungen über  Fernseher

cs-online

oh man... bis gestern ging das alles noch... wie kann ich denn die neueste bekommen ? Im Wiki wird ja nur 8.x angegeben...
FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr

justme1968

die ausgaben sollten im anderen log landen. soest du irgendeine meldung beim start? das ist seltsam.

die nose version ist ok wenn es es läuft. 8 geht definitiv.

auf amazon seite geht es auch solange nichts editiert wird.

schau dir das port forwarding an und das cloudwatch log
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

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

cs-online

Portforwarding:

https://192.168.2.22:3000/

gibt

{"header":{"namespace":"Alexa.ConnectedHome.Control","name":"UnsupportedOperationError","payloadVersion":"2","messageId":"9e4695d0-d83f-460e-871d-210c3754d15c"},"payload":{}}

und wo finde ich das cloudwatch log ?

Ich habe allerdings, nachdem das gestern alles nicht mehr ging, einmal den Skill neu builden lassen... könnte da was wg. der Node-Version passiert sein ?
FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr

cs-online

...aber die Node-Version hat doch eigentlich nur was mit der Lamda-Funktion zu tun oder ? Da habe ich ja nichts geändert...
FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr

cpet

Sorry hab gerade nochmal nachgeschaut, Amazon schaltet erst zum 31.12.19 die Node Version 8 ab.
RPI 3 mit 1x SCC 868MHz für FS20; 1x SCC 433MHz SlowRF; 1x SCC 868MHz Homematic;
Rollladen-/Markisensteuerung, Fußboden-Heizungssteuerung 
diverse Licht-/Schaltungssteuerungen
ALEXA-Integration;
Statusmeldungen über  Fernseher

justme1968

node 8 wies nicht abgeschaltet. das anlegen und editieren wird abgeschaltet. einenlaufende lambda funktion läuft auch danach weiter.

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

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

cs-online

OK, dann kann es also an der Node-Version aktuell nicht liegen. Ich habe mal unter get skill ID geschaut und da kam etwas merkwürdiges, Hab dann die Skill-ID noch mal neu als Attribut gespeichert. nun kommt bei get kill id auch das richtige. Geändert hat das nichts... wenn ich allerdings get Proxy key aufrufe, tut sich einfach gar nichts...
FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr

justme1968

den brauchst du nur wenn du den fhem connector verwendest.

du versendest aber noch deinen eingebe lambda.

schau ins cloud watch log und schau ob das port forwarding noch tut.

und schau auch das deine alte config verwendet wird.  d.h. alexa-fhem nicht den tunnel started sondern auf port 3000 lauscht.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

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

cs-online

ähm, also ich glaube ich habe was gefunden: wenn ich in der Skillseite auf Amazon mal "starte fhem" eingebe, kommt u.a. das hier im FHEM-Log:

2019.11.07 21:51:06 5: MyAlexa: read: [2019-11-7 21:51:06] applicationId amzn1.ask.skill.blablabla1b not authorized
2019.11.07 21:51:06 5: MyAlexa: read: [2019-11-7 21:51:06] ERROR: InvalidAccessTokenError from ::ffff:52.212.52.237
2019.11.07 21:51:06 5: MyAlexa: read: [2019-11-7 21:51:06] <<<< [srv] {"header":{"namespace":"Alexa.ConnectedHome.Control","name":"InvalidAccessTokenError","payloadVersion":"2","messageId":"9239e620-c6c9-43bd-91b5-93d278cc6d0b"},"payload":{}}


also scheint beim Aufruf auf der Amazonseite ja das Portforwarding zu funktionieren, sonst würde das ja nicht im Log auftauchen oder ?

und nun das merkwürdige: die angegebene Skillnummer ist die von meinem uralten Skill, also der ersten Version. Nur, wo kommt das denn her ? in der geladenen Config steht definitiv die neue drin...

Und magst du mir verraten, wo ich die Cloudwatch finde ? Ich wird auch gleich Schicht hier machen, um 4 ist wieder Tag...

Soweit erstmal super vielen Dank, morgen abend dann die nächste Runde...
FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr

cs-online

ähm, wird die Skill ID noch irgendwo anders verwendet als
1) im Alexa-Fhem-Device ?
2) der Config-Datei
3) im Skill auf der Developer-Seite bei Amazon ?

in allen habe ich meine neue Skill-ID (also die, die ich seit Monaten habe und die bis gestern funktioniert hat), aber ich bekomme, wenn ich Alexa anspreche und auch wenn ich es auf der Testseite eingebe, immer eine Antwort mit der alten ID... wo kann die denn noch herkommen ?
FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr

cs-online

ha, ich habs !!!!!! Ich weiß nicht genau, was es war, aber ich habe im alten Skill das Erkennungswort geändert, den Skill in der App nochmal deaktiviert, neu aktiviert, Alexa-FHEM nochmal neu gestartet und es läuft !!! Yuuuuuhuuuuuuu :-)

Danke danke danke für die guten Tips !!!

und eine gute Nacht :-)
FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr