-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
I can no longer run driver functions (which I want to do to sync time to my devices).
Whenever I try to run a driver function I get an error
I've tried to run driver function such as
const { logger, zwaveClient, require } = this
logger.info(`Controller inclusion state: ${driver.controller.inclusionState}`);I get an error: require is not defined.
I've tried a number of different functions including the built in suggested ping nodes and refresh, but no work.
I' am runnin zwave-js UI 5.3.1 under home assistant as a VM on x64,
z-wave-js UI: 5.3.1? (latest version as of nov 1)
home assistant os: 15.1
home assistant core: 2025.8.2
supoervisor: 2025.10.0
Full log:
2025-11-02 11:01:07.338 INFO Z-WAVE: Calling api driverFunction with args: [
'// Example:\n' +
'// const { logger, zwaveClient, require } = this\n' +
'const node = driver.controller.nodes.get(2);\n' +
'await node.refreshInfo();\n' +
'// logger.info(`Node ${node.id} is ready: ${node.ready}`);',
[length]: 1
]
2025-11-02 11:01:07.340 INFO Z-WAVE: require is not defined driverFunction undefined
Metadata
Metadata
Assignees
Labels
No labels