alexa-fhem: amazon alexa smart home skill für fhem

Begonnen von justme1968, 05 November 2016, 23:21:32

Vorheriges Thema - Nächstes Thema

Byllyy

Also die config.json sieht so aus :
{
    "alexa": {
        "name": "AlexaFhem",
        "keyFile": "./key.pem",
        "certFile": "./cert.pem",
        "nat-pmp": "",
        "nat-upnp": false,
        "applicationId": "amzn1.ask.skill.xxx",
        "oauthClientID": "amzn1.application-oa2-client.xxx"
    },
   
    "connections": [
        {
            "name": "FHEM",
            "server": "127.0.0.1",
            "port": "8083",
            "filter": "room=Alexa"
        }
    ]
}


und alexa.service schaut jetzt so aus :

[Unit]
Description=Node.js Alexa Server
After=syslog.target network-online.target

[Service]
Type=simple
User=pi #oder ein anderer Benutzer wie fhem
EnvironmentFile=/etc/default/alexa
# oder wo auch immer eure alexa-fhem liegt
WorkingDirectory=/opt/fhem/alexa-fhem/
ExecStart=/opt/fhem/alexa-fhem/bin/alexa -U /opt/fhem/.alexa
Restart=on-failure
RestartSec=10
KillMode=process

[Install]
WantedBy=multi-user.target


Danke

amenomade

Wie schon gesagt, nimm EnvironmentFile weg

Kann man auch sehen, was "ls -la /etc/systemd/system" sagt?

Und wenn wir dabei sind, was sagt "node -v" ohne sudo !?

Hmm.. du hast jetzt "-U /opt/fhem/.alexa" ? Ich dachte, wir machen "-U /home/pi/.alexa"...
Ich hätte gerne wieder "ls -la /opt/fhem/.alexa"
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Ma_Bo

ACHTUNG OFFTOPIC

@justme1968: Siehst du eine Möglichkeit, Google Home zu integrieren...? Oder hast du auf kurz oder lang ggfs. vor ein eigenes Modul dafür zu machen...?
Sieh das bitte nur als einfache Frage und nicht als Aufforderung oder so...

Grüße Marcel

OFFTOPIC ENDE
NUC mit FHEM, HM Heizungsthermostate, HM Wandthermostate, Intertechno Funksteckdosen, 10" Tablet als Wanddisplay, KeyMatic, Fensterkontakte, Fensterkontakte umgebaut als Wassermelder und Briefkastenmelder, Aussenthermostat, Anwesenheitssteuerung über Fritz Box, Google Home usw. usw.

justme1968

ich habe nicht vor selber google home zu verwenden und habe mir weder das api noch anderes dazu angesehen. von daher kann ich nichts dazu sagen.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

MadMax-FHEM

OFF-TOPIC (continued...)

Die Frage von Marcel habe ich mir auch schon gestellt...
...und wollte sie auch so an dich Andre weitergeben...
(neuer Thread, PN, ... Allerdings hatte ich mich bislang zu kurz mit google Home beschäftigt und wollte erst genauer wissen, ob die vermeintlich erkannten "Parallelen" tatsächlich welche sind)

Habe mir mal ganz kurz api.ai (glaube ich war's) angesehen und auch beim Ablauf parallelen erkannt.

Eine Idee wäre die Actions (oder wie das jetzt hieß) an alexa-fhem "weiterzuleiten" bzw. dort dann die Umsetzung und das Auslösen von fhem-Befehlen machen zu lassen...

Hab allerdings noch nicht lang rumprobiert und mir noch nicht genau angesehen was denn von Cloud AWS so an alexa-fhem geht...

Allerdings ist google home ohne "custom Erweiterung" schlechter im Verstehen von "normal gesprochenen Anweisungen". Ich muss praktisch alles ohne Artikel schalten, sonst wird das nix. Aktuell zum Test läuft google Home über ha-bridge...
Alexa über alexa-fhem (Smart Home und Custom)...

Daher werde ich wohl bei Alexa bleiben...
...aber wollte unbedingt wissen wie google Home ist... ;)

Für weitere Diskussionen (sollte es welche geben) dann wohl besser ein neuer Thread...

Bin allerdings jetzt erst mal weg/unterwegs...

Sorry für die Weiterführung des Off-Topic!

Gruß, Joachim

ENDE OFF-TOPIC
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)

Byllyy

Guten morgen zusammen,
zur Sicherheit hier noch mal die aktuell alexa.service


[Unit]
Description=Node.js Alexa Server
After=syslog.target network-online.target

[Service]
Type=simple
User=pi #oder ein anderer Benutzer wie fhem
# oder wo auch immer eure alexa-fhem liegt
WorkingDirectory=/opt/fhem/alexa-fhem/
ExecStart=/opt/fhem/alexa-fhem/bin/alexa --debug -U /home/pi/.alexa
Restart=on-failure
RestartSec=10
KillMode=process

[Install]
WantedBy=multi-user.target


und jetzt die gewünschten Daten:

pi@raspberrypi:~ $ ls -la /etc/systemd/system
total 60
drwxr-xr-x 13 root root 4096 Aug 25 18:12 .
drwxr-xr-x  6 root root 4096 Nov 25  2016 ..
-rw-r--r--  1 root root  388 Sep  2 09:24 alexa.service
-rw-r--r--  1 root root 1551 May 19  2016 autologin@.service
drwxr-xr-x  2 root root 4096 Nov 25  2016 bluetooth.target.wants
lrwxrwxrwx  1 root root   37 Nov 25  2016 dbus-org.bluez.service -> /lib/systemd/system/bluetooth.service
lrwxrwxrwx  1 root root   40 Nov 25  2016 dbus-org.freedesktop.Avahi.service -> /lib/systemd/system/avahi-daemon.service
lrwxrwxrwx  1 root root   34 Nov 25  2016 dhcpcd5 -> /lib/systemd/system/dhcpcd.service
drwxr-xr-x  2 root root 4096 Nov 25  2016 dhcpcd.service.d
drwxr-xr-x  2 root root 4096 Nov 25  2016 getty.target.wants
drwxr-xr-x  2 root root 4096 Nov 25  2016 getty@tty1.service.d
drwxr-xr-x  2 root root 4096 Nov 25  2016 halt.target.wants
drwxr-xr-x  2 root root 4096 Aug 25 18:14 multi-user.target.wants
drwxr-xr-x  2 root root 4096 Nov 25  2016 poweroff.target.wants
drwxr-xr-x  2 root root 4096 Nov 25  2016 rc-local.service.d
drwxr-xr-x  2 root root 4096 Nov 25  2016 reboot.target.wants
drwxr-xr-x  2 root root 4096 Nov 25  2016 sockets.target.wants
drwxr-xr-x  2 root root 4096 Nov 25  2016 sysinit.target.wants
lrwxrwxrwx  1 root root   35 Nov 25  2016 syslog.service -> /lib/systemd/system/rsyslog.service
pi@raspberrypi:~ $


pi@raspberrypi:~ $ ls -la /opt/fhem/.alexa
total 24
drwxr-xr-x  2 fhem dialout  4096 Aug 23 09:31 .
drwxr-xr-x 15 fhem dialout  4096 Sep  1 17:45 ..
-rw-r--r--  1 fhem dialout   519 Aug 25 08:43 config.json
-rw-r--r--  1 fhem dialout 12288 Aug 23 09:33 .config.json.swp
pi@raspberrypi:~ $ node -v
v6.9.2
pi@raspberrypi:~ $


Danke,
Byllyy

amenomade

Hätte auch gerne noch
sudo journalctl --since "2017-09-01 15:44:32" --until "2017-09-01 15:45:25" | more

(Datum & Uhrzeit anpassen, damit die letzte Versuche daraus kommen)

Und auch dmesg -T

Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Byllyy

Gerne doch, schön das Du weiter hilfst.

pi@raspberrypi:~ $ sudo journalctl --since "2017-09-01 15:44:32" --until "2017-09-01 15:45:25" | more
-- Logs begin at Fri 2017-09-01 22:45:56 CEST, end at Sat 2017-09-02 20:06:27 CEST. --
pi@raspberrypi:~ $


pi@raspberrypi:~ $ dmesg -T
[Fri Sep  1 17:46:55 2017] Booting Linux on physical CPU 0x0
[Fri Sep  1 17:46:55 2017] Initializing cgroup subsys cpuset
[Fri Sep  1 17:46:55 2017] Initializing cgroup subsys cpu
[Fri Sep  1 17:46:55 2017] Initializing cgroup subsys cpuacct
[Fri Sep  1 17:46:55 2017] Linux version 4.4.38-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #938 SMP Thu Dec 15 15:22:21 GMT 2016
[Fri Sep  1 17:46:55 2017] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[Fri Sep  1 17:46:55 2017] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[Fri Sep  1 17:46:55 2017] Machine model: Raspberry Pi 3 Model B Rev 1.2
[Fri Sep  1 17:46:55 2017] cma: Reserved 8 MiB at 0x3a800000
[Fri Sep  1 17:46:55 2017] Memory policy: Data cache writealloc
[Fri Sep  1 17:46:55 2017] On node 0 totalpages: 241664
[Fri Sep  1 17:46:55 2017] free_area_init_node: node 0, pgdat 808c4f40, node_mem_map b9fa6000
[Fri Sep  1 17:46:55 2017]   Normal zone: 2124 pages used for memmap
[Fri Sep  1 17:46:55 2017]   Normal zone: 0 pages reserved
[Fri Sep  1 17:46:55 2017]   Normal zone: 241664 pages, LIFO batch:31
[Fri Sep  1 17:46:55 2017] [bcm2709_smp_init_cpus] enter (9520->f3003010)
[Fri Sep  1 17:46:55 2017] [bcm2709_smp_init_cpus] ncores=4
[Fri Sep  1 17:46:55 2017] PERCPU: Embedded 13 pages/cpu @b9f61000 s22592 r8192 d22464 u53248
[Fri Sep  1 17:46:55 2017] pcpu-alloc: s22592 r8192 d22464 u53248 alloc=13*4096
[Fri Sep  1 17:46:55 2017] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[Fri Sep  1 17:46:55 2017] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 239540
[Fri Sep  1 17:46:55 2017] Kernel command line: 8250.nr_uarts=0 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa02082 bcm2709.serial=0xf2dc32af smsc95xx.macaddr=B8:27:EB:DC:32:AF bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[Fri Sep  1 17:46:55 2017] PID hash table entries: 4096 (order: 2, 16384 bytes)
[Fri Sep  1 17:46:55 2017] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[Fri Sep  1 17:46:55 2017] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[Fri Sep  1 17:46:55 2017] Memory: 939060K/966656K available (6357K kernel code, 432K rwdata, 1716K rodata, 476K init, 764K bss, 19404K reserved, 8192K cma-reserved)
[Fri Sep  1 17:46:55 2017] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
    lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x807ea688   (8074 kB)
      .init : 0x807eb000 - 0x80862000   ( 476 kB)
      .data : 0x80862000 - 0x808ce250   ( 433 kB)
       .bss : 0x808d1000 - 0x809901ec   ( 765 kB)
[Fri Sep  1 17:46:55 2017] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[Fri Sep  1 17:46:55 2017] Hierarchical RCU implementation.
[Fri Sep  1 17:46:55 2017]      Build-time adjustment of leaf fanout to 32.
[Fri Sep  1 17:46:55 2017] NR_IRQS:16 nr_irqs:16 16
[Fri Sep  1 17:46:55 2017] Architected cp15 timer(s) running at 19.20MHz (phys).
[Fri Sep  1 17:46:55 2017] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[Fri Sep  1 17:46:55 2017] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[Fri Sep  1 17:46:55 2017] Switching to timer-based delay loop, resolution 52ns
[Fri Sep  1 17:46:55 2017] Console: colour dummy device 80x30
[Fri Sep  1 17:46:55 2017] console [tty1] enabled
[Fri Sep  1 17:46:55 2017] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[Fri Sep  1 17:46:55 2017] pid_max: default: 32768 minimum: 301
[Fri Sep  1 17:46:55 2017] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[Fri Sep  1 17:46:55 2017] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[Fri Sep  1 17:46:55 2017] Disabling cpuset control group subsystem
[Fri Sep  1 17:46:55 2017] Initializing cgroup subsys io
[Fri Sep  1 17:46:55 2017] Initializing cgroup subsys memory
[Fri Sep  1 17:46:55 2017] Initializing cgroup subsys devices
[Fri Sep  1 17:46:55 2017] Initializing cgroup subsys freezer
[Fri Sep  1 17:46:55 2017] Initializing cgroup subsys net_cls
[Fri Sep  1 17:46:55 2017] CPU: Testing write buffer coherency: ok
[Fri Sep  1 17:46:55 2017] ftrace: allocating 21237 entries in 63 pages
[Fri Sep  1 17:46:55 2017] CPU0: update cpu_capacity 1024
[Fri Sep  1 17:46:55 2017] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[Fri Sep  1 17:46:55 2017] [bcm2709_smp_prepare_cpus] enter
[Fri Sep  1 17:46:55 2017] Setting up static identity map for 0x8240 - 0x8274
[Fri Sep  1 17:46:55 2017] [bcm2709_boot_secondary] cpu:1 started (0) 17
[Fri Sep  1 17:46:55 2017] [bcm2709_secondary_init] enter cpu:1
[Fri Sep  1 17:46:55 2017] CPU1: update cpu_capacity 1024
[Fri Sep  1 17:46:55 2017] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[Fri Sep  1 17:46:55 2017] [bcm2709_boot_secondary] cpu:2 started (0) 18
[Fri Sep  1 17:46:55 2017] [bcm2709_secondary_init] enter cpu:2
[Fri Sep  1 17:46:55 2017] CPU2: update cpu_capacity 1024
[Fri Sep  1 17:46:55 2017] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[Fri Sep  1 17:46:55 2017] [bcm2709_boot_secondary] cpu:3 started (0) 17
[Fri Sep  1 17:46:55 2017] [bcm2709_secondary_init] enter cpu:3
[Fri Sep  1 17:46:55 2017] CPU3: update cpu_capacity 1024
[Fri Sep  1 17:46:55 2017] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[Fri Sep  1 17:46:55 2017] Brought up 4 CPUs
[Fri Sep  1 17:46:55 2017] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[Fri Sep  1 17:46:55 2017] CPU: All CPU(s) started in HYP mode.
[Fri Sep  1 17:46:55 2017] CPU: Virtualization extensions available.
[Fri Sep  1 17:46:55 2017] devtmpfs: initialized
[Fri Sep  1 17:46:55 2017] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[Fri Sep  1 17:46:55 2017] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[Fri Sep  1 17:46:55 2017] pinctrl core: initialized pinctrl subsystem
[Fri Sep  1 17:46:55 2017] NET: Registered protocol family 16
[Fri Sep  1 17:46:55 2017] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[Fri Sep  1 17:46:55 2017] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[Fri Sep  1 17:46:55 2017] hw-breakpoint: maximum watchpoint size is 8 bytes.
[Fri Sep  1 17:46:55 2017] Serial: AMBA PL011 UART driver
[Fri Sep  1 17:46:55 2017] uart-pl011 3f201000.uart: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[Fri Sep  1 17:46:55 2017] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[Fri Sep  1 17:46:55 2017] bcm2835-dma 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x1
[Fri Sep  1 17:46:55 2017] SCSI subsystem initialized
[Fri Sep  1 17:46:55 2017] usbcore: registered new interface driver usbfs
[Fri Sep  1 17:46:55 2017] usbcore: registered new interface driver hub
[Fri Sep  1 17:46:55 2017] usbcore: registered new device driver usb
[Fri Sep  1 17:46:55 2017] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-12-09 15:11
[Fri Sep  1 17:46:55 2017] clocksource: Switched to clocksource arch_sys_counter
[Fri Sep  1 17:46:55 2017] FS-Cache: Loaded
[Fri Sep  1 17:46:55 2017] CacheFiles: Loaded
[Fri Sep  1 17:46:55 2017] NET: Registered protocol family 2
[Fri Sep  1 17:46:55 2017] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[Fri Sep  1 17:46:55 2017] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[Fri Sep  1 17:46:55 2017] TCP: Hash tables configured (established 8192 bind 8192)
[Fri Sep  1 17:46:55 2017] UDP hash table entries: 512 (order: 2, 16384 bytes)
[Fri Sep  1 17:46:55 2017] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[Fri Sep  1 17:46:55 2017] NET: Registered protocol family 1
[Fri Sep  1 17:46:55 2017] RPC: Registered named UNIX socket transport module.
[Fri Sep  1 17:46:55 2017] RPC: Registered udp transport module.
[Fri Sep  1 17:46:55 2017] RPC: Registered tcp transport module.
[Fri Sep  1 17:46:55 2017] RPC: Registered tcp NFSv4.1 backchannel transport module.
[Fri Sep  1 17:46:55 2017] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[Fri Sep  1 17:46:55 2017] futex hash table entries: 1024 (order: 4, 65536 bytes)
[Fri Sep  1 17:46:55 2017] VFS: Disk quotas dquot_6.6.0
[Fri Sep  1 17:46:55 2017] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[Fri Sep  1 17:46:55 2017] FS-Cache: Netfs 'nfs' registered for caching
[Fri Sep  1 17:46:55 2017] NFS: Registering the id_resolver key type
[Fri Sep  1 17:46:55 2017] Key type id_resolver registered
[Fri Sep  1 17:46:55 2017] Key type id_legacy registered
[Fri Sep  1 17:46:55 2017] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[Fri Sep  1 17:46:55 2017] io scheduler noop registered
[Fri Sep  1 17:46:55 2017] io scheduler deadline registered (default)
[Fri Sep  1 17:46:55 2017] io scheduler cfq registered
[Fri Sep  1 17:46:55 2017] BCM2708FB: allocated DMA memory fac10000
[Fri Sep  1 17:46:55 2017] BCM2708FB: allocated DMA channel 0 @ f3007000
[Fri Sep  1 17:46:55 2017] Console: switching to colour frame buffer device 82x26
[Fri Sep  1 17:46:55 2017] bcm2835-rng 3f104000.rng: hwrng registered
[Fri Sep  1 17:46:55 2017] vc-cma: Videocore CMA driver
[Fri Sep  1 17:46:55 2017] vc-cma: vc_cma_base      = 0x00000000
[Fri Sep  1 17:46:55 2017] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[Fri Sep  1 17:46:55 2017] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[Fri Sep  1 17:46:55 2017] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[Fri Sep  1 17:46:55 2017] brd: module loaded
[Fri Sep  1 17:46:55 2017] loop: module loaded
[Fri Sep  1 17:46:55 2017] vchiq: vchiq_init_state: slot_zero = 0xbac80000, is_master = 0
[Fri Sep  1 17:46:55 2017] Loading iSCSI transport class v2.0-870.
[Fri Sep  1 17:46:55 2017] usbcore: registered new interface driver smsc95xx
[Fri Sep  1 17:46:55 2017] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[Fri Sep  1 17:46:55 2017] Core Release: 2.80a
[Fri Sep  1 17:46:55 2017] Setting default values for core params
[Fri Sep  1 17:46:55 2017] Finished setting default values for core params
[Fri Sep  1 17:46:55 2017] Using Buffer DMA mode
[Fri Sep  1 17:46:55 2017] Periodic Transfer Interrupt Enhancement - disabled
[Fri Sep  1 17:46:55 2017] Multiprocessor Interrupt Enhancement - disabled
[Fri Sep  1 17:46:55 2017] OTG VER PARAM: 0, OTG VER FLAG: 0
[Fri Sep  1 17:46:55 2017] Dedicated Tx FIFOs mode
[Fri Sep  1 17:46:55 2017] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac04000 dma = 0xfac04000 len=9024
[Fri Sep  1 17:46:55 2017] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[Fri Sep  1 17:46:55 2017] dwc_otg: Microframe scheduler enabled
[Fri Sep  1 17:46:55 2017] WARN::hcd_init_fiq:413: FIQ on core 1 at 0x8044844c
[Fri Sep  1 17:46:55 2017] WARN::hcd_init_fiq:414: FIQ ASM at 0x804487bc length 36
[Fri Sep  1 17:46:55 2017] WARN::hcd_init_fiq:439: MPHI regs_base at 0xbb87e000
[Fri Sep  1 17:46:55 2017] dwc_otg 3f980000.usb: DWC OTG Controller
[Fri Sep  1 17:46:55 2017] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[Fri Sep  1 17:46:55 2017] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[Fri Sep  1 17:46:55 2017] Init: Port Power? op_state=1
[Fri Sep  1 17:46:55 2017] Init: Power Port (0)
[Fri Sep  1 17:46:55 2017] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[Fri Sep  1 17:46:55 2017] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fri Sep  1 17:46:55 2017] usb usb1: Product: DWC OTG Controller
[Fri Sep  1 17:46:55 2017] usb usb1: Manufacturer: Linux 4.4.38-v7+ dwc_otg_hcd
[Fri Sep  1 17:46:55 2017] usb usb1: SerialNumber: 3f980000.usb
[Fri Sep  1 17:46:55 2017] hub 1-0:1.0: USB hub found
[Fri Sep  1 17:46:55 2017] hub 1-0:1.0: 1 port detected
[Fri Sep  1 17:46:55 2017] dwc_otg: FIQ enabled
[Fri Sep  1 17:46:55 2017] dwc_otg: NAK holdoff enabled
[Fri Sep  1 17:46:55 2017] dwc_otg: FIQ split-transaction FSM enabled
[Fri Sep  1 17:46:55 2017] Module dwc_common_port init
[Fri Sep  1 17:46:55 2017] usbcore: registered new interface driver usb-storage
[Fri Sep  1 17:46:55 2017] mousedev: PS/2 mouse device common for all mice
[Fri Sep  1 17:46:55 2017] bcm2835-cpufreq: min=600000 max=1200000
[Fri Sep  1 17:46:55 2017] sdhci: Secure Digital Host Controller Interface driver
[Fri Sep  1 17:46:55 2017] sdhci: Copyright(c) Pierre Ossman
[Fri Sep  1 17:46:55 2017] sdhost: log_buf @ bac07000 (fac07000)
[Fri Sep  1 17:46:55 2017] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[Fri Sep  1 17:46:55 2017] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[Fri Sep  1 17:46:55 2017] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[Fri Sep  1 17:46:55 2017] sdhci-pltfm: SDHCI platform and OF driver helper
[Fri Sep  1 17:46:55 2017] ledtrig-cpu: registered to indicate activity on CPUs
[Fri Sep  1 17:46:55 2017] hidraw: raw HID events driver (C) Jiri Kosina
[Fri Sep  1 17:46:55 2017] usbcore: registered new interface driver usbhid
[Fri Sep  1 17:46:55 2017] usbhid: USB HID core driver
[Fri Sep  1 17:46:55 2017] Initializing XFRM netlink socket
[Fri Sep  1 17:46:55 2017] NET: Registered protocol family 17
[Fri Sep  1 17:46:55 2017] Key type dns_resolver registered
[Fri Sep  1 17:46:55 2017] Registering SWP/SWPB emulation handler
[Fri Sep  1 17:46:55 2017] registered taskstats version 1
[Fri Sep  1 17:46:55 2017] vc-sm: Videocore shared memory driver
[Fri Sep  1 17:46:55 2017] [vc_sm_connected_init]: start
[Fri Sep  1 17:46:55 2017] [vc_sm_connected_init]: end - returning 0
[Fri Sep  1 17:46:55 2017] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[Fri Sep  1 17:46:55 2017] of_cfs_init
[Fri Sep  1 17:46:55 2017] of_cfs_init: OK
[Fri Sep  1 17:46:55 2017] mmc0: host does not support reading read-only switch, assuming write-enable
[Fri Sep  1 17:46:55 2017] mmc0: new high speed SDHC card at address aaaa
[Fri Sep  1 17:46:55 2017] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[Fri Sep  1 17:46:55 2017]  mmcblk0: p1 p2
[Fri Sep  1 17:46:55 2017] Indeed it is in host mode hprt0 = 00021501
[Fri Sep  1 17:46:56 2017] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[Fri Sep  1 17:46:56 2017] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[Fri Sep  1 17:46:56 2017] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[Fri Sep  1 17:46:56 2017] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[Fri Sep  1 17:46:56 2017] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[Fri Sep  1 17:46:56 2017] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[Fri Sep  1 17:46:56 2017] devtmpfs: mounted
[Fri Sep  1 17:46:56 2017] Freeing unused kernel memory: 476K (807eb000 - 80862000)
[Fri Sep  1 17:46:56 2017] mmc1: new high speed SDIO card at address 0001
[Fri Sep  1 17:46:56 2017] usb 1-1: new high-speed USB device number 2 using dwc_otg
[Fri Sep  1 17:46:56 2017] Indeed it is in host mode hprt0 = 00001101
[Fri Sep  1 17:46:56 2017] random: systemd: uninitialized urandom read (16 bytes read, 30 bits of entropy available)
[Fri Sep  1 17:46:56 2017] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[Fri Sep  1 17:46:56 2017] systemd[1]: Detected architecture 'arm'.
[Fri Sep  1 17:46:56 2017] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[Fri Sep  1 17:46:56 2017] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Sep  1 17:46:56 2017] hub 1-1:1.0: USB hub found
[Fri Sep  1 17:46:56 2017] hub 1-1:1.0: 5 ports detected
[Fri Sep  1 17:46:56 2017] NET: Registered protocol family 10
[Fri Sep  1 17:46:56 2017] systemd[1]: Inserted module 'ipv6'
[Fri Sep  1 17:46:56 2017] systemd[1]: Set hostname to <raspberrypi>.
[Fri Sep  1 17:46:56 2017] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 61 bits of entropy available)
[Fri Sep  1 17:46:56 2017] random: systemd: uninitialized urandom read (16 bytes read, 68 bits of entropy available)
[Fri Sep  1 17:46:56 2017] random: systemd: uninitialized urandom read (16 bytes read, 68 bits of entropy available)
[Fri Sep  1 17:46:56 2017] random: systemd: uninitialized urandom read (16 bytes read, 68 bits of entropy available)
[Fri Sep  1 17:46:56 2017] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[Fri Sep  1 17:46:56 2017] random: systemd: uninitialized urandom read (16 bytes read, 69 bits of entropy available)
[Fri Sep  1 17:46:56 2017] random: systemd: uninitialized urandom read (16 bytes read, 69 bits of entropy available)
[Fri Sep  1 17:46:56 2017] random: systemd: uninitialized urandom read (16 bytes read, 69 bits of entropy available)
[Fri Sep  1 17:46:56 2017] random: systemd: uninitialized urandom read (16 bytes read, 69 bits of entropy available)
[Fri Sep  1 17:46:56 2017] random: systemd: uninitialized urandom read (16 bytes read, 69 bits of entropy available)
[Fri Sep  1 17:46:56 2017] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[Fri Sep  1 17:46:56 2017] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Sep  1 17:46:56 2017] smsc95xx v1.0.4
[Fri Sep  1 17:46:56 2017] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:dc:32:af
[Fri Sep  1 17:46:56 2017] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.
[Fri Sep  1 17:46:56 2017] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[Fri Sep  1 17:46:56 2017] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting Remote File Systems (Pre).
[Fri Sep  1 17:46:56 2017] systemd[1]: Reached target Remote File Systems (Pre).
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting Encrypted Volumes.
[Fri Sep  1 17:46:56 2017] systemd[1]: Reached target Encrypted Volumes.
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[Fri Sep  1 17:46:56 2017] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting Swap.
[Fri Sep  1 17:46:56 2017] systemd[1]: Reached target Swap.
[Fri Sep  1 17:46:56 2017] systemd[1]: Expecting device dev-mmcblk0p1.device...
[Fri Sep  1 17:46:56 2017] systemd[1]: Expecting device dev-disk-by\x2duuid-0AAD\x2d7929.device...
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting Root Slice.
[Fri Sep  1 17:46:56 2017] systemd[1]: Created slice Root Slice.
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting User and Session Slice.
[Fri Sep  1 17:46:56 2017] systemd[1]: Created slice User and Session Slice.
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[Fri Sep  1 17:46:56 2017] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting Delayed Shutdown Socket.
[Fri Sep  1 17:46:56 2017] systemd[1]: Listening on Delayed Shutdown Socket.
[Fri Sep  1 17:46:56 2017] systemd[1]: Starting Journal Socket (/dev/log).
[Fri Sep  1 17:46:57 2017] systemd[1]: Listening on Journal Socket (/dev/log).
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting udev Control Socket.
[Fri Sep  1 17:46:57 2017] systemd[1]: Listening on udev Control Socket.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting udev Kernel Socket.
[Fri Sep  1 17:46:57 2017] systemd[1]: Listening on udev Kernel Socket.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Journal Socket.
[Fri Sep  1 17:46:57 2017] systemd[1]: Listening on Journal Socket.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting System Slice.
[Fri Sep  1 17:46:57 2017] systemd[1]: Created slice System Slice.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting File System Check on Root Device...
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting system-systemd\x2dfsck.slice.
[Fri Sep  1 17:46:57 2017] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting system-getty.slice.
[Fri Sep  1 17:46:57 2017] systemd[1]: Created slice system-getty.slice.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Increase datagram queue length...
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Restore / save the current clock...
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Load Kernel Modules...
[Fri Sep  1 17:46:57 2017] systemd[1]: Mounting Debug File System...
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting udev Coldplug all Devices...
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[Fri Sep  1 17:46:57 2017] systemd[1]: Mounting POSIX Message Queue File System...
[Fri Sep  1 17:46:57 2017] systemd[1]: Started Set Up Additional Binary Formats.
[Fri Sep  1 17:46:57 2017] systemd[1]: Mounted Huge Pages File System.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Slices.
[Fri Sep  1 17:46:57 2017] systemd[1]: Reached target Slices.
[Fri Sep  1 17:46:57 2017] systemd[1]: Mounted POSIX Message Queue File System.
[Fri Sep  1 17:46:57 2017] systemd[1]: Mounted Debug File System.
[Fri Sep  1 17:46:57 2017] systemd[1]: Started Increase datagram queue length.
[Fri Sep  1 17:46:57 2017] systemd[1]: Started Load Kernel Modules.
[Fri Sep  1 17:46:57 2017] systemd[1]: Started Restore / save the current clock.
[Fri Sep  1 17:46:57 2017] systemd[1]: Started Create list of required static device nodes for the current kernel.
[Fri Sep  1 17:46:57 2017] systemd[1]: Started File System Check on Root Device.
[Fri Sep  1 17:46:57 2017] systemd[1]: Time has been changed
[Fri Sep  1 17:46:57 2017] systemd[1]: Started udev Coldplug all Devices.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Create Static Device Nodes in /dev...
[Fri Sep  1 17:46:57 2017] systemd[1]: Mounting Configuration File System...
[Fri Sep  1 17:46:57 2017] systemd[1]: Mounted FUSE Control File System.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Apply Kernel Variables...
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Syslog Socket.
[Fri Sep  1 17:46:57 2017] systemd[1]: Listening on Syslog Socket.
[Fri Sep  1 17:46:57 2017] systemd[1]: Starting Journal Service...
[Fri Sep  1 17:46:57 2017] systemd[1]: Started Journal Service.
[Fri Sep  1 17:46:57 2017] systemd-udevd[135]: starting version 215
[Fri Sep  1 17:46:58 2017] Driver for 1-wire Dallas network protocol.
[Fri Sep  1 17:46:58 2017] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[Fri Sep  1 17:46:58 2017] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[Fri Sep  1 17:46:58 2017] w1-gpio onewire@0: gpio pin 4, external pullup pin 5, parasitic power 0
[Fri Sep  1 17:46:58 2017] w1_add_master_device: set_pullup requires write_byte or touch_bit, disabling
[Fri Sep  1 17:46:58 2017] usbcore: registered new interface driver brcmfmac
[Fri Sep  1 17:46:58 2017] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[Fri Sep  1 17:46:58 2017] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[Fri Sep  1 17:46:58 2017] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[Fri Sep  1 17:46:58 2017] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[Fri Sep  1 17:46:58 2017] cfg80211: World regulatory domain updated:
[Fri Sep  1 17:46:58 2017] cfg80211:  DFS Master region: unset
[Fri Sep  1 17:46:58 2017] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[Fri Sep  1 17:46:58 2017] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[Fri Sep  1 17:46:58 2017] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[Fri Sep  1 17:46:58 2017] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[Fri Sep  1 17:46:58 2017] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[Fri Sep  1 17:46:58 2017] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[Fri Sep  1 17:46:58 2017] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[Fri Sep  1 17:46:58 2017] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[Fri Sep  1 17:46:58 2017] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[Fri Sep  1 17:46:59 2017] usb 1-1.5: new high-speed USB device number 4 using dwc_otg
[Fri Sep  1 17:46:59 2017] usb 1-1.5: New USB device found, idVendor=1307, idProduct=0163
[Fri Sep  1 17:46:59 2017] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fri Sep  1 17:46:59 2017] usb 1-1.5: Product: Intenso Rainbow Line
[Fri Sep  1 17:46:59 2017] usb 1-1.5: Manufacturer: Alcor Tech
[Fri Sep  1 17:46:59 2017] usb 1-1.5: SerialNumber: A8BD92E1
[Fri Sep  1 17:46:59 2017] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[Fri Sep  1 17:46:59 2017] scsi host0: usb-storage 1-1.5:1.0
[Fri Sep  1 17:47:00 2017] scsi 0:0:0:0: Direct-Access     Intenso  Rainbow Line     8.07 PQ: 0 ANSI: 4
[Fri Sep  1 17:47:00 2017] sd 0:0:0:0: [sda] 16154624 512-byte logical blocks: (8.27 GB/7.70 GiB)
[Fri Sep  1 17:47:00 2017] sd 0:0:0:0: [sda] Write Protect is off
[Fri Sep  1 17:47:00 2017] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[Fri Sep  1 17:47:00 2017] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[Fri Sep  1 17:47:00 2017]  sda: sda1
[Fri Sep  1 17:47:00 2017] sd 0:0:0:0: [sda] Attached SCSI removable disk
[Fri Sep  1 17:47:00 2017] sd 0:0:0:0: Attached scsi generic sg0 type 0
[Fri Sep  1 17:47:00 2017] random: nonblocking pool is initialized
[Fri Sep  1 17:47:00 2017] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[Fri Sep  1 17:47:01 2017] systemd-journald[133]: Received request to flush runtime journal from PID 1
[Fri Sep  1 17:47:01 2017] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[Fri Sep  1 17:47:01 2017] brcmfmac: brcmf_add_if: ignore IF event
[Fri Sep  1 17:47:01 2017] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[Fri Sep  1 17:47:01 2017] brcmfmac: power management disabled
[Fri Sep  1 17:47:01 2017] uart-pl011 3f201000.uart: no DMA platform data
[Fri Sep  1 17:47:01 2017] cfg80211: Regulatory domain changed to country: GB
[Fri Sep  1 17:47:01 2017] cfg80211:  DFS Master region: ETSI
[Fri Sep  1 17:47:01 2017] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[Fri Sep  1 17:47:01 2017] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[Fri Sep  1 17:47:01 2017] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[Fri Sep  1 17:47:01 2017] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[Fri Sep  1 17:47:01 2017] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[Fri Sep  1 17:47:01 2017] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[Fri Sep  1 17:47:02 2017] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:217084k SSFS
[Fri Sep  1 17:47:02 2017] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[Fri Sep  1 17:47:02 2017] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[Fri Sep  1 17:47:04 2017] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[Fri Sep  1 17:47:04 2017] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[Fri Sep  1 17:47:06 2017] Bluetooth: Core ver 2.21
[Fri Sep  1 17:47:06 2017] NET: Registered protocol family 31
[Fri Sep  1 17:47:06 2017] Bluetooth: HCI device and connection manager initialized
[Fri Sep  1 17:47:06 2017] Bluetooth: HCI socket layer initialized
[Fri Sep  1 17:47:06 2017] Bluetooth: L2CAP socket layer initialized
[Fri Sep  1 17:47:06 2017] Bluetooth: SCO socket layer initialized
[Fri Sep  1 17:47:06 2017] Bluetooth: HCI UART driver ver 2.3
[Fri Sep  1 17:47:06 2017] Bluetooth: HCI UART protocol H4 registered
[Fri Sep  1 17:47:06 2017] Bluetooth: HCI UART protocol Three-wire (H5) registered
[Fri Sep  1 17:47:06 2017] Bluetooth: HCI UART protocol BCM registered
[Fri Sep  1 17:47:06 2017] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[Fri Sep  1 17:47:06 2017] Bluetooth: BNEP filters: protocol multicast
[Fri Sep  1 17:47:06 2017] Bluetooth: BNEP socket layer initialized
[Fri Sep  1 17:57:04 2017] Bluetooth: RFCOMM TTY layer initialized
[Fri Sep  1 17:57:04 2017] Bluetooth: RFCOMM socket layer initialized
[Fri Sep  1 17:57:04 2017] Bluetooth: RFCOMM ver 1.11
pi@raspberrypi:~ $


amenomade

Nix im journalctl??? Ah ja, deine Zeitperiode ist wahscheinlich zu restriktiv...

Mach ein Versuch mit alexa-fhem Dienst, und mach dann
Zitatsudo journalctl --since 21:25 | more
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Byllyy

Ok, habe Alexa mit ./bin/alexa gestartet und eine Aktion problemlos ein uns aus geschaltet.


pi@raspberrypi:/opt/fhem/alexa-fhem $ sudo journalctl --since 21:25 | more
-- Logs begin at Sat 2017-09-02 01:32:40 CEST, end at Sat 2017-09-02 21:40:25 CEST. --
Sep 02 21:25:03 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 02 21:25:03 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 02 21:25:03 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 02 21:25:03 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 02 21:25:03 raspberrypi systemd[29324]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/alexa: No such process
Sep 02 21:25:03 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=217/USER
Sep 02 21:25:03 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 02 21:25:13 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 02 21:25:13 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 02 21:25:13 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 02 21:25:13 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 02 21:25:13 raspberrypi systemd[29328]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/alexa: No such process
Sep 02 21:25:13 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=217/USER
Sep 02 21:25:13 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 02 21:25:23 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 02 21:25:23 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 02 21:25:23 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 02 21:25:23 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 02 21:25:23 raspberrypi systemd[29330]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/alexa: No such process
Sep 02 21:25:23 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=217/USER
Sep 02 21:25:23 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 02 21:25:33 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 02 21:25:33 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 02 21:25:33 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 02 21:25:33 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 02 21:25:33 raspberrypi systemd[29332]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/alexa: No such process
Sep 02 21:25:33 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=217/USER
Sep 02 21:25:33 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 02 21:25:44 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 02 21:25:44 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 02 21:25:44 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 02 21:25:44 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 02 21:25:44 raspberrypi systemd[29335]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/alexa: No such process
Sep 02 21:25:44 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=217/USER
Sep 02 21:25:44 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 02 21:25:54 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 02 21:25:54 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 02 21:25:54 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 02 21:25:54 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 02 21:25:54 raspberrypi systemd[29339]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/alexa: No such process
Sep 02 21:25:54 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=217/USER
Sep 02 21:25:54 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 02 21:26:04 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 02 21:26:04 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 02 21:26:04 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 02 21:26:04 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 02 21:26:04 raspberrypi systemd[29341]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/alexa: No such process
Sep 02 21:26:04 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=217/USER
Sep 02 21:26:04 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 02 21:26:14 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 02 21:26:14 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 02 21:26:14 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 02 21:26:14 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 02 21:26:14 raspberrypi systemd[29343]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/alexa: No such process
Sep 02 21:26:14 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=217/USER
Sep 02 21:26:14 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 02 21:26:25 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 02 21:26:25 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 02 21:26:25 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 02 21:26:25 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 02 21:26:25 raspberrypi systemd[29348]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/alexa: No such process


Danke

amenomade

#3055
Jetzt bin ich verwirrt. Das mit ./bin/alexa war nur ein Test und hat funktioniert, richtig?
Dann hast Du alexa-fhem per Dienst neugestartet?
sudo systemctl stop alexa
sudo systemctl daemon-reload
sudo systemctl start alexa

?
Und das ist die Log danach?
EDIT: ne, kann nicht sein, da mein vorheriges Post schon um 21:26 geschrieben wurde.
Was mich interessiert, ist die log während des stop und start
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Byllyy

#3056
Sorry, da habe ich dich falsch verstanden. Also der manuelle Start und Test laufen einwandfrei.

nachem ich sudo systemctl stop alexa
sudo systemctl daemon-reload
sudo systemctl start alexa

starte,bekomme ich :

-- Logs begin at Sat 2017-09-02 15:24:35 CEST, end at Sun 2017-09-03 11:39:20 CEST. --
Sep 03 11:38:02 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 03 11:38:02 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 03 11:38:02 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 03 11:38:02 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 03 11:38:02 raspberrypi systemd[9966]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/
alexa: No such process
Sep 03 11:38:02 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=2
17/USER
Sep 03 11:38:02 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 03 11:38:13 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 03 11:38:13 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 03 11:38:13 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 03 11:38:13 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 03 11:38:13 raspberrypi systemd[9968]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/
alexa: No such process
Sep 03 11:38:13 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=2
17/USER
Sep 03 11:38:13 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 03 11:38:23 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 03 11:38:23 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 03 11:38:23 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 03 11:38:23 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 03 11:38:23 raspberrypi systemd[9970]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/
alexa: No such process
Sep 03 11:38:23 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=2
17/USER
Sep 03 11:38:23 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 03 11:38:33 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 03 11:38:33 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 03 11:38:33 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 03 11:38:33 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 03 11:38:33 raspberrypi systemd[9972]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin/
alexa: No such process
Sep 03 11:38:33 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=2
17/USER
Sep 03 11:38:33 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 03 11:38:38 raspberrypi sudo[9974]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/
systemctl stop alexa
Sep 03 11:38:38 raspberrypi sudo[9974]: pam_unix(sudo:session): session opened for user root by p
i(uid=0)
Sep 03 11:38:38 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 03 11:38:38 raspberrypi systemd[1]: Stopped Node.js Alexa Server.
Sep 03 11:38:38 raspberrypi sudo[9974]: pam_unix(sudo:session): session closed for user root
Sep 03 11:38:46 raspberrypi sudo[9983]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/
systemctl daemon-reload
Sep 03 11:38:46 raspberrypi sudo[9983]: pam_unix(sudo:session): session opened for user root by p
i(uid=0)
Sep 03 11:38:46 raspberrypi systemd[1]: Reloading.
Sep 03 11:38:46 raspberrypi sudo[9983]: pam_unix(sudo:session): session closed for user root
Sep 03 11:38:52 raspberrypi sudo[10004]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin
/systemctl start alexa
Sep 03 11:38:52 raspberrypi sudo[10004]: pam_unix(sudo:session): session opened for user root by
pi(uid=0)
Sep 03 11:38:52 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 03 11:38:52 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 03 11:38:52 raspberrypi systemd[10010]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin
/alexa: No such process
Sep 03 11:38:52 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=2
17/USER
Sep 03 11:38:52 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 03 11:38:52 raspberrypi sudo[10004]: pam_unix(sudo:session): session closed for user root
Sep 03 11:39:03 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 03 11:39:03 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 03 11:39:03 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 03 11:39:03 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 03 11:39:03 raspberrypi systemd[10015]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin
/alexa: No such process
Sep 03 11:39:03 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=2
17/USER
Sep 03 11:39:03 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 03 11:39:13 raspberrypi systemd[1]: alexa.service holdoff time over, scheduling restart.
Sep 03 11:39:13 raspberrypi systemd[1]: Stopping Node.js Alexa Server...
Sep 03 11:39:13 raspberrypi systemd[1]: Starting Node.js Alexa Server...
Sep 03 11:39:13 raspberrypi systemd[1]: Started Node.js Alexa Server.
Sep 03 11:39:13 raspberrypi systemd[10018]: Failed at step USER spawning /opt/fhem/alexa-fhem/bin
/alexa: No such process
Sep 03 11:39:13 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=2
17/USER
Sep 03 11:39:13 raspberrypi systemd[1]: Unit alexa.service entered failed state.
Sep 03 11:39:20 raspberrypi sudo[10020]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin
/journalctl --since 11:38
Sep 03 11:39:20 raspberrypi sudo[10020]: pam_unix(sudo:session): session opened for user root by
pi(uid=0)

amenomade

Jetzt verstehe ich etwas nicht. Er sollte viel mehr zeigen. Er kommt aber nicht zum Lesen des config.json. Irgendwelche Autorisierung fehlt, aber ich kann mir nicht vorstellen welche.

Versuch mal die Zertifikate (cert.pem und key.pm) und config.json in /home/pi/.alexa und in /opt/fhem/alexa-fhem, und in /opt/fhem/.alexa gleich zu haben.

Wenn das nicht hilft, versuch ein sudo chown -R pi:pi /opt/fhem/alexa-fhem/bin
sudo chown -R pi:pi /opt/fhem/alexa-fhem/lib
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Byllyy

Ich habe jetzt nochmal kontrolliert und in allen drei Verzeichnissen steht die selbe config.json und beide Zertifikate.
Fehler blieb.
Danach
sudo chown -R pi:pi /opt/fhem/alexa-fhem/bin
sudo chown -R pi:pi /opt/fhem/alexa-fhem/lib


Fehler bleibt und der Status sagt weiterhin:

pi@raspberrypi:/opt/fhem/alexa-fhem $ sudo systemctl status alexa
● alexa.service - Node.js Alexa Server
   Loaded: loaded (/etc/systemd/system/alexa.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since Sun 2017-09-03 13:19:09 CEST; 3s ago
  Process: 1216 ExecStart=/opt/fhem/alexa-fhem/bin/alexa --debug -U /home/pi/.alexa (code=exited, status=217/USER)
Main PID: 1216 (code=exited, status=217/USER)

Sep 03 13:19:09 raspberrypi systemd[1]: alexa.service: main process exited, code=exited, status=217/USER
Sep 03 13:19:09 raspberrypi systemd[1]: Unit alexa.service entered failed state.


Hast Du noch eine Idee?
Danke

amenomade

Jetzt komme ich langsam am Ende meines Lateins...
Lass mich mal noch alles wieder in Ruhe heute Abend durchlesen, vielleicht fällt mir noch etwas ein.
ZitatIch habe jetzt nochmal kontrolliert und in allen drei Verzeichnissen steht die selbe config.json und beide Zertifikate.
Du hattest aber früher nur config.json in /opt/fhem/.alexa
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus