Nabend,
ich weiß,ich weiß..das thema gibt es schon...
hab auch im wiki alles mehrfach gelesen...
das problem liegt ja bestimmt beim filter..kann mir da mal jemand einen gedankenstoß bitte geben...im standard steht das ja in der config.
Standard: alexaName=..* /... der skill findet aber nicht das gerät...
Internals:
CFGFN
CID DVES_E3BEA0
DEF DVES_E3BEA0
DEVICETOPIC MQTT2_DVES_E3BEA0
FUUID 5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c
IODev MQTT2_FHEM_Server
LASTInputDev MQTT2_FHEM_Server
MQTT2_FHEM_Server_MSGCNT 108
MQTT2_FHEM_Server_TIME 2020-12-23 22:24:22
MSGCNT 108
NAME MQTT2_DVES_E3BEA0
NR 488
STATE on
TYPE MQTT2_DEVICE
JSONMAP:
Channel_0 0
Channel_1 0
Channel_2 0
Channel_3 0
Channel_4 0
Color 0
Dimmer 0
HSBColor 0
POWER1 0
POWER2 0
POWER3 0
POWER4 0
OLDREADINGS:
READINGS:
2020-12-23 22:24:22 Heap 18
2020-12-23 22:24:22 LoadAvg 19
2020-12-23 21:12:16 SaveData on
2020-12-23 21:12:15 SetOption26 on
2020-12-23 22:24:22 Sleep 50
2020-12-23 22:24:22 SleepMode Dynamic
2020-12-23 21:12:14 StateText1 off
2020-12-23 21:12:15 StateText2 on
2020-12-23 21:12:15 StateText3 toggle
2020-12-23 21:12:15 StateText4 hold
2020-12-23 22:24:22 Switch1 on
2020-12-23 22:24:22 Time 2020-12-23T22:24:22
2020-12-23 22:24:22 Uptime 16T00:30:56
2020-12-23 22:24:22 Vcc 3.142
2020-12-23 22:24:22 Wifi_AP 1
2020-12-23 22:24:22 Wifi_BSSId C8:0E:14:7B:CE:85
2020-12-23 22:24:22 Wifi_Channel 11
2020-12-23 22:24:22 Wifi_Downtime 0T00:00:12
2020-12-23 22:24:22 Wifi_LinkCount 3
2020-12-23 22:24:22 Wifi_RSSI 84
2020-12-23 22:24:22 Wifi_SSId LauMarSte
2020-12-23 21:12:14 attrTemplateVersion 20200522 or prior
2020-12-23 21:28:13 state on
Attributes:
IODev MQTT2_FHEM_Server
alexaName Wohnzimmerlampe
alias Wohnzimmerlampe
autocreate 0
comment NOTE: For on-for-timer SetExtensions are used. You may add on-for-timer option running on the device. The following is limited to 1h max duration, but will not affect future simple "on" commands:<br>on-for-timer {my $duration = $EVTPART1*10; 'cmnd/Smarthome/Wohnzimmer/Deckenlampe/cmnd/Backlog POWER1 1; delay '.$duration.'; POWER1 0'}<br>See the "Praxisbeispiele" in the wiki for "pulseTime1" alternative option and it's restrictions.
genericDeviceType switch
icon hue_filled_outlet
jsonMap POWER1:0 POWER2:0 POWER3:0 POWER4:0 Dimmer:0 Channel_0:0 Channel_1:0 Channel_2:0 Channel_3:0 Channel_4:0 HSBColor:0 Color:0
model tasmota_basic_state_power1
readingList Smarthome/Wohnzimmer/Deckenlampe/tele/LWT:.* LWT
Smarthome/Wohnzimmer/Deckenlampe/tele/STATE:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Wohnzimmer/Deckenlampe/tele/SENSOR:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Wohnzimmer/Deckenlampe/tele/INFO.:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Wohnzimmer/Deckenlampe/tele/UPTIME:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Wohnzimmer/Deckenlampe/stat/POWER1:.* state
Smarthome/Wohnzimmer/Deckenlampe/stat/RESULT:.* { json2nameValue($EVENT,'',$JSONMAP) }
room EG Wohnzimmer
setList off:noArg Smarthome/Wohnzimmer/Deckenlampe/cmnd/POWER1 0
on:noArg Smarthome/Wohnzimmer/Deckenlampe/cmnd/POWER1 1
toggle:noArg Smarthome/Wohnzimmer/Deckenlampe/cmnd/POWER1 2
setOtaUrl:textField Smarthome/Wohnzimmer/Deckenlampe/cmnd/OtaUrl $EVTPART1
upgrade:noArg Smarthome/Wohnzimmer/Deckenlampe/cmnd/upgrade 1
setStateList on off toggle
Sorry..ich hab jetzt lange gewartet, weil ich mich nicht getraut habe,diese Frage zu stellen :/
Gruß Marcell
alexa-fhem Log bei "set alexa reload" schauen (und ggf zeigen)
Guten Morgen,
hoffe das hilft.
[24.12.2020, 05:02:04] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa.Discovery","name":"Discover","payloadVersion":"3","messageId":"d980b411-9add-44f9-bc81-db397e1794be"},"payload":{"scope":{"type":"BearerToken","token":"A885ACCA-54D0C91D289BBA84"}}}}
[24.12.2020, 05:02:04] found 1 device(s)
[24.12.2020, 05:02:04] <<<< [ssh] {"event":{"header":{"namespace":"Alexa.Discovery","name":"Discover.Response","payloadVersion":"3","messageId":"69780f96-5826-4ba4-8f9f-d25ab18b1291"},"payload":{"endpoints":[{"endpointId":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c","manufacturerName":"MQTT2_DEVICE","description":"n: MQTT2_DVES_E3BEA0, r: eg wohnzimmer","friendlyName":"wohnzimmerlampe","displayCategories":["SWITCH"],"additionalAttributes":{"manufacturer":"FHEM","model":"tasmota_basic_state_power1"},"capabilities":[{"type":"AlexaInterface","interface":"Alexa","version":"3"},{"type":"AlexaInterface","interface":"Alexa.PowerController","version":"3","properties":{"supported":[{"name":"powerState"}],"proactivelyReported":false,"retrievable":true}}],"cookie":{"device":"MQTT2_DVES_E3BEA0","fuuid":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c"}}]}}}
[24.12.2020, 06:26:05] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa.Discovery","name":"Discover","payloadVersion":"3","messageId":"ef7d51d1-558e-48e0-826d-796ff0cfa7f4"},"payload":{"scope":{"type":"BearerToken","token":"A885ACCA-54D0C91D289BBA84"}}}}
[24.12.2020, 06:26:05] found 1 device(s)
[24.12.2020, 06:26:05] <<<< [ssh] {"event":{"header":{"namespace":"Alexa.Discovery","name":"Discover.Response","payloadVersion":"3","messageId":"ceaeb56b-9924-400c-adc9-1c41666feb39"},"payload":{"endpoints":[{"endpointId":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c","manufacturerName":"MQTT2_DEVICE","description":"n: MQTT2_DVES_E3BEA0, r: eg wohnzimmer","friendlyName":"wohnzimmerlampe","displayCategories":["SWITCH"],"additionalAttributes":{"manufacturer":"FHEM","model":"tasmota_basic_state_power1"},"capabilities":[{"type":"AlexaInterface","interface":"Alexa","version":"3"},{"type":"AlexaInterface","interface":"Alexa.PowerController","version":"3","properties":{"supported":[{"name":"powerState"}],"proactivelyReported":false,"retrievable":true}}],"cookie":{"device":"MQTT2_DVES_E3BEA0","fuuid":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c"}}]}}}
2020-12-24 07:07:29 caching: MQTT2_DVES_E3BEA0-state: on
[24.12.2020, 07:07:29] [FHEM] caching: On: 1 (as number; from 'on')
[24.12.2020, 07:20:24] reloading http://127.0.0.1:8083/fhem
[24.12.2020, 07:20:24] removing MQTT2_DVES_E3BEA0 from http://127.0.0.1:8083/fhem
[24.12.2020, 07:20:24] [FHEM] Fetching FHEM devices...
[24.12.2020, 07:20:24] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=Wohnzimmerlampe&fwcsrf=csrf_148080325735016&XHR=1
*** FHEM: connected
[24.12.2020, 07:20:24] [FHEM] got: 1 results
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 is switch
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 has
[24.12.2020, 07:20:24] [FHEM] On [state;on,off]
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 will not send proactive events
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 uses ID: 5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c
[24.12.2020, 07:20:24] refreshing token
[24.12.2020, 07:20:25] failed to refresh token: invalid_grant: 'The request has an invalid grant parameter : refresh_token'
[24.12.2020, 07:23:04] reloading http://127.0.0.1:8083/fhem
[24.12.2020, 07:23:04] removing MQTT2_DVES_E3BEA0 from http://127.0.0.1:8083/fhem
[24.12.2020, 07:23:04] [FHEM] Fetching FHEM devices...
[24.12.2020, 07:23:04] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=Wohnzimmerlampe&fwcsrf=csrf_148080325735016&XHR=1
*** FHEM: connected
[24.12.2020, 07:23:04] [FHEM] got: 1 results
[24.12.2020, 07:23:04] [FHEM] MQTT2_DVES_E3BEA0 is switch
[24.12.2020, 07:23:04] [FHEM] MQTT2_DVES_E3BEA0 has
[24.12.2020, 07:23:04] [FHEM] On [state;on,off]
[24.12.2020, 07:23:04] [FHEM] MQTT2_DVES_E3BEA0 will not send proactive events
[24.12.2020, 07:23:04] [FHEM] MQTT2_DVES_E3BEA0 uses ID: 5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c
[24.12.2020, 07:23:04] refreshing token
[24.12.2020, 07:23:04] failed to refresh token: invalid_grant: 'The request has an invalid grant parameter : refresh_token'
[24.12.2020, 07:23:54] reloading http://127.0.0.1:8083/fhem
[24.12.2020, 07:23:54] removing MQTT2_DVES_E3BEA0 from http://127.0.0.1:8083/fhem
[24.12.2020, 07:23:54] [FHEM] Fetching FHEM devices...
[24.12.2020, 07:23:54] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=Wohnzimmerlampe&fwcsrf=csrf_148080325735016&XHR=1
*** FHEM: connected
[24.12.2020, 07:23:54] [FHEM] got: 1 results
[24.12.2020, 07:23:54] [FHEM] MQTT2_DVES_E3BEA0 is switch
[24.12.2020, 07:23:54] [FHEM] MQTT2_DVES_E3BEA0 has
[24.12.2020, 07:23:54] [FHEM] On [state;on,off]
[24.12.2020, 07:23:54] [FHEM] MQTT2_DVES_E3BEA0 will not send proactive events
[24.12.2020, 07:23:54] [FHEM] MQTT2_DVES_E3BEA0 uses ID: 5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c
[24.12.2020, 07:23:54] refreshing token
[24.12.2020, 07:23:54] failed to refresh token: invalid_grant: 'The request has an invalid grant parameter : refresh_token'
Danke
moin,
hast du bei dem ALEXA-Device ein set ALEXA reload oder restart
gemacht ??
Danach Alexa suche Geräte
Gruß
Dein Problem ist:
[24.12.2020, 07:23:54] failed to refresh token: invalid_grant: 'The request has an invalid grant parameter : refresh_token'
Siehe Lösung im Wiki https://wiki.fhem.de/wiki/FHEM_Connector_f%C3%BCr_Amazon_Alexa#Aktiv_Routinen_starten :
Und übrigens: alexa-fhem findet doch ein Gerät, (kann aber auf Grund token mit Alexa nicht kommunizieren):
[24.12.2020, 07:20:24] [FHEM] got: 1 results
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 is switch
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 has
[24.12.2020, 07:20:24] [FHEM] On [state;on,off]
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 will not send proactive events
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 uses ID: 5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c
Schon die 2te mögliche Lösung getestet:
Zitat von: Wiki
"FHEM-Connector"-Skill auf "alexa.amazon.de" einmal deaktivieren und dann neu verbinden
Bzw. siehe:
Zitat von: commandref Attribute global
showInternalValues
Attribute/Geräte-Eintraege/Readings die mit Punkt (.) anfangen werden nicht angezeigt, es sei denn das globale Attribut showInternalValues ist gesetzt. Diese Variable wird bei dem list und xmllist Befehl, und bei der FHEMWEB Raumansicht geprüft.
Gruß, Joachim
Zitat von: amenomade am 24 Dezember 2020, 09:58:57
Dein Problem ist:
[24.12.2020, 07:23:54] failed to refresh token: invalid_grant: 'The request has an invalid grant parameter : refresh_token'
Siehe Lösung im Wiki https://wiki.fhem.de/wiki/FHEM_Connector_f%C3%BCr_Amazon_Alexa#Aktiv_Routinen_starten :
Und übrigens: alexa-fhem findet doch ein Gerät, (kann aber auf Grund token mit Alexa nicht kommunizieren):
[24.12.2020, 07:20:24] [FHEM] got: 1 results
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 is switch
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 has
[24.12.2020, 07:20:24] [FHEM] On [state;on,off]
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 will not send proactive events
[24.12.2020, 07:20:24] [FHEM] MQTT2_DVES_E3BEA0 uses ID: 5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c
danke..das war es.
Perfekt.
danke und schöne Weihnachten
Wollte mich nochmal melden..
hab zwei shellys mit mqtt2 angelernt.. soweit so gut..
hab alexa namen vergeben..
leider werden sie nicht erkannt..
obwohl ich event token gelöscht habe..
mitdeletereading alexa eventToken
hier nach einem reload..
[26.12.2020, 23:10:37] [FHEM] got: 1 results
[26.12.2020, 23:10:37] [FHEM] MQTT2_DVES_E3BEA0 is switch
[26.12.2020, 23:10:37] [FHEM] MQTT2_DVES_E3BEA0 has
[26.12.2020, 23:10:37] [FHEM] On [state;on,off]
[26.12.2020, 23:10:37] [FHEM] MQTT2_DVES_E3BEA0 will not send proactive events
[26.12.2020, 23:10:37] [FHEM] MQTT2_DVES_E3BEA0 uses ID: 5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c
[26.12.2020, 23:10:37] refreshing token
[26.12.2020, 23:10:37] failed to refresh token: invalid_grant: 'The request has an invalid grant parameter : refresh_token'
Was mache ich falsch ?
danke gruß Marcell
Skill schon mal neu verbunden?
Gruß, Joachim
Zitat von: MadMax-FHEM am 26 Dezember 2020, 23:18:47
Skill schon mal neu verbunden?
Gruß, Joachim
Jap, mehrfach
. Sogar nochmal ein reload.. Aber immer ist das Token invalid
[24.12.2020, 07:20:24] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=Wohnzimmerlampe&fwcsrf=csrf_148080325735016&XHR=1
Kann es sein, dass dein Filter "alexaName=Wohnzimmerlampe" ist (statt standardmässig "alexaName=..*") ?
(Das löst aber nicht das Token Problem: da musst Du genau nach Wiki gehen: Reading löschen, Skill auf Amamon deaktivieren/aktivieren. Dann restart)
Den filter hab ich wieder abgeändert. Ich versuche es nachher nochmal. Danke schon mal
Leider immer noch die fehlermeldung..
er findet aber immer noch die wohnzimmerlampe..
obwohl token invalid.. kann das überhaupt ?
okay..jetzt hab ich irgendwas gemacht....
hab nur ein set alexa restart gemacht..
2020-12-27 06:59:25 caching: MQTT2_DVES_E3BEA0-state: on
[27.12.2020, 06:59:25] [FHEM] caching: On: 1 (as number; from 'on')
[27.12.2020, 07:20:38] reloading http://127.0.0.1:8083/fhem
[27.12.2020, 07:20:38] removing MQTT2_DVES_E3BEA0 from http://127.0.0.1:8083/fhem
[27.12.2020, 07:20:38] [FHEM] Fetching FHEM devices...
[27.12.2020, 07:20:38] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=Wohnzimmerlampe&fwcsrf=csrf_348626343939373&XHR=1
*** FHEM: connected
[27.12.2020, 07:20:38] [FHEM] got: 1 results
[27.12.2020, 07:20:38] [FHEM] MQTT2_DVES_E3BEA0 is switch
[27.12.2020, 07:20:38] [FHEM] MQTT2_DVES_E3BEA0 has
[27.12.2020, 07:20:38] [FHEM] On [state;on,off]
[27.12.2020, 07:20:38] [FHEM] MQTT2_DVES_E3BEA0 will not send proactive events
[27.12.2020, 07:20:38] [FHEM] MQTT2_DVES_E3BEA0 uses ID: 5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c
[27.12.2020, 07:20:38] refreshing token
[27.12.2020, 07:20:39] failed to refresh token: invalid_grant: 'The request has an invalid grant parameter : refresh_token'
[27.12.2020, 07:23:11] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa.Discovery","name":"Discover","payloadVersion":"3","messageId":"0815"},"payload":{"scope": {"type":"BearerToken","token":"A885ACCA-54D0C91D289BBA84"}}}}
[27.12.2020, 07:23:11] found 1 device(s)
[27.12.2020, 07:23:11] <<<< [ssh] {"event":{"header":{"namespace":"Alexa.Discovery","name":"Discover.Response","payloadVersion":"3","messageId":"51032673-6bc7-4856-a8e8-7058e291573e"},"payload":{"endpoints":[{"endpointId":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c","manufacturerName":"MQTT2_DEVICE","description":"n: MQTT2_DVES_E3BEA0, r: eg wohnzimmer","friendlyName":"wohnzimmerlampe","displayCategories":["SWITCH"],"additionalAttributes":{"manufacturer":"FHEM","model":"tasmota_basic_state_power1"},"capabilities":[{"type":"AlexaInterface","interface":"Alexa","version":"3"},{"type":"AlexaInterface","interface":"Alexa.PowerController","version":"3","properties":{"supported":[{"name":"powerState"}],"proactivelyReported":false,"retrievable":true}}],"cookie":{"device":"MQTT2_DVES_E3BEA0","fuuid":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c"}}]}}}
[27.12.2020, 07:23:27] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa.Authorization","name":"AcceptGrant","messageId":"2dde92f0-f236-4ee7-a9d3-91606a8e8ab2","payloadVersion":"3"},"payload":{"grant":{"type":"OAuth2.AuthorizationCode","code":"RHFCBwxgFRoxYnAitrkC"},"grantee":{"type":"BearerToken","token":"A885ACCA-54D0C91D289BBA84"}}}}
[27.12.2020, 07:23:27] refreshing token
[27.12.2020, 07:23:27] <<<< [ssh] {"event":{"header":{"namespace":"Alexa.Authorization","name":"AcceptGrant.Response","payloadVersion":"3","messageId":"25dffd9c-2453-4b85-ac05-23118c8d0150"},"payload":{}}}
[27.12.2020, 07:23:27] failed to refresh token: invalid_grant: 'The request has an invalid grant parameter : refresh_token'
[27.12.2020, 07:23:28] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa.Discovery","name":"Discover","payloadVersion":"3","messageId":"2395f14b-e72e-4a05-a25f-70b7a1b0e57a"},"payload":{"scope":{"type":"BearerToken","token":"A885ACCA-54D0C91D289BBA84"}}}}
[27.12.2020, 07:23:28] found 1 device(s)
[27.12.2020, 07:23:28] <<<< [ssh] {"event":{"header":{"namespace":"Alexa.Discovery","name":"Discover.Response","payloadVersion":"3","messageId":"e620e8a3-4c48-46d9-a04d-df7750cf7ed1"},"payload":{"endpoints":[{"endpointId":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c","manufacturerName":"MQTT2_DEVICE","description":"n: MQTT2_DVES_E3BEA0, r: eg wohnzimmer","friendlyName":"wohnzimmerlampe","displayCategories":["SWITCH"],"additionalAttributes":{"manufacturer":"FHEM","model":"tasmota_basic_state_power1"},"capabilities":[{"type":"AlexaInterface","interface":"Alexa","version":"3"},{"type":"AlexaInterface","interface":"Alexa.PowerController","version":"3","properties":{"supported":[{"name":"powerState"}],"proactivelyReported":false,"retrievable":true}}],"cookie":{"device":"MQTT2_DVES_E3BEA0","fuuid":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c"}}]}}}
[27.12.2020, 07:25:16] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa.Discovery","name":"Discover","payloadVersion":"3","messageId":"ee9a4b6b-bc87-4a0f-9b1c-372764fb2a99"},"payload":{"scope":{"type":"BearerToken","token":"A885ACCA-54D0C91D289BBA84"}}}}
[27.12.2020, 07:25:16] found 1 device(s)
[27.12.2020, 07:25:16] <<<< [ssh] {"event":{"header":{"namespace":"Alexa.Discovery","name":"Discover.Response","payloadVersion":"3","messageId":"63aa4f95-8be0-4680-a8b4-52916e17556d"},"payload":{"endpoints":[{"endpointId":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c","manufacturerName":"MQTT2_DEVICE","description":"n: MQTT2_DVES_E3BEA0, r: eg wohnzimmer","friendlyName":"wohnzimmerlampe","displayCategories":["SWITCH"],"additionalAttributes":{"manufacturer":"FHEM","model":"tasmota_basic_state_power1"},"capabilities":[{"type":"AlexaInterface","interface":"Alexa","version":"3"},{"type":"AlexaInterface","interface":"Alexa.PowerController","version":"3","properties":{"supported":[{"name":"powerState"}],"proactivelyReported":false,"retrievable":true}}],"cookie":{"device":"MQTT2_DVES_E3BEA0","fuuid":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c"}}]}}}
2020-12-27 09:12:51 caching: MQTT2_DVES_E3BEA0-state: off
[27.12.2020, 09:12:51] [FHEM] caching: On: 0 (as number; from 'off')
[27.12.2020, 10:15:56] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa.Discovery","name":"Discover","payloadVersion":"3","messageId":"85e47edd-ec57-4c71-ae88-619fe563e23c"},"payload":{"scope":{"type":"BearerToken","token":"A885ACCA-54D0C91D289BBA84"}}}}
[27.12.2020, 10:15:56] found 1 device(s)
[27.12.2020, 10:15:56] <<<< [ssh] {"event":{"header":{"namespace":"Alexa.Discovery","name":"Discover.Response","payloadVersion":"3","messageId":"5c1bdffc-0a85-426a-b024-973011fcad78"},"payload":{"endpoints":[{"endpointId":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c","manufacturerName":"MQTT2_DEVICE","description":"n: MQTT2_DVES_E3BEA0, r: eg wohnzimmer","friendlyName":"wohnzimmerlampe","displayCategories":["SWITCH"],"additionalAttributes":{"manufacturer":"FHEM","model":"tasmota_basic_state_power1"},"capabilities":[{"type":"AlexaInterface","interface":"Alexa","version":"3"},{"type":"AlexaInterface","interface":"Alexa.PowerController","version":"3","properties":{"supported":[{"name":"powerState"}],"proactivelyReported":false,"retrievable":true}}],"cookie":{"device":"MQTT2_DVES_E3BEA0","fuuid":"5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c"}}]}}}
[27.12.2020, 11:12:42] Got SIGTERM, shutting down alexa-fhem...
[27.12.2020, 11:12:42] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[27.12.2020, 11:12:42] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20stopping%3B%3B%20alexa-fhem%20terminating%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=csrf_348626343939373&XHR=1
[27.12.2020, 11:12:42] Stopping SSH ...
[27.12.2020, 11:12:42] Reading alexaFHEM.ProxyConnection set to stopped
[27.12.2020, 11:12:42] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20stopped%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=csrf_348626343939373&XHR=1
[27.12.2020, 11:12:42] *** SSH: exited with 0
[27.12.2020, 11:12:46] using config from ./alexa-fhem.cfg
[27.12.2020, 11:12:46] There was a problem reading your config.json file.
[27.12.2020, 11:12:46] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:12:46]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:13:07] using config from ./alexa-fhem.cfg
[27.12.2020, 11:13:07] There was a problem reading your config.json file.
[27.12.2020, 11:13:07] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:13:07]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:13:28] using config from ./alexa-fhem.cfg
[27.12.2020, 11:13:28] There was a problem reading your config.json file.
[27.12.2020, 11:13:28] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:13:28]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:13:49] using config from ./alexa-fhem.cfg
[27.12.2020, 11:13:49] There was a problem reading your config.json file.
[27.12.2020, 11:13:49] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:13:49]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:14:10] using config from ./alexa-fhem.cfg
[27.12.2020, 11:14:10] There was a problem reading your config.json file.
[27.12.2020, 11:14:10] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:14:10]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:14:31] using config from ./alexa-fhem.cfg
[27.12.2020, 11:14:31] There was a problem reading your config.json file.
[27.12.2020, 11:14:31] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:14:31]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:14:52] using config from ./alexa-fhem.cfg
[27.12.2020, 11:14:52] There was a problem reading your config.json file.
[27.12.2020, 11:14:52] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:14:52]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:15:13] using config from ./alexa-fhem.cfg
[27.12.2020, 11:15:13] There was a problem reading your config.json file.
[27.12.2020, 11:15:13] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:15:13]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:15:34] using config from ./alexa-fhem.cfg
[27.12.2020, 11:15:34] There was a problem reading your config.json file.
[27.12.2020, 11:15:34] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:15:34]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:15:55] using config from ./alexa-fhem.cfg
[27.12.2020, 11:15:55] There was a problem reading your config.json file.
[27.12.2020, 11:15:55] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:15:55]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:16:16] using config from ./alexa-fhem.cfg
[27.12.2020, 11:16:16] There was a problem reading your config.json file.
[27.12.2020, 11:16:16] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:16:16]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:16:37] using config from ./alexa-fhem.cfg
[27.12.2020, 11:16:37] There was a problem reading your config.json file.
[27.12.2020, 11:16:37] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:16:37]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:16:58] using config from ./alexa-fhem.cfg
[27.12.2020, 11:16:58] There was a problem reading your config.json file.
[27.12.2020, 11:16:58] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:16:58]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
[27.12.2020, 11:17:19] using config from ./alexa-fhem.cfg
[27.12.2020, 11:17:19] There was a problem reading your config.json file.
[27.12.2020, 11:17:19] Please try pasting your config.json file here to validate it: http://jsonlint.com
[27.12.2020, 11:17:19]
Startup rejected. Reason: SyntaxError: Unexpected token
in JSON at position 119
Zitat
[27.12.2020, 11:12:46] using config from ./alexa-fhem.cfg
[27.12.2020, 11:12:46] There was a problem reading your config.json file.
[27.12.2020, 11:12:46] Please try pasting your config.json file here to validate it: http://jsonlint.com
Wie hast du das alexa-fhem.cfg bearbeitet?
EDIT: bzw. hast du überhaupt da drin "rumgeschraubt"? Wenn du nichts "spezielles" brauchst, kannst du auch mal "set alexa-Device createDefaultConfig" probieren...
EDIT:
Zitat[27.12.2020, 11:17:19] Please try pasting your config.json file here to validate it: http://jsonlint.com
das schon mal gemacht? ;)
Gruß, Joachim
Zitat von: MadMax-FHEM am 27 Dezember 2020, 11:27:21
EDIT: bzw. hast du überhaupt da drin "rumgeschraubt"? Wenn du nichts "spezielles" brauchst, kannst du auch mal "set alexa-Device createDefaultConfig" probieren...
Hab eigentlioch nicht viel dran rumgeschraubt.. aber nach befehl :
"set alexa createDefaultConfig"
Vielen Dank..
danach hat es funktioniert.
Zitat von: Kellerkind86 am 27 Dezember 2020, 13:40:49
Hab eigentlioch nicht viel dran rumgeschraubt..
Naja es muss halt bestimmten "Vorgaben" folgen (json) und da ist eine kleine Änderung oft halt schon ausreichend, dass die Datei nicht mehr "korrekt geformt" ist ;)
Und eigentlich muss da gar nichts editiert werden (außer der Filter [wie Geräte/Devices gesucht/gefunden werden sollen] "gefällt" nicht / oder man will um einen Custom Skill "eweitern")...
Zitat von: Kellerkind86 am 27 Dezember 2020, 13:40:49
aber nach:
"set alexa createDefaultConfig"
Vielen Dank..
danach hat es funktioniert.
Na dann...
"Packst" du noch ein [gelöst] etc. vor den ersten Post, danke.
Viel Spaß noch, Joachim