Ankündigung

Einklappen
Keine Ankündigung bisher.

Featurewunsch: EnOcean plugin

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Hallo Niko,

    kannst du vielleicht kurz dein Setup beschreiben?

    Welche Hardware zur Enocean Kommunikation hast du verwendet?
    Eventuell könntest du sogar ein Bild vom eingebauten Fenstergriff hochladen, das wäre echt super.
    Vielleicht wäre das auch etwas für's Wiki, ich denke das könnte noch mehr Leute interessieren.

    Gruß

    Kommentar


      Kann ich gerne machen. Ich verwende folgenden USB Stick:

      http://www.amazon.de/dp/B0063VOWEU/r...nocean+usb+300

      und einen Hoppe SecuSignal Fenstergriff von hier:

      https://www.sicher24.de/product/3855...ecusignal.html

      Fenstergriff einbauen und USB Stick anschließen. Der Stick hat sich bei mir unter /dev/ttyUSB1 gemeldet. Das sieht man ganz leicht wenn man "dmesg" auf der Linux Konsole eingibt.

      Anschließend konfiguriert man das Plugin in der plugin.conf (Achtung, das Plugin gibt es bisher nur im develop Branch, nicht im master):

      Code:
       [enocean]
            class_name = EnOcean
            class_path = plugins.enocean
            serialport = /dev/ttyUSB1
      Ich musste bei mir noch per

      Code:
      sudo chmod 777 /dev/ttyUSB1
      dem smarthome User die Rechte an dem Gerät einräumen, sonst bekommt man einen Permission Denied Fehler. Startet man smarthome.py ohnehin als root ist das nicht notwendig.

      Nun smarthome.py mit -i im interaktiven Modus starten und den Fenstergriff ein paar mal bewegen. Dann bekommt man auf der Konsole die ID des Fenstergriffs. Diese ID kopiert man und legt folgenden Eintrag in einer Item Konfiguration ab:

      Code:
                   [[[[handle]]]]
                        enocean_rx_id = << die ID die man sich vorher kopiert hat >>
                        enocean_rx_eep = F6_10_00
                        [[[[[status]]]]]
                            type = bool
                            enocean_rx_key = STATUS
      Die eckigen Klammern muss man natürlich entschprechend des Levels in seiner Item Konfigurationsdatei anpassen.

      Wenn man einen normalen Hoppe Fenstergriff hat, dann sollte man statt type = bool eher type = num wählen, da dieser mehr Zustände haben kann. Der für Hebe- Schiebetüren hat nur zwei und daher geht auch bool. smarthome.py anschließend normal neustarten und es sollte funktionieren.

      Und hier noch die Bilder. Ich habe bisher erst einen getauscht, da ich erstmal abwarten wollte, ob das ganze auch wie gewünscht funktioniert: IMG_1010.JPG
      Angehängte Dateien
      Zuletzt geändert von 2ndsky; 24.04.2015, 15:39.
      Mit freundlichen Grüßen
      Niko Will

      Logiken und Schnittstelle zu anderen Systemen: smarthome.py - Visualisierung: smartVISU
      - Gira TS3 - iPhone & iPad - Mobotix T24 - ekey - Denon 2313 - Russound C5 (RIO over TCP Plugin) -

      Kommentar


        Hallo Niko,

        super, vielen Dank für die Infos und das Bild.



        Gruß,
        Henning

        Kommentar


          Hi Enocean-Nutzer,

          ich habe soeben ein Update des Plugins gepusht: https://github.com/mknx/smarthome/co...5e4abd0ec64217

          Neu ist ein Sequencing für die Rocker (Push-Buttons / Schalter), z.B. PTM210 oder alles was als Wandschalter verkauft wird:

          Code:
              [[rocker]]
                  enocean_rx_id = 0029894A
                  enocean_rx_eep = F6_02_01
                  [[[short_800ms_directly_to_knx]]]
                      type = bool
                      enocean_rx_key = AI
                      enocean_rocker_action = toggle
                      enocean_rocker_sequence = released within 0.8
                      knx_dpt = 1
                      knx_send = 3/0/60
                  [[long_800ms_directly_to_knx]]
                      type = bool
                      enocean_rx_key = AI
                      enocean_rocker_action = toggle
                      enocean_rocker_sequence = released after 0.8
                      knx_dpt = 1
                      knx_send = 3/0/61
                  [[rocker_double_800ms_to_knx_send_1]]
                      type = bool
                      enforce_updates = true
                      enocean_rx_key = AI
                      enocean_rocker_action = set
                      enocean_rocker_sequence = released within 0.4, pressed within 0.4
                      knx_dpt = 1
                      knx_send = 3/0/62
          • short_800ms_directly_to_knx - wird der Taster innerhalb von 800ms losgelassen wird das Item UMGESCHALTET (also kurzer Tastendruck => Lampen an/aus) - direkt mit beispielhaften KNX-Binding zum direkten Ansteuern eines Schaltaktors!
          • long_800ms_directly_to_knx - wird der Taster nach 800ms losgelassen wird das Item umgeschaltet (z.B. langer Tastendruck => Präsenzmelder an/aus) - direkt mit beispielhaften KNX-Binding zum direkten Ansteuern eines Schaltaktors!
          • rocker_double_800ms_to_knx_send_1 - wird der Taster innerhalb von 400ms losgelassen und dann innerhalb von 400ms nochmals gedrückt ("Doppelklick") wird das Item gesetzt - stiller Alarm oder sonst was...

          Logischerweise sind nicht alle Bedienkombinationen sinnvoll: Kurzer Tastendruck beißt sich mit Doppelten Tastendruck (der kurze würde bei obiger Konfiguation bei einem doppeltem auch immer ausgelöst) - dies wäre aber auch bei KNX & Co der Fall.

          Man kann damit natürlich auch morsen:

          enocean_rocker_sequence = released after 0.8, pressed within 0.4, released within 0.4, pressed within 0.4, released after 0.8, pressed within 0.4, released after 0.8, pressed within 0.4, released within 0.4, pressed within 0.4, released after 0.8, pressed within 0.4, released within 0.4, pressed within 0.4, released within 0.4, pressed within 0.4, released after 0.8

          Na, wer kann das lösen/lesen?

          Viele Grüße
          Robert
          Zuletzt geändert von Robert; 26.04.2015, 10:32.
          HM-KNX - KNX-Interface für Hörmann Garagentorantriebe: http://www.ing-budde.de

          Kommentar


            Hallo Robert,
            sehr schönes neues Feature. Funktioniert bestens!
            Danke und besten Gruß
            Alex

            Kommentar


              Hallo Robert,

              lässt sich damit auch dieser Dimmer anbinden? http://bilton.at/de/product-category...d-dimmer-steel

              Notfalls schreibe ich auch Code, aber eigentlich bin ich auch so hinreichend mit Arbeit eingedeckt...

              Gruß,

              Max

              Kommentar


                Hallol0wside,
                Was hat der Dimmer den für ein EnOcean Equipment Profiles (EEP)?

                Gruß

                Marco

                Kommentar


                  Habe noch ein bisschen weiter recherchiert und das hier gefunden: http://homematic-forum.de/forum/down...5587&mode=view

                  Ich werde mir wohl das Material besorgen und dann mal experimentieren. Etwas Sorge macht mir die Aussage, dass die Funkreichweite eher bescheiden sei (http://homematic-forum.de/forum/view...art=10#p165378) - ich muss durch eine Decke und zwei Türen durch. Ich lasse mich überraschen.

                  Max

                  Kommentar


                    Hallo Jens,

                    hab auch FAM14 und FUD14 im Einsatz.
                    Könntest Du deine Item Konfiguration posten?

                    Gruß
                    Klaus


                    Zitat von kuala Beitrag anzeigen
                    Funktioniert echt klasse. Hab dies mit einem FAM14 und 2 FUD14 ausprobiert.

                    Kommentar


                      Hallo Klaus

                      Anbei die ITEMS Configuration.
                      Die FUD enocean_rx_id = FXX75001 setzt sich aus der FAM14 ID FXX75000 und der Reihenfolge der eingelernen Aktoren/Sensoren.
                      Dies kannst du ja über die Eltako PCT14 sehen.

                      [FAM14]
                      [[Zimmer1]]
                      name = Zimmer1
                      sv_page = room
                      sv_img = scene_childs_room.png
                      [[[licht1_dimmer]]]
                      enocean_rx_id = FXX75001
                      enocean_rx_eep = A5_11_04
                      enforce_updates = true
                      [[[[light]]]]
                      type = bool
                      enocean_rx_key = STAT
                      visu_acl = rw
                      enforce_updates = true
                      enocean_tx_eep = A5_38_08_02
                      enocean_tx_id_offset = 1
                      knx_dpt = 1
                      knx_send = 21/1/2
                      knx_listen = 21/1/1
                      [[[[[level]]]]]
                      type = num
                      knx_dpt = 5001
                      knx_send = 21/1/4
                      knx_listen = 21/1/3
                      value = -1
                      enocean_rx_key = D
                      visu_acl = rw
                      enforce_updates = true
                      enocean_tx_eep = A5_38_08_03
                      enocean_tx_id_offset = 1
                      ref_level = 80 #optional: defines the dimmer value if light item is switched on. If not specified, maximum dim 100 is assumed.

                      [[[licht2_dimmer]]]
                      enocean_rx_id = FXX75002
                      enocean_rx_eep = A5_11_04
                      enforce_updates = true
                      [[[[light]]]]
                      type = bool
                      enocean_rx_key = STAT
                      visu_acl = rw
                      enforce_updates = true
                      enocean_tx_eep = A5_38_08_02
                      enocean_tx_id_offset = 2
                      knx_dpt = 1
                      knx_send = 19/1/2
                      knx_listen = 19/1/1
                      [[[[[level]]]]]
                      type = num
                      knx_dpt = 5001
                      knx_send = 19/1/4
                      knx_listen = 19/1/3
                      value = -1
                      enocean_rx_key = D
                      visu_acl = rw
                      enforce_updates = true
                      enocean_tx_eep = A5_38_08_03
                      enocean_tx_id_offset = 2
                      ref_level = 80

                      Hoffe ich kann dir damit weiterhelfen.

                      Gruß
                      Jens

                      Kommentar


                        Hi Jens,

                        danke. Teste ich gleich heute Abend.

                        Gruß
                        Klaus

                        Kommentar


                          Hallo alle miteinander!

                          Ich hab nun endlich meinen enocean USB-Stick erhalten. (BSC EnOcean USB 300 USB-Gateway 868MHz / TCM310 )
                          Jedoch scheitere ich bereits bei der Inbetriebnahme des Sticks.

                          Da ich das Raspi- Image nutze, und hier das plugin nicht enthalten ist, hab ich mir von github die Dateien kopiert. Ich hoffe, es ist so überhaupt möglich, das plugin zu nutzen.

                          Vorgehensweise:

                          1. Stick angesteckt
                          2. mit "dmesg" versucht rauszufinden, wo er sich angemeldet hat
                          Code:
                          /usr/smarthome/etc$ dmesg
                          [    0.000000] Booting Linux on physical CPU 0x0
                          [    0.000000] Initializing cgroup subsys cpu
                          [    0.000000] Initializing cgroup subsys cpuacct
                          [    0.000000] Linux version 3.18.3+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #740 PREEMPT Wed Jan 21 23:55:56 GMT 2015
                          [    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
                          [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
                          [    0.000000] Machine: BCM2708
                          [    0.000000] cma: Reserved 8 MiB at 0x07800000
                          [    0.000000] Memory policy: Data cache writeback
                          [    0.000000] On node 0 totalpages: 32768
                          [    0.000000] free_area_init_node: node 0, pgdat c084d7bc, node_mem_map c76f4000
                          [    0.000000]   Normal zone: 256 pages used for memmap
                          [    0.000000]   Normal zone: 0 pages reserved
                          [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
                          [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
                          [    0.000000] pcpu-alloc: [0] 0 
                          [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
                          [    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708.boardrev=0x10 bcm2708.serial=0xf6aa659e smsc95xx.macaddr=B8:27:EB:AA:65:9E bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47 bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0xec00000 vc_mem.mem_size=0x10000000  dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
                          [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
                          [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
                          [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
                          [    0.000000] Memory: 112416K/131072K available (5926K kernel code, 358K rwdata, 1872K rodata, 344K init, 734K bss, 18656K reserved)
                          [    0.000000] Virtual kernel memory layout:
                          [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                          [    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
                          [    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
                          [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
                          [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
                          [    0.000000]       .text : 0xc0008000 - 0xc07a5b14   (7799 kB)
                          [    0.000000]       .init : 0xc07a6000 - 0xc07fc000   ( 344 kB)
                          [    0.000000]       .data : 0xc07fc000 - 0xc085584c   ( 359 kB)
                          [    0.000000]        .bss : 0xc085584c - 0xc090d0e8   ( 735 kB)
                          [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
                          [    0.000000] Preemptible hierarchical RCU implementation.
                          [    0.000000] NR_IRQS:522
                          [    0.000024] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
                          [    0.000073] Switching to timer-based delay loop, resolution 1000ns
                          [    0.000361] Console: colour dummy device 80x30
                          [    0.001425] console [tty1] enabled
                          [    0.001470] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
                          [    0.001542] pid_max: default: 32768 minimum: 301
                          [    0.001910] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
                          [    0.001975] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
                          [    0.002967] Initializing cgroup subsys memory
                          [    0.003059] Initializing cgroup subsys devices
                          [    0.003119] Initializing cgroup subsys freezer
                          [    0.003172] Initializing cgroup subsys net_cls
                          [    0.003223] Initializing cgroup subsys blkio
                          [    0.003347] CPU: Testing write buffer coherency: ok
                          [    0.003468] ftrace: allocating 19484 entries in 58 pages
                          [    0.108347] Setting up static identity map for 0x55ceb8 - 0x55cf14
                          [    0.111191] devtmpfs: initialized
                          [    0.128694] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
                          [    0.131877] pinctrl core: initialized pinctrl subsystem
                          [    0.132823] NET: Registered protocol family 16
                          [    0.138274] DMA: preallocated 4096 KiB pool for atomic coherent allocations
                          [    0.168122] cpuidle: using governor ladder
                          [    0.198179] cpuidle: using governor menu
                          [    0.198660] bcm2708.uart_clock = 3000000
                          [    0.198732] of_platform_populate failed: -22
                          [    0.201904] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
                          [    0.201969] hw-breakpoint: maximum watchpoint size is 4 bytes.
                          [    0.202036] mailbox: Broadcom VideoCore Mailbox driver
                          [    0.202206] bcm2708_vcio: mailbox at f200b880
                          [    0.202365] bcm_power: Broadcom power driver
                          [    0.202413] bcm_power_open() -> 0
                          [    0.202442] bcm_power_request(0, 8)
                          [    0.703193] bcm_mailbox_read -> 00000080, 0
                          [    0.703242] bcm_power_request -> 0
                          [    0.703441] Serial: AMBA PL011 UART driver
                          [    0.703681] uart-pl011 dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
                          [    0.771743] SCSI subsystem initialized
                          [    0.772105] usbcore: registered new interface driver usbfs
                          [    0.772288] usbcore: registered new interface driver hub
                          [    0.772496] usbcore: registered new device driver usb
                          [    0.774489] Switched to clocksource stc
                          [    0.804171] FS-Cache: Loaded
                          [    0.804739] CacheFiles: Loaded
                          [    0.821644] NET: Registered protocol family 2
                          [    0.823122] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
                          [    0.823218] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
                          [    0.823283] TCP: Hash tables configured (established 1024 bind 1024)
                          [    0.823397] TCP: reno registered
                          [    0.823445] UDP hash table entries: 256 (order: 0, 4096 bytes)
                          [    0.823508] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
                          [    0.823914] NET: Registered protocol family 1
                          [    0.824739] RPC: Registered named UNIX socket transport module.
                          [    0.824808] RPC: Registered udp transport module.
                          [    0.824840] RPC: Registered tcp transport module.
                          [    0.824869] RPC: Registered tcp NFSv4.1 backchannel transport module.
                          [    0.826031] bcm2708_dma: DMA manager at f2007000
                          [    0.826254] bcm2708_gpio: bcm2708_gpio_probe c080ad30
                          [    0.826894] vc-mem: phys_addr:0x00000000 mem_base=0x0ec00000 mem_size:0x10000000(256 MiB)
                          [    0.828581] futex hash table entries: 256 (order: -1, 3072 bytes)
                          [    0.828773] audit: initializing netlink subsys (disabled)
                          [    0.828906] audit: type=2000 audit(0.750:1): initialized
                          [    0.844995] VFS: Disk quotas dquot_6.5.2
                          [    0.845464] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
                          [    0.848326] FS-Cache: Netfs 'nfs' registered for caching
                          [    0.850133] NFS: Registering the id_resolver key type
                          [    0.850268] Key type id_resolver registered
                          [    0.850309] Key type id_legacy registered
                          [    0.851718] msgmni has been set to 235
                          [    0.855004] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
                          [    0.855512] io scheduler noop registered
                          [    0.855582] io scheduler deadline registered (default)
                          [    0.856059] io scheduler cfq registered
                          [    0.857827] BCM2708FB: allocated DMA memory 47c00000
                          [    0.857937] BCM2708FB: allocated DMA channel 0 @ f2007000
                          [    0.883472] Console: switching to colour frame buffer device 228x61
                          [    0.903058] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
                          [    0.903740] uart-pl011 dev:f1: no DMA platform data
                          [    0.904913] vc-cma: Videocore CMA driver
                          [    0.905067] vc-cma: vc_cma_base      = 0x00000000
                          [    0.905193] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
                          [    0.905325] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
                          [    0.919905] brd: module loaded
                          [    0.927971] loop: module loaded
                          [    0.928649] vchiq: vchiq_init_state: slot_zero = 0xc7800000, is_master = 0
                          [    0.930096] Loading iSCSI transport class v2.0-870.
                          [    0.931707] usbcore: registered new interface driver smsc95xx
                          [    0.932027] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
                          [    1.132466] Core Release: 2.80a
                          [    1.132626] Setting default values for core params
                          [    1.132786] Finished setting default values for core params
                          [    1.333101] Using Buffer DMA mode
                          [    1.333222] Periodic Transfer Interrupt Enhancement - disabled
                          [    1.333361] Multiprocessor Interrupt Enhancement - disabled
                          [    1.333493] OTG VER PARAM: 0, OTG VER FLAG: 0
                          [    1.333608] Dedicated Tx FIFOs mode
                          [    1.334101] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xc7c14000 dma = 0x47c14000 len=9024
                          [    1.334348] FIQ FSM acceleration enabled for :
                          [    1.334348] Non-periodic Split Transactions
                          [    1.334348] Periodic Split Transactions
                          [    1.334348] High-Speed Isochronous Endpoints
                          [    1.334770] dwc_otg: Microframe scheduler enabled
                          [    1.334860] WARN::hcd_init:473: FIQ at 0xc0403070
                          [    1.340160] WARN::hcd_init:474: FIQ ASM at 0xc0403348 length 36
                          [    1.345414] WARN::hcd_init:500: MPHI regs_base at 0xc8806000
                          [    1.350488] dwc_otg bcm2708_usb: DWC OTG Controller
                          [    1.355676] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
                          [    1.360960] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
                          [    1.366210] Init: Port Power? op_state=1
                          [    1.371296] Init: Power Port (0)
                          [    1.376960] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
                          [    1.382286] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
                          [    1.387450] usb usb1: Product: DWC OTG Controller
                          [    1.392683] usb usb1: Manufacturer: Linux 3.18.3+ dwc_otg_hcd
                          [    1.397900] usb usb1: SerialNumber: bcm2708_usb
                          [    1.404146] hub 1-0:1.0: USB hub found
                          [    1.409659] hub 1-0:1.0: 1 port detected
                          [    1.415700] dwc_otg: FIQ enabled
                          [    1.415726] dwc_otg: NAK holdoff enabled
                          [    1.415739] dwc_otg: FIQ split-transaction FSM enabled
                          [    1.415800] Module dwc_common_port init
                          [    1.416376] usbcore: registered new interface driver usb-storage
                          [    1.422052] mousedev: PS/2 mouse device common for all mice
                          [    1.428490] bcm2835-cpufreq: min=700000 max=700000
                          [    1.434004] sdhci: Secure Digital Host Controller Interface driver
                          [    1.439290] sdhci: Copyright(c) Pierre Ossman
                          [    1.444834] DMA channels allocated for the MMC driver
                          [    1.484566] Load BCM2835 MMC driver
                          [    1.495253] sdhci-pltfm: SDHCI platform and OF driver helper
                          [    1.500947] ledtrig-cpu: registered to indicate activity on CPUs
                          [    1.507754] hidraw: raw HID events driver (C) Jiri Kosina
                          [    1.519107] usbcore: registered new interface driver usbhid
                          [    1.524367] usbhid: USB HID core driver
                          [    1.532177] TCP: cubic registered
                          [    1.539431] Initializing XFRM netlink socket
                          [    1.545876] NET: Registered protocol family 17
                          [    1.552286] Key type dns_resolver registered
                          [    1.563134] registered taskstats version 1
                          [    1.568560] vc-sm: Videocore shared memory driver
                          [    1.573666] [vc_sm_connected_init]: start
                          [    1.580231] [vc_sm_connected_init]: end - returning 0
                          [    1.587251] Waiting for root device /dev/mmcblk0p2...
                          [    1.602293] mmc0: host does not support reading read-only switch, assuming write-enable
                          [    1.610580] mmc0: new high speed SDHC card at address aaaa
                          [    1.616181] Indeed it is in host mode hprt0 = 00021501
                          [    1.625424] mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
                          [    1.640320]  mmcblk0: p1 p2
                          [    1.719058] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                          [    1.724857] VFS: Mounted root (ext4 filesystem) on device 179:2.
                          [    1.735493] devtmpfs: mounted
                          [    1.742183] Freeing unused kernel memory: 344K (c07a6000 - c07fc000)
                          [    1.804769] usb 1-1: new high-speed USB device number 2 using dwc_otg
                          [    1.810529] Indeed it is in host mode hprt0 = 00001101
                          [    2.025220] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
                          [    2.031217] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
                          [    2.041907] hub 1-1:1.0: USB hub found
                          [    2.050359] hub 1-1:1.0: 5 ports detected
                          [    2.344923] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
                          [    2.445196] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
                          [    2.450616] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
                          [    2.469862] smsc95xx v1.0.4
                          [    2.542330] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:aa:65:9e
                          [    2.634824] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
                          [    2.773815] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001
                          [    2.782603] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                          [    2.789931] usb 1-1.4: Product: EnOcean USB 300 DB
                          [    2.802943] usb 1-1.4: Manufacturer: EnOcean GmbH
                          [    2.814735] usb 1-1.4: SerialNumber: FTZ7F2FP
                          [    3.515004] udevd[161]: starting version 175
                          [    7.758103] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                          [    8.250048] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                          [    8.935577] random: nonblocking pool is initialized
                          [   17.828157] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
                          [   19.344753] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
                          3. in der plugin.conf folgendes eingetragen
                          Code:
                          [enocean]
                                class_name = EnOcean
                                class_path = plugins.enocean
                                serialport = /dev/tty4
                          4. sh neu gestartet. Mit dieser Fehlermeldung:
                          Code:
                          2016-01-05 18:18:22,823 DEBUG    Main         Plugin: enocean -- plugin.py:__init__:43
                          2016-01-05 18:18:22,938 WARNING  Main         enocean: No valid enocean stick ID configured. Transmitting is not supported -- __init__.py:__init__:100
                          2016-01-05 18:18:22,946 INFO     Main         enocean: eep-parser instantiated -- eep_parser.py:__init__:8
                          Kann mir bitte jemand auf die Sprünge helfen und kurz erklären, wie ich den Stick richtig installiere?
                          Vielen Dank!!

                          Max


                          Kommentar


                            Hier ist alles beschrieben: https://github.com/mknx/smarthome/tr...lugins/enocean

                            Gruß

                            Kommentar


                              Danke, aber das hab ich schon zigmal gelesen. Ich denke, ich hab den falschen Pfad für den Stick. Nur weiß ich leider nicht, wie ich den ermitteln kann.
                              Aus diesem Code vom vorigen Post (dmesg) werd ich einfach nicht schlau...
                              Code:
                              /usr/smarthome/etc$ dmesg
                              [    0.000000] Booting Linux on physical CPU 0x0
                              [    0.000000] Initializing cgroup subsys cpu
                              [    0.000000] Initializing cgroup subsys cpuacct
                              [    0.000000] Linux version 3.18.3+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #740 PREEMPT Wed Jan 21 23:55:56 GMT 2015
                              [    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
                              [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
                              [    0.000000] Machine: BCM2708
                              [    0.000000] cma: Reserved 8 MiB at 0x07800000
                              [    0.000000] Memory policy: Data cache writeback
                              [    0.000000] On node 0 totalpages: 32768
                              [    0.000000] free_area_init_node: node 0, pgdat c084d7bc, node_mem_map c76f4000
                              [    0.000000]   Normal zone: 256 pages used for memmap
                              [    0.000000]   Normal zone: 0 pages reserved
                              [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
                              [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
                              [    0.000000] pcpu-alloc: [0] 0
                              [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
                              [    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708.boardrev=0x10 bcm2708.serial=0xf6aa659e smsc95xx.macaddr=B8:27:EB:AA:65:9E bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47 bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0xec00000 vc_mem.mem_size=0x10000000  dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
                              [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
                              [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
                              [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
                              [    0.000000] Memory: 112416K/131072K available (5926K kernel code, 358K rwdata, 1872K rodata, 344K init, 734K bss, 18656K reserved)
                              [    0.000000] Virtual kernel memory layout:
                              [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                              [    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
                              [    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
                              [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
                              [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
                              [    0.000000]       .text : 0xc0008000 - 0xc07a5b14   (7799 kB)
                              [    0.000000]       .init : 0xc07a6000 - 0xc07fc000   ( 344 kB)
                              [    0.000000]       .data : 0xc07fc000 - 0xc085584c   ( 359 kB)
                              [    0.000000]        .bss : 0xc085584c - 0xc090d0e8   ( 735 kB)
                              [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
                              [    0.000000] Preemptible hierarchical RCU implementation.
                              [    0.000000] NR_IRQS:522
                              [    0.000024] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
                              [    0.000073] Switching to timer-based delay loop, resolution 1000ns
                              [    0.000361] Console: colour dummy device 80x30
                              [    0.001425] console [tty1] enabled
                              [    0.001470] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
                              [    0.001542] pid_max: default: 32768 minimum: 301
                              [    0.001910] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
                              [    0.001975] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
                              [    0.002967] Initializing cgroup subsys memory
                              [    0.003059] Initializing cgroup subsys devices
                              [    0.003119] Initializing cgroup subsys freezer
                              [    0.003172] Initializing cgroup subsys net_cls
                              [    0.003223] Initializing cgroup subsys blkio
                              [    0.003347] CPU: Testing write buffer coherency: ok
                              [    0.003468] ftrace: allocating 19484 entries in 58 pages
                              [    0.108347] Setting up static identity map for 0x55ceb8 - 0x55cf14
                              [    0.111191] devtmpfs: initialized
                              [    0.128694] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
                              [    0.131877] pinctrl core: initialized pinctrl subsystem
                              [    0.132823] NET: Registered protocol family 16
                              [    0.138274] DMA: preallocated 4096 KiB pool for atomic coherent allocations
                              [    0.168122] cpuidle: using governor ladder
                              [    0.198179] cpuidle: using governor menu
                              [    0.198660] bcm2708.uart_clock = 3000000
                              [    0.198732] of_platform_populate failed: -22
                              [    0.201904] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
                              [    0.201969] hw-breakpoint: maximum watchpoint size is 4 bytes.
                              [    0.202036] mailbox: Broadcom VideoCore Mailbox driver
                              [    0.202206] bcm2708_vcio: mailbox at f200b880
                              [    0.202365] bcm_power: Broadcom power driver
                              [    0.202413] bcm_power_open() -> 0
                              [    0.202442] bcm_power_request(0, 8)
                              [    0.703193] bcm_mailbox_read -> 00000080, 0
                              [    0.703242] bcm_power_request -> 0
                              [    0.703441] Serial: AMBA PL011 UART driver
                              [    0.703681] uart-pl011 dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
                              [    0.771743] SCSI subsystem initialized
                              [    0.772105] usbcore: registered new interface driver usbfs
                              [    0.772288] usbcore: registered new interface driver hub
                              [    0.772496] usbcore: registered new device driver usb
                              [    0.774489] Switched to clocksource stc
                              [    0.804171] FS-Cache: Loaded
                              [    0.804739] CacheFiles: Loaded
                              [    0.821644] NET: Registered protocol family 2
                              [    0.823122] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
                              [    0.823218] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
                              [    0.823283] TCP: Hash tables configured (established 1024 bind 1024)
                              [    0.823397] TCP: reno registered
                              [    0.823445] UDP hash table entries: 256 (order: 0, 4096 bytes)
                              [    0.823508] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
                              [    0.823914] NET: Registered protocol family 1
                              [    0.824739] RPC: Registered named UNIX socket transport module.
                              [    0.824808] RPC: Registered udp transport module.
                              [    0.824840] RPC: Registered tcp transport module.
                              [    0.824869] RPC: Registered tcp NFSv4.1 backchannel transport module.
                              [    0.826031] bcm2708_dma: DMA manager at f2007000
                              [    0.826254] bcm2708_gpio: bcm2708_gpio_probe c080ad30
                              [    0.826894] vc-mem: phys_addr:0x00000000 mem_base=0x0ec00000 mem_size:0x10000000(256 MiB)
                              [    0.828581] futex hash table entries: 256 (order: -1, 3072 bytes)
                              [    0.828773] audit: initializing netlink subsys (disabled)
                              [    0.828906] audit: type=2000 audit(0.750:1): initialized
                              [    0.844995] VFS: Disk quotas dquot_6.5.2
                              [    0.845464] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
                              [    0.848326] FS-Cache: Netfs 'nfs' registered for caching
                              [    0.850133] NFS: Registering the id_resolver key type
                              [    0.850268] Key type id_resolver registered
                              [    0.850309] Key type id_legacy registered
                              [    0.851718] msgmni has been set to 235
                              [    0.855004] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
                              [    0.855512] io scheduler noop registered
                              [    0.855582] io scheduler deadline registered (default)
                              [    0.856059] io scheduler cfq registered
                              [    0.857827] BCM2708FB: allocated DMA memory 47c00000
                              [    0.857937] BCM2708FB: allocated DMA channel 0 @ f2007000
                              [    0.883472] Console: switching to colour frame buffer device 228x61
                              [    0.903058] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
                              [    0.903740] uart-pl011 dev:f1: no DMA platform data
                              [    0.904913] vc-cma: Videocore CMA driver
                              [    0.905067] vc-cma: vc_cma_base      = 0x00000000
                              [    0.905193] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
                              [    0.905325] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
                              [    0.919905] brd: module loaded
                              [    0.927971] loop: module loaded
                              [    0.928649] vchiq: vchiq_init_state: slot_zero = 0xc7800000, is_master = 0
                              [    0.930096] Loading iSCSI transport class v2.0-870.
                              [    0.931707] usbcore: registered new interface driver smsc95xx
                              [    0.932027] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
                              [    1.132466] Core Release: 2.80a
                              [    1.132626] Setting default values for core params
                              [    1.132786] Finished setting default values for core params
                              [    1.333101] Using Buffer DMA mode
                              [    1.333222] Periodic Transfer Interrupt Enhancement - disabled
                              [    1.333361] Multiprocessor Interrupt Enhancement - disabled
                              [    1.333493] OTG VER PARAM: 0, OTG VER FLAG: 0
                              [    1.333608] Dedicated Tx FIFOs mode
                              [    1.334101] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xc7c14000 dma = 0x47c14000 len=9024
                              [    1.334348] FIQ FSM acceleration enabled for :
                              [    1.334348] Non-periodic Split Transactions
                              [    1.334348] Periodic Split Transactions
                              [    1.334348] High-Speed Isochronous Endpoints
                              [    1.334770] dwc_otg: Microframe scheduler enabled
                              [    1.334860] WARN::hcd_init:473: FIQ at 0xc0403070
                              [    1.340160] WARN::hcd_init:474: FIQ ASM at 0xc0403348 length 36
                              [    1.345414] WARN::hcd_init:500: MPHI regs_base at 0xc8806000
                              [    1.350488] dwc_otg bcm2708_usb: DWC OTG Controller
                              [    1.355676] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
                              [    1.360960] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
                              [    1.366210] Init: Port Power? op_state=1
                              [    1.371296] Init: Power Port (0)
                              [    1.376960] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
                              [    1.382286] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
                              [    1.387450] usb usb1: Product: DWC OTG Controller
                              [    1.392683] usb usb1: Manufacturer: Linux 3.18.3+ dwc_otg_hcd
                              [    1.397900] usb usb1: SerialNumber: bcm2708_usb
                              [    1.404146] hub 1-0:1.0: USB hub found
                              [    1.409659] hub 1-0:1.0: 1 port detected
                              [    1.415700] dwc_otg: FIQ enabled
                              [    1.415726] dwc_otg: NAK holdoff enabled
                              [    1.415739] dwc_otg: FIQ split-transaction FSM enabled
                              [    1.415800] Module dwc_common_port init
                              [    1.416376] usbcore: registered new interface driver usb-storage
                              [    1.422052] mousedev: PS/2 mouse device common for all mice
                              [    1.428490] bcm2835-cpufreq: min=700000 max=700000
                              [    1.434004] sdhci: Secure Digital Host Controller Interface driver
                              [    1.439290] sdhci: Copyright(c) Pierre Ossman
                              [    1.444834] DMA channels allocated for the MMC driver
                              [    1.484566] Load BCM2835 MMC driver
                              [    1.495253] sdhci-pltfm: SDHCI platform and OF driver helper
                              [    1.500947] ledtrig-cpu: registered to indicate activity on CPUs
                              [    1.507754] hidraw: raw HID events driver (C) Jiri Kosina
                              [    1.519107] usbcore: registered new interface driver usbhid
                              [    1.524367] usbhid: USB HID core driver
                              [    1.532177] TCP: cubic registered
                              [    1.539431] Initializing XFRM netlink socket
                              [    1.545876] NET: Registered protocol family 17
                              [    1.552286] Key type dns_resolver registered
                              [    1.563134] registered taskstats version 1
                              [    1.568560] vc-sm: Videocore shared memory driver
                              [    1.573666] [vc_sm_connected_init]: start
                              [    1.580231] [vc_sm_connected_init]: end - returning 0
                              [    1.587251] Waiting for root device /dev/mmcblk0p2...
                              [    1.602293] mmc0: host does not support reading read-only switch, assuming write-enable
                              [    1.610580] mmc0: new high speed SDHC card at address aaaa
                              [    1.616181] Indeed it is in host mode hprt0 = 00021501
                              [    1.625424] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
                              [    1.640320]  mmcblk0: p1 p2
                              [    1.719058] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                              [    1.724857] VFS: Mounted root (ext4 filesystem) on device 179:2.
                              [    1.735493] devtmpfs: mounted
                              [    1.742183] Freeing unused kernel memory: 344K (c07a6000 - c07fc000)
                              [    1.804769] usb 1-1: new high-speed USB device number 2 using dwc_otg
                              [    1.810529] Indeed it is in host mode hprt0 = 00001101
                              [    2.025220] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
                              [    2.031217] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
                              [    2.041907] hub 1-1:1.0: USB hub found
                              [    2.050359] hub 1-1:1.0: 5 ports detected
                              [    2.344923] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
                              [    2.445196] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
                              [    2.450616] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
                              [    2.469862] smsc95xx v1.0.4
                              [    2.542330] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:aa:65:9e
                              [    2.634824] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
                              [    2.773815] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001
                              [    2.782603] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                              [    2.789931] usb 1-1.4: Product: EnOcean USB 300 DB
                              [    2.802943] usb 1-1.4: Manufacturer: EnOcean GmbH
                              [    2.814735] usb 1-1.4: SerialNumber: FTZ7F2FP
                              [    3.515004] udevd[161]: starting version 175
                              [    7.758103] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                              [    8.250048] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                              [    8.935577] random: nonblocking pool is initialized
                              [   17.828157] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
                              [   19.344753] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
                              Ist "serialport = /dev/tty4" richtig?
                              Und die "tx_id" wird nur benötigt, wenn man auch senden will, oder?

                              Danke und Gruß
                              Zuletzt geändert von Max2612; 05.01.2016, 21:07.

                              Kommentar


                                Hallo,

                                1) Der Stick funktioniert, den nutze ich auch.
                                2) Das Linux device (dev/tty**) mit Udev Regel selber festlegen. Einfach danach googlen.
                                3) In Post #132 gibt es keine Fehlermeldung. Nur ein Warning und das ist wie Du selber gesagt hast nur der Hinweis, dass Du ohne Transmit ID nicht senden kannst.

                                Gruß

                                Kommentar

                                Lädt...
                                X