define alexa alexa
attr alexa alexaFHEM-config ./alexa-fhem.cfg
attr alexa alexaFHEM-log ./log/alexa-%Y-%m-%d.log
attr alexa alexaMapping #Characteristic=<name>=<value>,...\
On=verb=schalte,valueOn=an;;ein,valueOff=aus,valueToggle=um\
\
Brightness=verb=stelle,property=helligkeit,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent\
\
Hue=verb=stelle,valuePrefix=auf,values=rot:0;;grün:128;;blau:200\
Hue=verb=färbe,values=rot:0;;grün:120;;blau:220\
\
Saturation=verb=stelle,property=sättigung,valuePrefix=auf,values=AMAZON.NUMBER\
Saturation=verb=sättige,values=AMAZON.NUMBER\
\
TargetPosition=verb=mach,articles=den;;die,values=auf:100;;zu:0\
TargetPosition=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent\
\
TargetTemperature=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=grad\
\
Volume:verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent\
\
#Weckzeit=verb=stelle,valuePrefix=auf;;für,values=AMAZON.TIME,valueSuffix=uhr
attr alexa alexaTypes #Type=<alias>[,<alias2>[,...]]\
light=licht,lampen\
blind=rolladen,rolläden,jalousie,jalousien,rollo,rollos
attr alexa devStateIcon stopped:control_home@red:start stopping:control_on_off@orange running.*:control_on_off@green:stop
attr alexa echoRooms #<deviceId>=<room>\
attr alexa fhemIntents #IntentName=<sample utterance>\
gutenMorgen=guten morgen\
guteNacht=gute nacht
attr alexa persons #<personId>=<name>\
attr alexa room Interfaces
attr alexa stateFormat alexaFHEM
# CFGFN
# FD 4
# FUUID 694ed30a-f33f-0687-736d-6741e2fdd07d705a
# FVERSION 39_alexa.pm:0.238200/2021-02-24
# LAST_START 2025-12-26 19:27:01
# LAST_STOP 2025-12-26 19:26:41
# NAME alexa
# NOTIFYDEV global,global:npmjs.*alexa-fhem.*
# NR 982
# NTFY_ORDER 50-alexa
# PARTIAL
# PID 2925
# STARTS 3
# STATE running /usr/local/bin/alexa-fhem
# TYPE alexa
# active 0
# alexa-fhem version 0.5.65
# currentlogfile ./log/alexa-2025-12-26.log
# eventCount 9
# logfile ./log/alexa-%Y-%m-%d.log
# CoProcess:
# cmdFn alexa_getCMD
# name alexaFHEM
# state running /usr/local/bin/alexa-fhem
# READINGS:
# 2025-12-26 19:27:01 alexaFHEM running /usr/local/bin/alexa-fhem
# 2025-12-26 19:27:03 alexaFHEM.ProxyConnection error; Reverse Proxy replied with neither registered nor unregistered status: out: err:fhem@fhem-va.fhem.de: Permission denied (keyboard-interactive,publickey).
#
# helper:
#
setstate alexa running /usr/local/bin/alexa-fhem
setstate alexa 2025-12-26 19:27:01 alexaFHEM running /usr/local/bin/alexa-fhem
setstate alexa 2025-12-26 19:27:03 alexaFHEM.ProxyConnection error;; Reverse Proxy replied with neither registered nor unregistered status: out: err:fhem@fhem-va.fhem.de: Permission denied (keyboard-interactive,publickey).\
[26/12/2025, 19:27:01] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[26/12/2025, 19:27:01] os.homedir()=/opt/fhem
[26/12/2025, 19:27:01] this is alexa-fhem 0.5.65
[26/12/2025, 19:27:01] connecting to FHEM ...
[26/12/2025, 19:27:01] [FHEM] defaults to: will not send proactive events
[26/12/2025, 19:27:01] [FHEM] trying longpoll to listen for fhem events
[26/12/2025, 19:27:01] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1766773621528
[26/12/2025, 19:27:01] [FHEM] got csrfToken: csrf_257782138839568
[26/12/2025, 19:27:01] [FHEM] Checking devices and attributes...
[26/12/2025, 19:27:01] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=csrf_257782138839568&XHR=1
[26/12/2025, 19:27:01] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=csrf_257782138839568&XHR=1
[26/12/2025, 19:27:01] [FHEM] waiting for events ...
[26/12/2025, 19:27:01] [FHEM] Fetching FHEM devices...
[26/12/2025, 19:27:01] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName%3D..*&fwcsrf=csrf_257782138839568&XHR=1
[26/12/2025, 19:27:01] [FHEM] alexa device is alexa
[26/12/2025, 19:27:01] [FHEM] alexa will not send proactive events
[26/12/2025, 19:27:01] [FHEM] alexa uses ID: 694ed30a-f33f-0687-736d-6741e2fdd07d705a
[26/12/2025, 19:27:01] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7B%22alexa%22%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.65%22%7D%3B%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=csrf_257782138839568&XHR=1
[26/12/2025, 19:27:01] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=csrf_257782138839568&XHR=1
[26/12/2025, 19:27:01] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=csrf_257782138839568&XHR=1
[26/12/2025, 19:27:01] Server listening on: http://127.0.0.1:38933 for proxy connections
[26/12/2025, 19:27:01] *** SSH: checking proxy configuration
[26/12/2025, 19:27:01] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[26/12/2025, 19:27:01] Passed config: {
connections: [
{
uid: 999,
webname: 'fhem',
port: '8083',
filter: 'alexaName=..*',
name: 'FHEM',
server: '127.0.0.1'
}
],
sshproxy: {
ssh: '/usr/bin/ssh',
description: 'FHEM Connector',
options: [ '-i', '/opt/fhem/.ssh/id_rsa', '-p', 58824, 'fhem-va.fhem.de' ],
'bind-ip': '127.0.0.1',
server: Server {
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
requestTimeout: 300000,
headersTimeout: 60000,
keepAliveTimeout: 5000,
connectionsCheckingInterval: 30000,
requireHostHeader: true,
joinDuplicateHeaders: undefined,
rejectNonStandardBodyWrites: false,
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
_connections: 0,
_handle: [TCP],
_usingWorkers: false,
_workers: [],
_unref: false,
_listeningId: 2,
allowHalfOpen: true,
pauseOnConnect: false,
noDelay: true,
keepAlive: false,
keepAliveInitialDelay: 0,
highWaterMark: 16384,
httpAllowHalfOpen: false,
timeout: 0,
maxHeadersCount: null,
maxRequestsPerSocket: 0,
_connectionKey: '4:127.0.0.1:0',
[Symbol(IncomingMessage)]: [Function: IncomingMessage],
[Symbol(ServerResponse)]: [Function: ServerResponse],
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false,
[Symbol(async_id_symbol)]: 116,
[Symbol(kUniqueHeaders)]: null,
[Symbol(http.server.connections)]: ConnectionsList {},
[Symbol(http.server.connectionsCheckingInterval)]: Timeout {
_idleTimeout: 30000,
_idlePrev: [TimersList],
_idleNext: [TimersList],
_idleStart: 483,
_onTimeout: [Function: bound checkConnections],
_timerArgs: undefined,
_repeat: 30000,
_destroyed: false,
[Symbol(refed)]: false,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 118,
[Symbol(triggerId)]: 117
}
}
}
}
[26/12/2025, 19:27:01] sshautoconf: SSH key seems to exist
[26/12/2025, 19:27:01] sshautoconf: aborted with Reverse Proxy replied with neither registered nor unregistered status: out: err:fhem@fhem-va.fhem.de: Permission denied (keyboard-interactive,publickey).
[26/12/2025, 19:27:01] *** SSH: proxy configuration failed: Reverse Proxy replied with neither registered nor unregistered status: out: err:fhem@fhem-va.fhem.de: Permission denied (keyboard-interactive,publickey).
*** FHEM: connected2025.12.26 17:10:48 4: BlinkCamera_DoCmd blink: called for cmd :request2fa:
2025.12.26 17:10:48 4: BlinkCamera_DoCmd blink: try to send cmd request2fa
2025.12.26 17:10:48 4: BlinkCamera_DoCmd blink: oauthform data :username=xxx&password=xxx&grant_type=password&client_id=ios&scope=client:
2025.12.26 17:10:48 4: BlinkCamera_DoCmd blink: call url :https://api.oauth.blink.com/oauth/token:
2025.12.26 17:10:48 4: BlinkCamera_DoCmd blink: header :agent: TelegramBot/1.0
Host: api.oauth.blink.com
Content-Type: application/x-www-form-urlencoded
hardware_id: fhem 96f7970994c1df95ec2b4c687aa80881:
2025.12.26 17:10:48 4: BlinkCamera_DoCmd blink: data : username=xxx&password=xxx&grant_type=password&client_id=ios&scope=client:
2025.12.26 17:10:48 5: BlinkCamera_Set blink: request2fa done succesful
2025.12.26 17:10:49 4: BlinkCamera_Callback blink: called from DoCmd
2025.12.26 17:10:49 4: BlinkCamera_Callback blink: status err :status code :401: data {"error":"unsupported_grant_type","error_description":"invalid grant type"}
2025.12.26 17:10:49 3: BlinkCamera_Callback blink: request returned http status: 401
2025.12.26 17:10:49 4: BlinkCamera_Callback blink: after decoding status ret: <success> :
2025.12.26 17:10:49 4: BlinkCamera_Callback blink: analyze result for cmd:request2fa:
2025.12.26 17:10:49 4: BlinkCamera_Callback blink: for cmd :request2fa: retry :1 resulted in :SUCCESS: cmdId :-- from DoCmdZitat von: rudolfkoenig am 26 Dezember 2025, 13:55:40allerdings ohne die Pruefung auf init_done
