Hue interface : GetLightState error 'connect ETIMEDOUT'

Hi,

My bridge is visible in the Edge Server, as well as the lights created as blank objects. I added a target to one, restarted the Edge Server, and I can see the nodes on the interface to control the on/off state and brightness.

But my log is filled with : ‘GetLightState HTTP error’ 'connect ETIMEDOUT ip adress of my Hue Bridge

And obviously, my light is not responding to my commands on the Spatial Toolbox app.

Any idea of what could be causing my Bridge not to respond ? Log below. Timing out messages start a minute or so after the edge server is started. Any pointers greatly appreciated :slight_smile:

2020-04-16T15:19:19.857Z - debug: ‘TempFolderName: _WORLD_Housecj9rhksqmzgv’
2020-04-16T15:19:19.858Z - debug: ‘I found objects that I want to add’
2020-04-16T15:19:19.858Z - debug:
{
reloadObject: { object: ‘_WORLD_Housecj9rhksqmzgv’ },
lastEditor: null
}
2020-04-16T15:19:19.858Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.859Z - debug: ‘added node’
{
node: ‘value’,
object: ‘Light1’,
frame: ‘switchAW9ykso9j5xc’,
name: ‘value’
}
2020-04-16T15:19:19.859Z - debug: ‘object is all cleared’
2020-04-16T15:19:19.860Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.860Z - debug: ‘added node’
{
node: ‘switch’,
object: ‘Light1’,
frame: ‘Light1frame’,
name: ‘switch’
}
2020-04-16T15:19:19.860Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.860Z - debug: ‘added node’
{
node: ‘brightness’,
object: ‘Light1’,
frame: ‘Light1frame’,
name: ‘brightness’
}
2020-04-16T15:19:19.860Z - debug: ‘object is all cleared’
2020-04-16T15:19:19.861Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.861Z - debug: ‘added node’
{
node: ‘value’,
object: ‘Light1’,
frame: ‘sliderS2bltwp65htz’,
name: ‘value’
}
2020-04-16T15:19:19.861Z - debug: ‘object is all cleared’
2020-04-16T15:19:19.861Z - debug: ‘hardwareInterfaces.reset calling reset callbacks’
2020-04-16T15:19:19.861Z - debug: ‘Done loading objects’
2020-04-16T15:19:19.861Z - debug: ‘Done loading world object’
2020-04-16T15:19:19.861Z - debug: ‘creating beat for object: Light1hv1otm01lutm’
2020-04-16T15:19:19.861Z - debug: ‘with version number: 320’
2020-04-16T15:19:19.862Z - debug: ‘creating beat for object: _WORLD_Housecj9rhksqmzgv’
2020-04-16T15:19:19.862Z - debug: ‘with version number: 320’
2020-04-16T15:19:19.867Z - debug: ‘socket.io started’
2020-04-16T15:19:19.867Z - debug: ‘started’
2020-04-16T15:19:19.868Z - debug: ‘Could not Load: kepware’
2020-04-16T15:19:19.871Z - debug: ‘Could not Load: LegoHub’
2020-04-16T15:19:19.872Z - debug: ‘Could not Load: arduinoUno’
2020-04-16T15:19:19.876Z - debug: ‘philipsHue starting philipsHue’
2020-04-16T15:19:19.877Z - debug: ‘setup philipsHue’
2020-04-16T15:19:19.881Z - debug: ‘Could not Load: referenceExample’
2020-04-16T15:19:19.882Z - debug: ‘ready to start internal servers’
2020-04-16T15:19:19.882Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.882Z - debug: ‘added node’
{
node: ‘value’,
object: ‘Light1’,
frame: ‘switchAW9ykso9j5xc’,
name: ‘value’
}
2020-04-16T15:19:19.882Z - debug: ‘object is all cleared’
2020-04-16T15:19:19.883Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.883Z - debug: ‘added node’
{
node: ‘switch’,
object: ‘Light1’,
frame: ‘Light1frame’,
name: ‘switch’
}
2020-04-16T15:19:19.883Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.883Z - debug: ‘added node’
{
node: ‘brightness’,
object: ‘Light1’,
frame: ‘Light1frame’,
name: ‘brightness’
}
2020-04-16T15:19:19.884Z - debug: ‘object is all cleared’
2020-04-16T15:19:19.887Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.887Z - debug: ‘added node’
{
node: ‘value’,
object: ‘Light1’,
frame: ‘sliderS2bltwp65htz’,
name: ‘value’
}
2020-04-16T15:19:19.887Z - debug: ‘object is all cleared’
2020-04-16T15:19:19.887Z - debug: ‘hardwareInterfaces.reset calling reset callbacks’
2020-04-16T15:19:19.888Z - debug: ‘found 5 enabled hardware interfaces’
2020-04-16T15:19:19.888Z - debug: ‘starting internal Server.’
2020-04-16T15:19:19.888Z - debug: ‘Reality Server server.js process is running with PID 7192’
2020-04-16T15:19:19.889Z - debug: ‘webserver + socket.io is listening on port’ 8080
2020-04-16T15:19:19.890Z - error: ‘(node:7192) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.’
2020-04-16T15:19:19.892Z - debug: ‘UDP listening on port: 52316’
2020-04-16T15:19:19.892Z - debug: ‘server initialized. Every initialization from now on should come from interface addons only’
2020-04-16T15:19:19.933Z - debug: ‘found lights’
{
Light1: Light {
id: ‘Light1’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/1’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light3: Light {
id: ‘Light3’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/3’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light4: Light {
id: ‘Light4’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/4’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light7: Light {
id: ‘Light7’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/7’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light8: Light {
id: ‘Light8’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/8’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light12: Light {
id: ‘Light12’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/12’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light14: Light {
id: ‘Light14’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/14’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light24: Light {
id: ‘Light24’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/24’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light25: Light {
id: ‘Light25’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/25’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light26: Light {
id: ‘Light26’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/26’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light28: Light {
id: ‘Light28’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/28’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light29: Light {
id: ‘Light29’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/29’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light30: Light {
id: ‘Light30’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/30’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light31: Light {
id: ‘Light31’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/31’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light32: Light {
id: ‘Light32’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/32’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light33: Light {
id: ‘Light33’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/33’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light34: Light {
id: ‘Light34’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/34’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light35: Light {
id: ‘Light35’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/35’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light36: Light {
id: ‘Light36’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/36’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light37: Light {
id: ‘Light37’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/37’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light38: Light {
id: ‘Light38’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/38’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light39: Light {
id: ‘Light39’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/39’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light40: Light {
id: ‘Light40’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/40’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light41: Light {
id: ‘Light41’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/41’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light42: Light {
id: ‘Light42’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/42’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light43: Light {
id: ‘Light43’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/43’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light44: Light {
id: ‘Light44’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/44’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light45: Light {
id: ‘Light45’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/45’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light46: Light {
id: ‘Light46’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/46’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
},
Light47: Light {
id: ‘Light47’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/47’,
port: 80,
switch: null,
bri: null,
colorful: false,
hue: null,
sat: null
}
}
2020-04-16T15:19:19.934Z - debug: ‘add lightId’ ‘Light1’
2020-04-16T15:19:19.934Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.935Z - debug: ‘added node’
{
node: ‘switch’,
object: ‘Light1’,
frame: ‘Light1frame’,
name: ‘switch’
}
2020-04-16T15:19:19.935Z - debug: 'hardwareInterfaces.addNode objectID: ’ ‘Light1hv1otm01lutm’ ‘Light1’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.935Z - debug: ‘added node’
{
node: ‘brightness’,
object: ‘Light1’,
frame: ‘Light1frame’,
name: ‘brightness’
}
2020-04-16T15:19:19.935Z - debug: 'Add read listener for objectID: ’ ‘Light1hv1otm01lutm’
2020-04-16T15:19:19.935Z - debug: 'Add read listener: ’
[Function]
2020-04-16T15:19:19.936Z - debug: 'Add read listener for objectID: ’ ‘Light1hv1otm01lutm’
2020-04-16T15:19:19.936Z - debug: 'Add read listener: ’
[Function]
2020-04-16T15:19:19.936Z - debug: ‘add lightId’ ‘Light3’
2020-04-16T15:19:19.936Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light3’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.936Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.936Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light3’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.936Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.936Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.936Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.936Z - debug: ‘add lightId’ ‘Light4’
2020-04-16T15:19:19.936Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light4’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.936Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.937Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light4’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.937Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.937Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.937Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.937Z - debug: ‘add lightId’ ‘Light7’
2020-04-16T15:19:19.937Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light7’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.937Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.937Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light7’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.937Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.937Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.937Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.937Z - debug: ‘add lightId’ ‘Light8’
2020-04-16T15:19:19.937Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light8’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.937Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.937Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light8’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.938Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.938Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.938Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.938Z - debug: ‘add lightId’ ‘Light12’
2020-04-16T15:19:19.938Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light12’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.938Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.938Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light12’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.938Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.938Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.938Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.938Z - debug: ‘add lightId’ ‘Light14’
2020-04-16T15:19:19.938Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light14’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.938Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.938Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light14’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.939Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.939Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.939Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.939Z - debug: ‘add lightId’ ‘Light24’
2020-04-16T15:19:19.939Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light24’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.939Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.939Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light24’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.939Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.939Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.939Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.939Z - debug: ‘add lightId’ ‘Light25’
2020-04-16T15:19:19.939Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light25’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.939Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.939Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light25’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.939Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.939Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.940Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.940Z - debug: ‘add lightId’ ‘Light26’
2020-04-16T15:19:19.940Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light26’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.940Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.940Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light26’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.940Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.940Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.940Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.940Z - debug: ‘add lightId’ ‘Light28’
2020-04-16T15:19:19.940Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light28’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.940Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.941Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light28’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.941Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.941Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.941Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.941Z - debug: ‘add lightId’ ‘Light29’
2020-04-16T15:19:19.941Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light29’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.941Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.941Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light29’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.941Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.941Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.941Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.941Z - debug: ‘add lightId’ ‘Light30’
2020-04-16T15:19:19.941Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light30’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.942Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.942Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light30’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.942Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.942Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.942Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.942Z - debug: ‘add lightId’ ‘Light31’
2020-04-16T15:19:19.942Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light31’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.942Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.942Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light31’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.942Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.942Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.942Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.942Z - debug: ‘add lightId’ ‘Light32’
2020-04-16T15:19:19.942Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light32’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.943Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.943Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light32’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.943Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.943Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.943Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.943Z - debug: ‘add lightId’ ‘Light33’
2020-04-16T15:19:19.943Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light33’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.943Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.943Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light33’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.943Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.943Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.943Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.943Z - debug: ‘add lightId’ ‘Light34’
2020-04-16T15:19:19.943Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light34’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.943Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.944Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light34’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.944Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.944Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.944Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.944Z - debug: ‘add lightId’ ‘Light35’
2020-04-16T15:19:19.944Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light35’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.944Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.944Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light35’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.944Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.944Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.944Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.944Z - debug: ‘add lightId’ ‘Light36’
2020-04-16T15:19:19.944Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light36’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.944Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.944Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light36’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.945Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.945Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.945Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.945Z - debug: ‘add lightId’ ‘Light37’
2020-04-16T15:19:19.945Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light37’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.945Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.945Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light37’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.945Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.945Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.945Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.945Z - debug: ‘add lightId’ ‘Light38’
2020-04-16T15:19:19.945Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light38’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.945Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.945Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light38’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.945Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.945Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.946Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.946Z - debug: ‘add lightId’ ‘Light39’
2020-04-16T15:19:19.946Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light39’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.946Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.946Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light39’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.946Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.946Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.946Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.946Z - debug: ‘add lightId’ ‘Light40’
2020-04-16T15:19:19.946Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light40’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.946Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.946Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light40’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.946Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.946Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.946Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.946Z - debug: ‘add lightId’ ‘Light41’
2020-04-16T15:19:19.947Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light41’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.947Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.947Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light41’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.947Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.947Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.947Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.947Z - debug: ‘add lightId’ ‘Light42’
2020-04-16T15:19:19.947Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light42’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.947Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.947Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light42’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.947Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.947Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.947Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.947Z - debug: ‘add lightId’ ‘Light43’
2020-04-16T15:19:19.947Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light43’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.948Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.948Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light43’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.948Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.948Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.948Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.948Z - debug: ‘add lightId’ ‘Light44’
2020-04-16T15:19:19.948Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light44’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.948Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.948Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light44’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.948Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.948Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.948Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.948Z - debug: ‘add lightId’ ‘Light45’
2020-04-16T15:19:19.948Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light45’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.948Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.948Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light45’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.949Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.949Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.949Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.949Z - debug: ‘add lightId’ ‘Light46’
2020-04-16T15:19:19.949Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light46’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.949Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.949Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light46’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.949Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.949Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.949Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.949Z - debug: ‘add lightId’ ‘Light47’
2020-04-16T15:19:19.949Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light47’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.949Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.949Z - debug: 'hardwareInterfaces.addNode objectID: ’ null ‘Light47’ ‘/Users/fgermain/Documents/spatialToolbox’
2020-04-16T15:19:19.949Z - warn: ‘Creating empty folder and giving up’
2020-04-16T15:19:19.950Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:19.950Z - debug: 'Add read listener for objectID: ’ null
2020-04-16T15:19:20.586Z - debug: ‘write switch state’
Light {
id: ‘Light1’,
host: ‘192.168.1.100’,
url: ‘/api/Mq0dGOjBXRMJK-uL8ZbJuHmHlLNKN2YP4cpXvsrE/lights/1’,
port: 80,
switch: false,
bri: null,
colorful: false,
hue: null,
sat: null
} 0
2020-04-16T15:19:20.618Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.624Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.628Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.632Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.654Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.672Z - debug: ‘GetLightState HTTP error’ ‘socket hang up’
2020-04-16T15:19:20.674Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.674Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.705Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.733Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.744Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:19:20.754Z - debug: ‘GetLightState HTTP error’ ‘read ECONNRESET’
2020-04-16T15:20:48.694Z - debug: ‘GetLightState HTTP error’ ‘connect ETIMEDOUT 192.168.1.100:80’

My guess based on the error message is that the interface might be overwhelming the hub with too many requests at a time. I haven’t had enough time yet to rewrite that part of the interface.

If you could, can you go into your addons/vuforia-spatial-basic-interfaces-addon directory and edit this line: https://github.com/ptcrealitylab/vuforia-spatial-basic-interfaces-addon/blob/b495f73ec599e71f0b9ef7a30fe9f4c84c29052d/interfaces/philipsHue/index.js#L414 to poll less often? i.e. something like

            setInterval(function (light) {
                getLightState(light, server.write);
            }, 10000 + Math.random() * 10000, lights[key]);

That was it :slight_smile: Now it works like a charm !

I suspected it was probably the bridge becoming overwhelm cause I couldn’t detect the bridge in the Hue apps while the server was running. Thanks !

Glad to hear it! I’ll work on a better solution too