Einladung zum Beta-Test: "FHEMlazy" zur einfacheren Alexa-Integration

Begonnen von gvzdus, 23 Dezember 2018, 15:30:36

Vorheriges Thema - Nächstes Thema

Tueftler1983

So, wenn ich direkt im Terminal so
alexa-fhem /opt/fhem/alexa-fhem.cfg
alexa-fhem starte funktioniert alles und in FHEM sehe ich auch im Reading: alexaFHEM.ProxyConnection
running; SSH connected


Aber wenn ich über das alexa Device in FHEM starte steht im selben Reading stopped
I'm Reading: alexaFHEM running /usr/bin/alexa-fhem

Was ich seltsam finde ist das ich mit verbinde 5 auch keinen Hinweis finde warum es nicht klappt

MadMax-FHEM

verbose 5 wird nicht helfen, da wird ja nur Zeugs vom Alexa-Modul geloggt bzw. mehr geloggt.

Schau doch mal ins alexa-fhem Log.
Zu erreichen über das Alexa-Modul (ebenso wie die config.json)...

Evtl. auch da mal prüfen, ob die richtige config.json genommen wird...

Ansonsten mal

ls -la /usr/bin/alexa-fhem

evtl. auch mal manuelles Starten nachdem du:

sudo -su fhem bash

ausgeführt hast (dann bist du user fhem wie auch fhem selbst ;)  )...

Aber erst mal ins Log schauen (und hier posten) und dann mal weiter sehen...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Tueftler1983

#752
Danke dir für die Hilfe,

In alexa-fhem.log steht nur immer wieder das:
*** CONFIG: parsed completely
[2019-7-10 15:12:02] os.homedir()=/opt/fhem
[2019-7-10 15:12:02] this is alexa-fhem 0.5.28
[2019-7-10 15:12:02] connecting to FHEM ...
[2019-7-10 15:12:02] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 15:12:02] [FHEM] starting longpoll: https://127.0.0.1:9999/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562764322635
[2019-7-10 15:12:38] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 15:12:38] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 15:12:39] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 15:12:40] os.homedir()=/opt/fhem
[2019-7-10 15:12:40] this is alexa-fhem 0.5.28
[2019-7-10 15:12:40] connecting to FHEM ...
[2019-7-10 15:12:40] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 15:12:40] [FHEM] starting longpoll: https://127.0.0.1:9999/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562764360645
[2019-7-10 15:38:35] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 15:38:35] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 15:38:36] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 15:38:36] os.homedir()=/opt/fhem
[2019-7-10 15:38:36] this is alexa-fhem 0.5.28
[2019-7-10 15:38:36] connecting to FHEM ...
[2019-7-10 15:38:36] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 15:38:36] [FHEM] starting longpoll: https://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562765916910
[2019-7-10 15:42:05] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 15:42:05] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 15:42:22] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 15:42:22] os.homedir()=/opt/fhem
[2019-7-10 15:42:22] this is alexa-fhem 0.5.28
[2019-7-10 15:42:22] connecting to FHEM ...
[2019-7-10 15:42:22] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 15:42:22] [FHEM] starting longpoll: https://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562766142847
[2019-7-10 15:44:59] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 15:44:59] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 15:45:44] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 15:45:44] os.homedir()=/opt/fhem
[2019-7-10 15:45:44] this is alexa-fhem 0.5.28
[2019-7-10 15:45:44] connecting to FHEM ...
[2019-7-10 15:45:45] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 15:45:45] [FHEM] starting longpoll: https://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562766345281
[2019-7-10 16:40:20] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 16:40:20] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 16:43:18] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 16:43:18] os.homedir()=/opt/fhem
[2019-7-10 16:43:18] this is alexa-fhem 0.5.28
[2019-7-10 16:43:18] connecting to FHEM ...
[2019-7-10 16:43:18] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 16:43:18] [FHEM] starting longpoll: https://127.0.0.1:9999/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562769798827
[2019-7-10 16:43:27] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 16:43:27] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 17:02:55] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 17:02:55] os.homedir()=/opt/fhem
[2019-7-10 17:02:55] this is alexa-fhem 0.5.28
[2019-7-10 17:02:55] connecting to FHEM ...
[2019-7-10 17:02:55] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 17:02:55] [FHEM] starting longpoll: https://127.0.0.1:9999/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562770975856
[2019-7-10 17:07:18] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 17:07:18] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 17:07:18] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 17:07:18] os.homedir()=/opt/fhem
[2019-7-10 17:07:18] this is alexa-fhem 0.5.28
[2019-7-10 17:07:18] connecting to FHEM ...
[2019-7-10 17:07:19] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 17:07:19] [FHEM] starting longpoll: https://127.0.0.1:9999/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562771239445
[2019-7-10 17:10:56] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 17:10:56] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 17:17:46] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 17:17:46] os.homedir()=/opt/fhem
[2019-7-10 17:17:46] this is alexa-fhem 0.5.28
[2019-7-10 17:17:46] connecting to FHEM ...
[2019-7-10 17:17:46] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 17:17:46] [FHEM] starting longpoll: https://127.0.0.1:9999/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562771866993
[2019-7-10 17:24:10] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 17:24:10] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 17:24:11] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 17:24:11] os.homedir()=/opt/fhem
[2019-7-10 17:24:11] this is alexa-fhem 0.5.28
[2019-7-10 17:24:11] connecting to FHEM ...
[2019-7-10 17:24:12] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 17:24:12] [FHEM] starting longpoll: https://127.0.0.1:9999/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1562772252107
[2019-7-10 17:50:59] Got SIGTERM, shutting down alexa-fhem...
[2019-7-10 17:50:59] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[2019-7-10 17:51:00] using config from ./alexa-fhem.cfg


Die config.json sieht so aus:

(Korrektur: ist die alexa-fhem.cfg)
{
   "sshproxy" : {
      "description" : "FHEM Connector",
      "ssh" : "/usr/bin/ssh"
   },
   "connections" : [
      {
         "server" : "127.0.0.1",
         "webname" : "fhem",
         "name" : "FHEM",
         "filter" : "alexaName=..*",
         "uid" : 999,
         "port" : "9999"
      }
   ]
}


Die Ausgabe von ls -la /usr/bin/alexa-fhem


lrwxrwxrwx 1 root root 40 Jul 10 15:00 /usr/bin/alexa-fhem -> ../lib/node_modules/alexa-fhem/bin/alexa


Vielleicht hilft das noch weiter

fhem@FhemServer:~$ alexa-fhem /opt/fhem/alexa-fhem.cfg
[2019-7-10 20:41:25] os.homedir()=/opt/fhem
[2019-7-10 20:41:25] using config from /opt/fhem/.alexa/config.json[2019-7-10 20:41:25] Couldn't find a config file at '/opt/fhem/.alexa/config.json'. Look at config-sample.json for an example.
fhem@FhemServer:~$ alexa-fhem -c /opt/fhem/alexa-fhem.cfg          [2019-7-10 20:42:00] using config from /opt/fhem/alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 20:42:00] os.homedir()=/opt/fhem
[2019-7-10 20:42:00] this is alexa-fhem 0.5.28
[2019-7-10 20:42:00] connecting to FHEM ...
[2019-7-10 20:42:01] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 20:42:01] [FHEM] starting longpoll: http://127.0.0.1:9999/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1562784121189
[2019-7-10 20:42:02] [FHEM] got csrfToken:
[2019-7-10 20:42:02] [FHEM] Checking devices and attributes...
[2019-7-10 20:42:02] [FHEM]   executing: http://127.0.0.1:9999/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&XHR=1
[2019-7-10 20:42:02] [FHEM]   executing: http://127.0.0.1:9999/fhem?cmd=jsonlist2%20TYPE%3Dalexa&XHR=1
[2019-7-10 20:42:02] [FHEM] waiting for events ...
[2019-7-10 20:42:02] [FHEM] Fetching FHEM devices...
[2019-7-10 20:42:02] [FHEM] fetching: http://127.0.0.1:9999/fhem?cmd=jsonlist2%20alexaName=..*&XHR=1
[2019-7-10 20:42:03] [FHEM] alexa device is alexa
[2019-7-10 20:42:03] [FHEM]   executing: http://127.0.0.1:9999/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.28%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[2019-7-10 20:42:03] [FHEM]   executing: http://127.0.0.1:9999/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
[2019-7-10 20:42:03] [FHEM]   executing: http://127.0.0.1:9999/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
[2019-7-10 20:42:03] Server listening on: http://127.0.0.1:35963 for proxy connections
[2019-7-10 20:42:03] *** SSH: checking proxy configuration
[2019-7-10 20:42:03] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=/opt/fhem/alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-7-10 20:42:03] 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","port":35963},"connections":[{"server":"127.0.0.1","webname":"fhem","name":"FHEM","filter":"alexaName=..*","uid":999,"port":"9999"}]}
[2019-7-10 20:42:03] sshautoconf: *** Error: Your Homedirectory is writable by group/other. This will not work with SSH
[2019-7-10 20:42:03] sshautoconf: aborted with user homedir writable by group/other ('chmod 755 /opt/fhem' required)
[2019-7-10 20:42:03] *** SSH: proxy configuration failed: user homedir writable by group/other ('chmod 755 /opt/fhem' required)
*** FHEM: connected
[2019-7-10 20:42:04] [FHEM] got: 25 results
[2019-7-10 20:42:04] [FHEM] Aquarium_Leuchtturm is switch
[2019-7-10 20:42:04] [FHEM] Aquarium_Leuchtturm has
[2019-7-10 20:42:04] [FHEM]   On [state;on,off]
  2019-07-10 20:42:04 caching: Aquarium_Leuchtturm-state: Swi: on
[2019-7-10 20:42:04] [FHEM] Aquarium_Licht is switch
[2019-7-10 20:42:04] [FHEM] Aquarium_Licht has
[2019-7-10 20:42:04] [FHEM]   On [state;on,off]
  2019-07-10 20:42:04 caching: Aquarium_Licht-state: Swi: off
[2019-7-10 20:42:04] [FHEM] Aquarium_Pumpe_Heizung is switch
[2019-7-10 20:42:04] [FHEM] Aquarium_Pumpe_Heizung has
[2019-7-10 20:42:04] [FHEM]   On [state;on,off]
  2019-07-10 20:42:04 caching: Aquarium_Pumpe_Heizung-state: Swi: on
[2019-7-10 20:42:04] [FHEM] Bewegungsmelder_Flur is security
[2019-7-10 20:42:04] [FHEM] Bewegungsmelder_Flur has
[2019-7-10 20:42:04] [FHEM]   On [state;on,off]
  2019-07-10 20:42:04 caching: Bewegungsmelder_Flur-state: off
[2019-7-10 20:42:04] [FHEM] ESP1_DHT22 is thermometer
[2019-7-10 20:42:04] [FHEM] ESP1_DHT22 has
[2019-7-10 20:42:04] [FHEM]   CurrentTemperature [temperature]


Edit: ich habe keinen Ordner .alexa in /opt/fhem/

MadMax-FHEM

Hmm, einiges eigenartig...

Hast/hattest du mal eine "alte" Installation von alexa-fhem?

Wenn ja, dann mal alles alte löschen!
Inkl. Autostart-Script (/etc/init.d/alexa bzw. unter /etc/servicd/service/ )...

Welche config.json hast du hier gepostet?
Wo lag diese oder ist es die, die angezeigt wird, wenn du über das Alexa-Device zugreifst?

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Tueftler1983

Ja ich hatte eine alte alexa-fhem installation.
Das Autostart Script unter /etc/init.d/alexa hatte ich vergessen zu löschen.
Sonst hätte ich vorher alexa-fhem deinstalliert und alles was ich noch an testen gefunden habe gelöscht.

Die alexa-fhem.cfg liegt unter /opt/fhem/alexa-fhem.cfg

War ein Fehler im letzten Post ist nicht config.json sondern alexa-fhem.cfg

Tueftler1983

Beim Start über die Konsole macht das -c den Unterschied ob alexa-Fhem startet oder nicht.

fhem@FhemServer:~$ alexa-fhem /opt/fhem/alexa-fhem.cfg
[2019-7-10 21:43:08] os.homedir()=/opt/fhem
[2019-7-10 21:43:08] using config from /opt/fhem/.alexa/config.json[2019-7-10 21:43:08] Couldn't find a config file at '/opt/fhem/.alexa/config.json'. Look at config-sample.json for an example.
fhem@FhemServer:~$ alexa-fhem -c /opt/fhem/alexa-fhem.cfg
[2019-7-10 21:43:15] using config from /opt/fhem/alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-7-10 21:43:15] os.homedir()=/opt/fhem
[2019-7-10 21:43:15] this is alexa-fhem 0.5.28
[2019-7-10 21:43:15] connecting to FHEM ...
[2019-7-10 21:43:16] [FHEM] trying longpoll to listen for fhem events
[2019-7-10 21:43:16] [FHEM] starting longpoll: http://127.0.0.1:9999/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1562787796293
[2019-7-10 21:43:16] [FHEM] got csrfToken:
[2019-7-10 21:43:16] [FHEM] Checking devices and attributes...
[2019-7-10 21:43:16] [FHEM]   executing: http://127.0.0.1:9999/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&XHR=1
[2019-7-10 21:43:16] [FHEM]   executing: http://127.0.0.1:9999/fhem?cmd=jsonlist2%20TYPE%3Dalexa&XHR=1
[2019-7-10 21:43:16] [FHEM] waiting for events ...
[2019-7-10 21:43:16] [FHEM] Fetching FHEM devices...
[2019-7-10 21:43:16] [FHEM] fetching: http://127.0.0.1:9999/fhem?cmd=jsonlist2%20alexaName=..*&XHR=1
[2019-7-10 21:43:16] [FHEM] alexa device is alexa
[2019-7-10 21:43:16] [FHEM]   executing: http://127.0.0.1:9999/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.28%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&XHR=1
[2019-7-10 21:43:16] [FHEM]   executing: http://127.0.0.1:9999/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
[2019-7-10 21:43:16] [FHEM]   executing: http://127.0.0.1:9999/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
[2019-7-10 21:43:16] Server listening on: http://127.0.0.1:45031 for proxy connections
[2019-7-10 21:43:16] *** SSH: checking proxy configuration
[2019-7-10 21:43:16] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=/opt/fhem/alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-7-10 21:43:16] 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","port":45031},"connections":[{"server":"127.0.0.1","webname":"fhem","name":"FHEM","filter":"alexaName=..*","uid":999,"port":"9999"}]}
[2019-7-10 21:43:16] sshautoconf: SSH key seems to exist
[2019-7-10 21:43:17] sshautoconf: Our SSH key is known at the reverse proxy, good!
[2019-7-10 21:43:17] [FHEM]   executing: http://127.0.0.1:9999/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
*** FHEM: connected
[2019-7-10 21:43:17] [FHEM] got: 25 results


Was besagt das -c ?????

MadMax-FHEM

Hast du (nun) alles "alte" gelöscht!?

Evtl. noch mal auch das "neue" deinstallieren:

sollte mit

sudo npm uninstall alexa-fhem

Evtl. mal reboot ;)

Und dann noch mal neu installieren laut Wiki: https://wiki.fhem.de/wiki/FHEM_Connector_f%C3%BCr_Amazon_Alexa

(oder läuft es jetzt nachdem du das Startscript gelöscht hast!?)

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

MadMax-FHEM

#757
Hmmm, das weiß ich jetzt auch nicht...

EDIT: evtl. c wie config-file ;)  Warum es allerdings nicht autom. "gefunden"/"genommen" wird: keine Ahnung...

Du kannst aber ja mal schauen, ob du mit einem der Attribute, z.B.:

Zitat von: Device specific help bzw. commandref
alexaFHEM-cmd
The command to use as alexa-fhem.
alexaFHEM-config
The config file to use for alexa-fhem.
alexaFHEM-params
Additional alexa-fhem cmdline params.

was "ausrichten" kannst...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Tueftler1983

Ja jetzt müßte ich alles alte gelöscht haben.

Aber funktionieren tut's immer noch nicht.

Mit den Attributen kann ich nix anfangen, weiß nicht was ich da wie eintragen soll.

Muss ich jetzt tatsächlich wieder alles deinstallieren und löschen? Habe ich mittlerweile 4 Mal gemacht.

Ich verzweifele hier echt langsam.

Tueftler1983

Ist eig noch alles aus dem 1. Post notwendig oder gehe ich eig nur nach dem WIKI vor um den Alexa den Skill FHEMconnector verwenden zu können?

Mir raucht Grade leicht der kopf

MadMax-FHEM

So genau weiß ich das mit den Attributen auch nicht, außer halt was sich an den Namen erkennen lässt...

Ich bin ja auch "umgestiegen", also von "alter" alexa-fhem Installation auf "neu", also alexa fhem Connector.

Allerdings habe ich vor der Installation nach Wiki alexa fhem Connector ALLES "alte" gelöscht!
(vorher halt gesichert)

Und hatte keine Probleme...

Aber evtl. mal hier im Thread stöbern, ich glaube einige Attribute wurden schon mal verwendet...
...vielleicht kannst du da was sehen...

Vielleicht halt mal mit dem Attribut 'alexaFHEM-config' probieren:

attr AlexaDevice alexaFHEM-config /opt/fhem/alexa-fhem.cfg

Und vielleicht (später) auch mal das Attribut alexaFHEM-cmd versuchen, dazu musst du aber wissen wo bzw. wie alexa-fhem per Console aufgerufen wird damit es klappt.
Also evtl. mal das Kommando was auf der Console geht dort eingeben...

Oder halt wirklich noch mal sauber alles runter und neu drauf...

...wie geschrieben: bei mir lief der Umstieg ohne Probleme...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

MadMax-FHEM

Zitat von: Tueftler1983 am 10 Juli 2019, 22:26:07
Ist eig noch alles aus dem 1. Post notwendig oder gehe ich eig nur nach dem WIKI vor um den Alexa den Skill FHEMconnector verwenden zu können?

Mir raucht Grade leicht der kopf

Einfach nur nach Wiki...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Tueftler1983

DANKE
Es ist geschafft, nach dem gefühlten 20. mal Deinstallieren und alles löschen was alexa oder alexa-fhem heißt und neu installieren läuft es jetzt endlich. in der alexa App werden die Geräte gefunden und

Haustüre, FlurLicht Tv etc lassen sich schalten.

Vielen lieben Dank erstmal

MadMax-FHEM

Schwere Geburt...
...aber es gab schlimmere Fälle ;)

Dann mal viel Spaß!

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Tueftler1983

Ich habe Mal ne Frage,
Licht schalten und Farbe und Helligkeit einstellen klappt wunderbar. (P.s. sind ESPEASY) Device und Funk Steckdosen über Pilight.
Aber Temperaturen abfragen mit: Alexa wie warm ist es in der Küche oder Wie ist die Temperatur im Kinderzimmer geht nicht. In der App wird mir das device aber angezeigt und dort kann ich auch die Temperatur sehen.

Geht das mit dem FHEMconnector garnicht oder habe ich noch nen Denkfehler?