Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot read properties of undefined

Featured Replies

Posted

While trialing this Node Server on my Polisy, I'm also getting a similar error in the Real-time ST-Inventory log file:

ST-Inventory(3)
Current Status: Connected
Current Version: 1.0.8 [Production]
Time Started: Nov 19, 2022, 11:53:50 AM

2022-11-19 12:33:59 error: POLY: getInv() Error: http://192.168.1.57:8080/rest/networking/resources

2022-11-19 12:34:11 error: NS: Parsing Error: TypeError: Cannot read properties of undefined (reading 'includes') at _0x435040.processNetworkResources (/var/polyglot/pg3/ns/000db9594260_3/Nodes/ControllerNode.js:1:5971) at _0x435040.onDiscover (/var/polyglot/pg3/ns/000db9594260_3/Nodes/ControllerNode.js:1:3118)

Around that time, the Real-time Polyglot log file has:

11/19/2022, 12:32:52 [pg3] info: EXPIRE CHECK: ST-Inventory subscription expires in 6 days

11/19/2022, 12:33:29 [pg3] info: [00:0d:b9:59:42:60_2] controller reporting command DOF

11/19/2022, 12:33:30 [pg3] info: [00:0d:b9:59:42:60_4] controller reporting command DOF

11/19/2022, 12:33:35 [pg3] error: No code in error response 11/19/2022, 12:33:35 [pg3] error: ISY Response: [Try: 1] [00:0d:b9:59:42:60] :: [404 - OK] :: 5.679907ms - http://192.168.1.57:8080/rest/ns/2/nodes/n002_climate1/report/status/GV14/False/25

11/19/2022, 12:33:53 [pg3] info: set to expire on 2022-11-26T19:52:26.000Z 11/19/2022, 12:33:53 [pg3] info: EXPIRE CHECK: ST-Inventory subscription expires in 6 days

Edited by chuckl
add more info

@chuckl split this post out just to get some attention. Note that @simplextech doesn't follow the forums much so either send them a PM or file an issue on the github for this node server.

You posted in a thread that had been idle a few months, so better to start a new thread because it did appear to be somewhat different.

 

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.