This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Enocean interface
#1
Hi, I want to use LM5 lite to realize enocean-KNX conversion. I plug a USB gateway into the USB interface of LM5. When I press the button on the enocean panel, LM5 can receive the signal, and the knx address mapped by the enocean key can also receive the value.

Now I have the following problem: sometimes LM5 can't receive the enocean signal. I try to rescan the enocean interface of LM5 and then it temporarily returns to normal.

I have an idea: Can I use the resident script to check whether the connection between the enocean interface of LM5 and the USB gateway is normal, and automatically rescan the enocean interface of LM5 when the connection is abnormal?
Reply
#2
Post what you have in System config > Status > System log.
Reply
#3
syetem log:
Code:
Mar 16 05:27:54 user kern.info kernel: [438748.611355] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Mar 16 05:27:33 user kern.info kernel: [438726.802925] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB1
Mar 16 05:27:33 user kern.info kernel: [438726.801162] usb 1-1: Detected FT232RL
Mar 16 05:27:33 user kern.info kernel: [438726.800979] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
Mar 16 05:27:33 user kern.info kernel: [438726.794721] usb 1-1: SerialNumber: FTXKSJ0R
Mar 16 05:27:33 user kern.info kernel: [438726.794712] usb 1-1: Manufacturer: EnOcean GmbH
Mar 16 05:27:33 user kern.info kernel: [438726.794701] usb 1-1: Product: EnOcean USB 300F DA
Mar 16 05:27:33 user kern.info kernel: [438726.794690] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 16 05:27:33 user kern.info kernel: [438726.794665] usb 1-1: New USB device found, idVendor=0403, idProduct=6001
Mar 16 05:27:32 user kern.info kernel: [438726.647669] usb 1-1: new full-speed USB device number 3 using ci_hdrc
Mar 16 05:27:29 user kern.info kernel: [438723.496218] ftdi_sio 1-1:1.0: device disconnected
Mar 16 05:27:29 user kern.info kernel: [438723.496154] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Mar 16 05:27:29 user kern.info kernel: [438723.495597] usb 1-1: USB disconnect, device number 2
Mar 16 05:27:28 user kern.info kernel: [438722.199963] fec 2188000.ethernet eth0: Link is Down
Mar 11 03:35:25 user user.info sysinit: 1678505725: Warning: Unable to drop privileges to 'mosquitto' because this user does not exist. Trying 'nobody' instead.
Mar 11 03:35:25 user user.info sysinit: chown: unknown user mosquitto
Mar 11 03:35:24 user kern.notice kernel: [ 10.880062] random: nonblocking pool is initialized
Mar 11 03:35:19 user kern.info kernel: [ 5.443703] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Mar 11 03:35:17 user user.info sysinit: /lib/genohm-scada/storage/db/current.db: OK
Mar 11 03:35:16 user kern.info kernel: [ 2.624469] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nodelalloc
Mar 11 03:35:16 user user.info sysinit: /dev/mmcblk0p3: clean, 1558/468640 files, 84016/1873920 blocks
Mar 11 03:35:16 user user.info sysinit: /dev/mmcblk0p3: recovering journal
Mar 11 03:35:16 user user.info sysinit: e2fsck 1.45.6 (20-Mar-2020)
Mar 11 03:35:16 user kern.info kernel: [ 2.427660] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Mar 11 03:35:15 user kern.info kernel: [ 1.362107] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Mar 11 03:35:15 user kern.info kernel: [ 0.950150] EXT4-fs (mmcblk0p2): re-mounted. Opts: nodelalloc
Mar 11 03:35:15 user kern.info kernel: [ 0.665474] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
Mar 11 03:35:15 user kern.info kernel: [ 0.663809] usb 1-1: Detected FT232RL
Mar 11 03:35:15 user kern.info kernel: [ 0.663643] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
Mar 11 03:35:15 user kern.info kernel: [ 0.659507] usb 1-1: SerialNumber: FTXKSJ0R
Mar 11 03:35:15 user kern.info kernel: [ 0.659495] usb 1-1: Manufacturer: EnOcean GmbH
Mar 11 03:35:15 user kern.info kernel: [ 0.659483] usb 1-1: Product: EnOcean USB 300F DA
Mar 11 03:35:15 user kern.info kernel: [ 0.659471] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 11 03:35:15 user kern.info kernel: [ 0.659446] usb 1-1: New USB device found, idVendor=0403, idProduct=6001
Mar 11 03:35:15 user kern.info kernel: [ 0.543862] Freeing unused kernel memory: 164K
Mar 11 03:35:15 user kern.info kernel: [ 0.543597] VFS: Mounted root (ext3 filesystem) on device 179:2.
Mar 11 03:35:15 user kern.info kernel: [ 0.543513] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Mar 11 03:35:15 user kern.info kernel: [ 0.542180] EXT4-fs (mmcblk0p2): recovery complete
Mar 11 03:35:15 user kern.info kernel: [ 0.511360] usb 1-1: new full-speed USB device number 2 using ci_hdrc
Mar 11 03:35:15 user kern.info kernel: [ 0.414191] mmcblk0: p1 p2 p3
Mar 11 03:35:15 user kern.info kernel: [ 0.412665] mmcblk0: mmc0:aaaa WD08G 7.40 GiB
Mar 11 03:35:15 user kern.info kernel: [ 0.411857] mmc0: new high speed SDHC card at address aaaa
Mar 11 03:35:15 user kern.warn kernel: [ 0.404560] mmc0: host does not support reading read-only switch, assuming write-enable
Mar 11 03:35:15 user kern.info kernel: [ 0.387524] Waiting for root device /dev/mmcblk0p2...
Mar 11 03:35:15 user kern.err kernel: [ 0.387452] Warning: unable to open an initial console.
Mar 11 03:35:15 user kern.info kernel: [ 0.387029] vdd3p0: disabling
Mar 11 03:35:15 user kern.info kernel: [ 0.386451] rtc-pcf85263a 0-0051: setting system clock to 2023-03-11 03:35:14 UTC (1678505714)
Mar 11 03:35:15 user kern.info kernel: [ 0.381054] can: raw protocol (rev 20120528)
Mar 11 03:35:15 user kern.info kernel: [ 0.381004] NET: Registered protocol family 29
Mar 11 03:35:15 user kern.info kernel: [ 0.380850] can: controller area network core (rev 20120528 abi 9)
Reply
#4
Update the package through System Config > System > Packages > Add (+) button and see if it helps.
https://dl.openrb.com/lm-23-imx6/pkg/gen...6_imx6.ipk
https://dl.openrb.com/lm-23-imx6/pkg/gen...6_imx6.sig
Reply
#5
After installing the. ipk file you provided, it has worked well for some time, but there is a small problem:After the LM is powered on again, it is still necessary to refresh the" "enocean interface" "of the LM before it can resume work.
Reply
#6
(16.03.2023, 12:00)admin Wrote: Update the package through System Config > System > Packages > Add (+) button and see if it helps.
https://dl.openrb.com/lm-23-imx6/pkg/gen...6_imx6.ipk
https://dl.openrb.com/lm-23-imx6/pkg/gen...6_imx6.sig

Admin, after installing the latest. ikp package, it ran well for a period of time, but now the phenomenon described in the # 1 post has reappeared. The following content is the system log:
Code:
Apr 14 03:54:44 user daemon.info avahi-daemon[1187]: Registering new address record for 172.29.156.242 on ztc25eozj4.IPv4.
Apr 14 03:54:44 user daemon.info avahi-daemon[1187]: New relevant interface ztc25eozj4.IPv4 for mDNS.
Apr 14 03:54:44 user daemon.info avahi-daemon[1187]: Joining mDNS multicast group on interface ztc25eozj4.IPv4 with address 172.29.156.242.
Apr 14 03:54:39 user daemon.info avahi-daemon[1187]: Registering new address record for 172.22.156.242 on ztyouxwwjz.IPv4.
Apr 14 03:54:39 user daemon.info avahi-daemon[1187]: New relevant interface ztyouxwwjz.IPv4 for mDNS.
Apr 14 03:54:39 user daemon.info avahi-daemon[1187]: Joining mDNS multicast group on interface ztyouxwwjz.IPv4 with address 172.22.156.242.
Apr 14 03:54:39 user daemon.info avahi-daemon[1187]: Registering new address record for 192.168.195.188 on ztrf2tzjz5.IPv4.
Apr 14 03:54:39 user daemon.info avahi-daemon[1187]: New relevant interface ztrf2tzjz5.IPv4 for mDNS.
Apr 14 03:54:39 user daemon.info avahi-daemon[1187]: Joining mDNS multicast group on interface ztrf2tzjz5.IPv4 with address 192.168.195.188.
Apr 14 03:54:35 user daemon.info avahi-daemon[1187]: Service "Web Server on user" (/etc/avahi/services/http.service) successfully established.
Apr 14 03:54:34 user daemon.info avahi-daemon[1187]: Server startup complete. Host name is user.local. Local service cookie is 556703909.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: Registering HINFO record with values 'ARMV7L'/'LINUX'.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: Registering new address record for 127.0.0.1 on lo.IPv4.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: Registering new address record for 192.168.0.210 on eth0.IPv4.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: Network interface enumeration completed.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: New relevant interface lo.IPv4 for mDNS.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: New relevant interface eth0.IPv4 for mDNS.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.210.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: Loading service file /etc/avahi/services/http.service.
Apr 14 03:54:33 user daemon.warn avahi-daemon[1187]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: avahi-daemon 0.8 starting up.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: Successfully dropped root privileges.
Apr 14 03:54:33 user daemon.info avahi-daemon[1187]: Found user 'nobody' (UID 65534) and group 'nogroup' (GID 65534).
Apr 14 03:54:33 user kern.notice kernel: [ 11.926870] random: nonblocking pool is initialized
Apr 14 03:54:26 user kern.info kernel: [ 5.612603] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Apr 14 03:54:25 user user.info sysinit: /lib/genohm-scada/storage/db/current.db: OK
Apr 14 03:54:24 user kern.info kernel: [ 3.787143] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nodelalloc
Apr 14 03:54:24 user user.info sysinit: /dev/mmcblk0p3: clean, 1559/468640 files, 83392/1873920 blocks
Apr 14 03:54:24 user user.info sysinit: Setting free blocks count to 1790528 (was 1790525)
Apr 14 03:54:23 user user.info sysinit: /dev/mmcblk0p3: recovering journal
Apr 14 03:54:23 user user.info sysinit: e2fsck 1.46.5 (30-Dec-2021)
Apr 14 03:54:23 user kern.info kernel: [ 2.598102] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Apr 14 03:54:22 user kern.info kernel: [ 1.547463] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Apr 14 03:54:22 user kern.info kernel: [ 1.169563] EXT4-fs (mmcblk0p2): re-mounted. Opts: nodelalloc
Apr 14 03:54:22 user kern.info kernel: [ 0.765981] Freeing unused kernel memory: 164K
Apr 14 03:54:22 user kern.info kernel: [ 0.765715] VFS: Mounted root (ext3 filesystem) on device 179:2.
Apr 14 03:54:22 user kern.info kernel: [ 0.765633] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Apr 14 03:54:22 user kern.info kernel: [ 0.764459] EXT4-fs (mmcblk0p2): recovery complete
Apr 14 03:54:22 user kern.info kernel: [ 0.669428] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
Apr 14 03:54:22 user kern.info kernel: [ 0.667683] usb 1-1: Detected FT232RL
Apr 14 03:54:22 user kern.info kernel: [ 0.667514] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
Apr 14 03:54:22 user kern.info kernel: [ 0.663333] usb 1-1: SerialNumber: FTXKSJ0R
Apr 14 03:54:22 user kern.info kernel: [ 0.663322] usb 1-1: Manufacturer: EnOcean GmbH
Apr 14 03:54:22 user kern.info kernel: [ 0.663310] usb 1-1: Product: EnOcean USB 300F DA
Apr 14 03:54:22 user kern.info kernel: [ 0.663299] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 14 03:54:22 user kern.info kernel: [ 0.663273] usb 1-1: New USB device found, idVendor=0403, idProduct=6001
Apr 14 03:54:22 user kern.info kernel: [ 0.516269] usb 1-1: new full-speed USB device number 2 using ci_hdrc
Apr 14 03:54:22 user kern.info kernel: [ 0.419043] mmcblk0: p1 p2 p3
Apr 14 03:54:22 user kern.info kernel: [ 0.417522] mmcblk0: mmc0:aaaa WD08G 7.40 GiB
Reply


Forum Jump: