Zitat von: stobor am 13 Februar 2025, 10:15:39Ist da sso tatsächlich normal?Wenn ich das richtig verstehe: Alleine der Status von HmIP_MOD_OC8_000D20C9A8C464_21_TasterGruen_LED wird in ZWEI Sekunden 35 mal gesendet!?
attr global sendStatistics onUpdate
setzen um die Liste zu mit füllen CHN 0033E0C98DB31B:1 HmIP-RGBW-1:1
1.ACTIVITY_STATE = 3 {i} [RE]
1.COLOR_TEMPERATURE = {i} [RWE]
1.COLOR_TEMPERATURE_STATUS = 1 {i} [RE]
1.COMBINED_PARAMETER = {s} [W]
1.DIM2WARM_STATE = false {b} [RE]
1.DURATION_UNIT = {i} [W]
1.DURATION_VALUE = {i} [W]
1.EFFECT = 0 {i} [W]
1.HUE = 0 {i} [RWE]
1.HUE_STATUS = 0 {i} [RE]
1.HUMAN_CENTRIC_LIGHT_STATE = false {b} [RE]
1.LEVEL = 0.000000 {f} [RWE]
1.LEVEL_STATUS = 0 {i} [RE]
1.PROCESS = 0 {i} [RE]
1.RAMP_TIME_TO_OFF_UNIT = {i} [W]
1.RAMP_TIME_TO_OFF_VALUE = {i} [W]
1.RAMP_TIME_UNIT = {i} [W]
1.RAMP_TIME_VALUE = {i} [W]
1.SATURATION = 0.000000 {f} [RWE]
1.SATURATION_STATUS = 0 {i} [RE]
1.SECTION = 0 {i} [RE]
1.SECTION_STATUS = 0 {i} [RE]
Get_settings:$VAR1 = {'error' => {'description' => 'Insufficient scope for this resource','key' => 'insufficient_scope'}};
Da ist in der HomeConnectConnection device entweder der accessScope falsch eingestellt oder dein Home Connect Developer Account hat zu wenig Rechte (wobei ich immer dachte der kriegt grundsätzlich alles)2025.02.12 11:17:59 Request:$VAR1 = {'callback' => sub { "DUMMY" },'uri' => '/api/homeappliances/XXXX/programs/available/LaundryCare.Washer.Program.Eco4060'};
2025.02.12 11:17:59 Get_options:$VAR1 = {'error' => {'description' => 'Program not supported','key' => 'SDK.Error.UnsupportedProgram'}};
Aber da brauche ich noch den Quercheck welche Programme die WaMa zurückliefert. Ich hoffe wir haben hier nicht noch einen Fall, wo die ganze Programmlogik nicht geht, wie beim Waschtrockner von Shadow.sudo apt-get install nodejs npm
node --version
sudo npm install -g alexa-fhem
und nach Neustart von FHEM einupdate
shutdown restart
durchgeführt. Im Anschluss habe ich wie beschrieben dasdefine alexa alexa
eingegeben und nach einiger Zeit die Fehlermeldung in der Reading-SectionalexaFHEM.ProxyConnection
error; Reverse Proxy replied with neither registered nor unregistered status: out: err:fhem@fhem-va.fhem.de: Permission denied (keyboard-interactive,publickey).
Selbstverständlich habe ich alle im WIKI beschriebenen Überprüfungen durchgeführt, aber alles (bis auf die Funktionalität von Alexa, und natürlich die Fehlermeldung) scheint normal.[13.2.2025, 11:25:12] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[13.2.2025, 11:25:12] os.homedir()=/opt/fhem
[13.2.2025, 11:25:12] this is alexa-fhem 0.5.65
[13.2.2025, 11:25:12] connecting to FHEM ...
[13.2.2025, 11:25:12] [FHEM] defaults to: will not send proactive events
[13.2.2025, 11:25:12] [FHEM] trying longpoll to listen for fhem events
[13.2.2025, 11:25:12] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=>
[13.2.2025, 11:25:12] [FHEM] got csrfToken: csrf_208085174102096
[13.2.2025, 11:25:12] [FHEM] Checking devices and attributes...
[13.2.2025, 11:25:12] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22>
[13.2.2025, 11:25:12] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=csrf_208085174>
[13.2.2025, 11:25:12] [FHEM] waiting for events ...
[13.2.2025, 11:25:12] [FHEM] Fetching FHEM devices...
[13.2.2025, 11:25:12] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName%3D..*&fwcsrf=csrf_208085174>
[13.2.2025, 11:25:12] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%20addToAttrList(%20%22homebridgeMapping%3A>
[13.2.2025, 11:25:12] [FHEM] homebridgeMapping attribute created.
[13.2.2025, 11:25:12] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7BaddToAttrList(%20%22genericDeviceType%3Asec>
[13.2.2025, 11:25:12] [FHEM] alexa device is alexa
[13.2.2025, 11:25:12] [FHEM] alexa will not send proactive events
[13.2.2025, 11:25:12] [FHEM] alexa uses ID: 67adc888-f33f-e168-a5c4-552c18118af8c040
[13.2.2025, 11:25:12] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22>
[13.2.2025, 11:25:12] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22>
[13.2.2025, 11:25:12] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22>
[13.2.2025, 11:25:12] Server listening on: http://127.0.0.1:35161 for proxy connections
[13.2.2025, 11:25:12] *** SSH: checking proxy configuration
[13.2.2025, 11:25:12] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.s>
[13.2.2025, 11:25:12] sshautoconf: env={"LANG":"de_AT.UTF-8","PATH":"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:>
[13.2.2025, 11:25:12] sshautoconf: Creating directory /opt/fhem/.alexa
[13.2.2025, 11:25:12] Passed config: {
sshproxy: {
description: 'FHEM Connector',
ssh: '/usr/bin/ssh',
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,
joinDuplicateHeaders: undefined,
rejectNonStandardBodyWrites: false,
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
_connections: 0,
_handle: [TCP],
_usingWorkers: false,
_workers: [],
_unref: false,
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(kCapture)]: false,
[Symbol(async_id_symbol)]: 135,
[Symbol(kUniqueHeaders)]: null,
[Symbol(http.server.connections)]: ConnectionsList {},
[Symbol(http.server.connectionsCheckingInterval)]: Timeout {
_idleTimeout: 30000,
_idlePrev: [TimersList],
_idleNext: [TimersList],
_idleStart: 670,
_onTimeout: [Function: bound checkConnections],
_timerArgs: undefined,
_repeat: 30000,
_destroyed: false,
[Symbol(refed)]: false,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 137,
[Symbol(triggerId)]: 136
}
}
},
connections: [
{
port: '8083',
filter: 'alexaName=..*',
server: '127.0.0.1',
uid: 999,
webname: 'fhem',
name: 'FHEM'
}
]
}
[13.2.2025, 11:25:12] sshautoconf: No SSH public key found, we have to generate one.
[13.2.2025, 11:25:15] sshautoconf: Generating public/private rsa key pair.
Your identification has been saved in /opt/fhem/.ssh/id_rsa
Your public key has been saved in /opt/fhem/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:2heqfplvImF5XYhCLcCz4upWfxqK6C+nJLPalH9rvis fhem@RasPi5-Server
The key's randomart image is:
+---[RSA 4096]----+
| ... . |
| o o . |
| + . . . |
| . . . . . . |
| . . oS... |
| .o +o.... |
|oo+ .o.ooo. |
|=B.oE.=o=.. |
|O=*o.BX* +. |
+----[SHA256]-----+
[13.2.2025, 11:25:15] sshautoconf: aborted with Reverse Proxy replied with neither registered nor unregistered status: >
fhem@fhem-va.fhem.de: Permission denied (keyboard-interactive,publickey).
[13.2.2025, 11:25:15] *** SSH: proxy configuration failed: Reverse Proxy replied with neither registered nor unregister>
fhem@fhem-va.fhem.de: Permission denied (keyboard-interactive,publickey).
*** FHEM: connected
[13.2.2025, 11:25:15] [FHEM] got: 0 results
[13.2.2025, 11:25:15] [FHEM] genericDeviceType attribute was not known. please restart.
[13.2.2025, 11:25:35] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[13.2.2025, 11:25:35] os.homedir()=/opt/fhem
[13.2.2025, 11:25:35] this is alexa-fhem 0.5.65
[13.2.2025, 11:25:35] connecting to FHEM ...
[13.2.2025, 11:25:35] [FHEM] defaults to: will not send proactive events
[13.2.2025, 11:25:35] [FHEM] trying longpoll to listen for fhem events
[13.2.2025, 11:25:35] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=>
[13.2.2025, 11:25:35] [FHEM] got csrfToken: csrf_208085174102096
[13.2.2025, 11:25:35] [FHEM] Checking devices and attributes...
[13.2.2025, 11:25:35] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22>
[13.2.2025, 11:25:35] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=csrf_208085174>
[13.2.2025, 11:25:35] [FHEM] waiting for events ...
[13.2.2025, 11:25:35] [FHEM] Fetching FHEM devices...
[13.2.2025, 11:25:35] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName%3D..*&fwcsrf=csrf_208085174>
[13.2.2025, 11:25:35] [FHEM] alexa device is alexa
[13.2.2025, 11:25:35] [FHEM] alexa will not send proactive events
[13.2.2025, 11:25:35] [FHEM] alexa uses ID: 67adc888-f33f-e168-a5c4-552c18118af8c040
[13.2.2025, 11:25:35] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22>
[13.2.2025, 11:25:35] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22>
[13.2.2025, 11:25:35] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22>
[13.2.2025, 11:25:35] Server listening on: http://127.0.0.1:35259 for proxy connections
[13.2.2025, 11:25:35] *** SSH: checking proxy configuration
[13.2.2025, 11:25:35] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.s>
[13.2.2025, 11:25:35] Passed config: {
sshproxy: {
description: 'FHEM Connector',
ssh: '/usr/bin/ssh',
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,
joinDuplicateHeaders: undefined,
rejectNonStandardBodyWrites: false,
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
_connections: 0,
_handle: [TCP],
_usingWorkers: false,
_workers: [],
_unref: false,
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(kCapture)]: false,
[Symbol(async_id_symbol)]: 120,
[Symbol(kUniqueHeaders)]: null,
[Symbol(http.server.connections)]: ConnectionsList {},
[Symbol(http.server.connectionsCheckingInterval)]: Timeout {
_idleTimeout: 30000,
_idlePrev: [TimersList],
_idleNext: [TimersList],
_idleStart: 511,
_onTimeout: [Function: bound checkConnections],
_timerArgs: undefined,
_repeat: 30000,
_destroyed: false,
[Symbol(refed)]: false,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 122,
[Symbol(triggerId)]: 121
}
}
},
connections: [
{
port: '8083',
filter: 'alexaName=..*',
server: '127.0.0.1',
uid: 999,
webname: 'fhem',
name: 'FHEM'
}
]
}
[13.2.2025, 11:25:35] sshautoconf: SSH key seems to exist
[13.2.2025, 11:25:35] sshautoconf: aborted with Reverse Proxy replied with neither registered nor unregistered status: >
[13.2.2025, 11:25:35] *** SSH: proxy configuration failed: Reverse Proxy replied with neither registered nor unregister>
*** FHEM: connected
[13.2.2025, 11:25:35] [FHEM] got: 0 results
[13.2.2025, 11:25:35] No reading "alexaFHEM.bearerToken" found in "alexa" - incoming Cloud requests cannot be validated.
[13.2.2025, 11:25:36] Reading alexaFHEM.ProxyConnection set to error;; Reverse Proxy replied with neither registered no>
[13.2.2025, 11:25:36] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7B%22alexa%22%7D-%3E%7B%22active%22>
[13.2.2025, 11:25:35] sshautoconf: SSH key seems to exist
? Hat das damit zu tun, dass Alexa bereits in einer anderen Installation von mir gelaufen/registriert ist bzw war? Und wie bekomme ich das wieder weg?