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.

Z-Wave app not loading on LM5p2-RDE
#1
Your support is needed to figure out why Z-Wave app is not loading properly on a LM5p2-RDE equipped with a Z-wave.me USB stick. Below you can find the Z-wave related running processes and system log. 


Running processes:
1127 lua /lib/apps/daemon.lua zwaveapp-imx6 /home/apps/store/daemon/zwaveapp-imx6/daemon.lua
1129 lua /lib/apps/daemon.lua canx /home/apps/store/daemon/canx/daemon.lua
1169 /home/apps/usr/sbin/zwave /home/apps/usr/share/openzwave/ /tmp/log/ /dev/ttyACM0 /home/apps/usr/share/zwave/handler.lua
1170 /home/apps/usr/sbin/zwave /home/apps/usr/share/openzwave/ /tmp/log/ /dev/ttyACM0 /home/apps/usr/share/zwave/handler.lua

System Log:
Jan 3 15:47:17 LogicMachine kern.notice kernel: [ 16.067592] random: nonblocking pool is initialized
Jan 3 15:47:09 LogicMachine kern.info kernel: [ 8.496104] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Jan 3 15:47:04 LogicMachine user.info sysinit: /lib/genohm-scada/storage/db/current.db: OK
Jan 3 15:47:03 LogicMachine kern.info kernel: [ 2.607026] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nodelalloc
Jan 3 15:47:03 LogicMachine user.info sysinit: /dev/mmcblk0p3: clean, 2648/468640 files, 77576/1873920 blocks
Jan 3 15:47:03 LogicMachine user.info sysinit: Setting free blocks count to 1796344 (was 0)
Jan 3 15:47:03 LogicMachine user.info sysinit: Setting free inodes count to 465992 (was 0)
Jan 3 15:47:03 LogicMachine user.info sysinit: /dev/mmcblk0p3: recovering journal
Jan 3 15:47:03 LogicMachine user.info sysinit: e2fsck 1.45.6 (20-Mar-2020)
Jan 3 15:47:03 LogicMachine kern.info kernel: [ 2.434352] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 1.373203] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.959349] EXT4-fs (mmcblk0p2): re-mounted. Opts: nodelalloc
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.735614] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.734092] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.734067] usb 1-1: New USB device found, idVendor=0658, idProduct=0200
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.595755] usb 1-1: new full-speed USB device number 2 using ci_hdrc
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.549573] Freeing unused kernel memory: 164K
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.549316] VFS: Mounted root (ext3 filesystem) on device 179:2.
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.549242] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.548080] EXT4-fs (mmcblk0p2): recovery complete
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.418431] mmcblk0: p1 p2 p3
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.416940] mmcblk0: mmc0:aaaa WD08G 7.40 GiB
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.416186] mmc0: new high speed SDHC card at address aaaa
Jan 3 15:47:02 LogicMachine kern.warn kernel: [ 0.408885] mmc0: host does not support reading read-only switch, assuming write-enable
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.391901] Waiting for root device /dev/mmcblk0p2...
Jan 3 15:47:02 LogicMachine kern.err kernel: [ 0.391836] Warning: unable to open an initial console.
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.391438] vdd3p0: disabling
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.390859] rtc-pcf85263a 0-0051: setting system clock to 2021-01-03 15:47:01 UTC (1609688821)
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.385490] can: raw protocol (rev 20120528)
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.385469] NET: Registered protocol family 29
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.385305] can: controller area network core (rev 20120528 abi 9)
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.385266] NET: Registered protocol family 17
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.385146] ip_tables: © 2000-2006 Netfilter Core Team
Jan 3 15:47:02 LogicMachine kern.warn kernel: [ 0.366345] 2198000.adc supply vref not found, using dummy regulator
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.351796] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.314256] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.314214] sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.311335] sdhci-pltfm: SDHCI platform and OF driver helper
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.311320] sdhci: Copyright© Pierre Ossman
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.311293] sdhci: Secure Digital Host Controller Interface driver
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.310296] usbcore: registered new interface driver btusb
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.309486] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.308312] lirc_dev: IR Remote Control driver registered, major 249
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.307403] i2c /dev entries driver
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.307143] rtc-pcf85263a 0-0051: rtc core: registered rtc-pcf85263a as rtc0
Jan 3 15:47:02 LogicMachine kern.warn kernel: [ 0.303543] rtc-ds1307: probe of 0-006f failed with error -5
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.301666] hub 2-0:1.0: 1 port detected
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.301544] hub 2-0:1.0: USB hub found
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.300206] usb usb2: SerialNumber: ci_hdrc.1
Jan 3 15:47:02 LogicMachine kern.info kernel: [ 0.300184] usb usb2: Manufacturer: Linux 4.4.231 ehci_hcd

Thanks for your support
Reply
#2
All the required processes are running. What do you mean by not loading properly? Have you tried rebooting LM?
Reply
#3
(04.01.2021, 07:13)admin Wrote: All the required processes are running. What do you mean by not loading properly? Have you tried rebooting LM?

See enclosed JPG screen capture for the Z-Wave app on the LM5 

https://"my-home-IP-address"/apps/data/zwaveapp-imx6/

let me know what other information is needed to understand what's going on

Attached Files Thumbnail(s)
   
Reply
#4
Check for any errors in the browser console (F12).
Reply
#5
Issue has been resolved by switching the LM5 server from serving over https to serving over http. 
If you were aware of this issue, is above the only way to get resolve it? 

see below the console output: 

Mixed Content: The page at 'https://192.168.1.55/apps/data/zwaveapp-imx6/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Roboto+Condensed:300,400'. This request has been blocked; the content must be served over HTTPS.
script.js.gz:6

Mixed Content: The page at 'https://192.168.1.55/apps/data/zwaveapp-imx6/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://192.168.1.55/apps/data/zwaveapp-imx6/ws.lp?hid=-928983241'. This request has been blocked; this endpoint must be available over WSS.
e @ script.js.gz:6
script.js.gz:6

Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.

Thanks for your support
Reply


Forum Jump: