{
"connections" : [
{
"port" : "8084",
"filter" : "alexaName=..*",
"server" : "127.0.0.1",
"webname" : "fhem",
"name" : "FHEM",
"uid" : 0
}
],
"sshproxy" : {
"description" : "FHEM Connector",
"ssh" : "/usr/bin/ssh"
}
}
root@fhem:/# nodejs --version
v18.20.4
root@fhem:/# npm update -g alexa-fhem
up to date in 67ms
root@fhem:/# npm update -g alexa-fhem --verbose
npm verb cli /usr/bin/node /usr/bin/npm
npm info using npm@9.2.0
npm info using node@v18.20.4
npm verb title npm update alexa-fhem
npm verb argv "update" "--global" "alexa-fhem" "--loglevel" "verbose"
npm verb logfile logs-max:10 dir:/root/.npm/_logs/2025-12-18T22_10_14_735Z-
npm verb logfile /root/.npm/_logs/2025-12-18T22_10_14_735Z-debug-0.log
up to date in 71ms
npm verb exit 0
npm info ok
root@fhem:/#
Zitat von: traders-banquet am 18 Dezember 2025, 20:26:28Alexa-Fhem Version : 0.5.55Aktuell ist allerdings bereits 0.5.65
Zitat von: traders-banquet am 18 Dezember 2025, 20:26:28[18.12.2025, 21:09:12] Server emitted error: {"code":"EADDRINUSE","errno":-98,"syscall":"listen","address":"127.0.0.1","port":35275}Wie sieht deine alexa-config aus?
[18.12.2025, 21:09:12] Terminating - starting the listener not possible (another instance running?)
[18.12.2025, 21:09:12] [FHEM] longpoll ended, reconnect in: 200msec
[18.12.2025, 21:09:12] [FHEM] trying longpoll to listen for fhem events
[18.12.2025, 21:09:12] [FHEM] starting longpoll: http://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=1766088551.188;fmt=JSON×tamp=1766088552465
[18.12.2025, 21:09:12] [FHEM] got csrfToken:
[18.12.2025, 21:09:12] [FHEM] Checking devices and attributes...
[18.12.2025, 21:09:12] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:12] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:12] [FHEM] waiting for events ...
[18.12.2025, 21:09:12] [FHEM] Fetching FHEM devices...
[18.12.2025, 21:09:12] [FHEM] fetching: http://127.0.0.1:8084/fhem?cmd=jsonlist2%20alexaName=..*&XHR=1
[18.12.2025, 21:09:12] [FHEM] alexa device is alexa
[18.12.2025, 21:09:12] [FHEM] alexa will not send proactive events
[18.12.2025, 21:09:12] [FHEM] alexa uses ID: 5dc54b28-f33f-ed65-edb9-8b5a2d39fc75bbca
[18.12.2025, 21:09:12] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.55%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:12] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:12] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:12] Server emitted error: {"code":"EADDRINUSE","errno":-98,"syscall":"listen","address":"127.0.0.1","port":35275}
[18.12.2025, 21:09:12] Terminating - starting the listener not possible (another instance running?)
[18.12.2025, 21:09:32] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[18.12.2025, 21:09:32] os.homedir()=/root
[18.12.2025, 21:09:32] this is alexa-fhem 0.5.55
[18.12.2025, 21:09:32] connecting to FHEM ...
[18.12.2025, 21:09:32] [FHEM] defaults to: will not send proactive events
[18.12.2025, 21:09:32] [FHEM] trying longpoll to listen for fhem events
[18.12.2025, 21:09:32] [FHEM] starting longpoll: http://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1766088572360
[18.12.2025, 21:09:32] [FHEM] got csrfToken:
[18.12.2025, 21:09:32] [FHEM] Checking devices and attributes...
[18.12.2025, 21:09:32] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&XHR=1
[18.12.2025, 21:09:32] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=jsonlist2%20TYPE%3Dalexa&XHR=1
[18.12.2025, 21:09:32] [FHEM] waiting for events ...
[18.12.2025, 21:09:32] [FHEM] Fetching FHEM devices...
[18.12.2025, 21:09:32] [FHEM] fetching: http://127.0.0.1:8084/fhem?cmd=jsonlist2%20alexaName=..*&XHR=1
[18.12.2025, 21:09:32] [FHEM] alexa device is alexa
[18.12.2025, 21:09:32] [FHEM] alexa will not send proactive events
[18.12.2025, 21:09:32] [FHEM] alexa uses ID: 5dc54b28-f33f-ed65-edb9-8b5a2d39fc75bbca
[18.12.2025, 21:09:32] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.55%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:32] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:32] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:32] Server listening on: http://127.0.0.1:40107 for proxy connections
[18.12.2025, 21:09:32] *** SSH: checking proxy configuration
[18.12.2025, 21:09:32] sshautoconf: home=/root, spath=/root/.alexa, cpath=./alexa-fhem.cfg, sshpath=/root/.ssh
[18.12.2025, 21:09:32] Passed config: {"connections":[{"port":"8084","filter":"alexaName=..*","server":"127.0.0.1","webname":"fhem","name":"FHEM","uid":0}],"sshproxy":{"description":"FHEM Connector","ssh":"/usr/bin/ssh","options":["-i","/root/.ssh/id_rsa","-p",58824,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":40107}}
[18.12.2025, 21:09:32] sshautoconf: SSH key seems to exist
[18.12.2025, 21:09:32] sshautoconf: Our SSH key is known at the reverse proxy, good!
[18.12.2025, 21:09:32] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20alexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:32] [FHEM] got .eventToken
[18.12.2025, 21:09:32] refreshing token
[18.12.2025, 21:09:32] 39_alexa.pm is new version: true
[18.12.2025, 21:09:32] sshautoconf: completed successfully
[18.12.2025, 21:09:32] *** SSH: proxy configuration set up done
[18.12.2025, 21:09:32] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[18.12.2025, 21:09:32] [FHEM] executing: http://127.0.0.1:8084/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[18.12.2025, 21:09:32] Starting SSH with -R 1234:127.0.0.1:40107 -oServerAliveInterval=90 -i /root/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[18.12.2025, 21:09:32] BearerToken '...982B5' read from alexa
*** FHEM: connected
Zitat von: rudolfkoenig am 12 Dezember 2025, 11:11:22Einen leicht durchsichtigen Betrug kann man mit Unicode Zeichen anstellen, z.Bsp. mit "Fullwidth Plus Sign" / U+FF0B / +Kann bestätigen, dass dies funktioniert. Habe aus optischen Gründen das "Small Plus Sign" / U+FE62 / ﹢ verwendet.
Copy & Paste machts moeglich
attr Wallbox get01Name charge_mode
attr Wallbox get01OMap 0:Fast, 1:Off, 2:PV, 3:Min﹢PV
...
attr Wallbox set01IMap 0:Fast, 1:Off, 2:PV, 3:Min﹢PV
attr Wallbox set01Name charge_mode
Zitat von: Prof. Dr. Peter Henning am 10 Mai 2017, 21:04:30Gibts denn in der Pfalz jetzt schon elektrisch