Skip to content

deviceConfigPriorityDir not working #3063

Answered by AlCalzone
glyph-se asked this question in General
Discussion options

You must be logged in to vote

Since you are already fiddling around in the files, can you edit node_modules/@zwave-js/config/build/ConfigManager.js?
There should be a method called lookupDevicePreserveConditions, in which you'll find a line like this (probably around line 382, give or take):

this.logger.print(`Error loading device config ${filePath}`, "error");

Change that to

this.logger.print(`Error loading device config ${filePath}: ${e}`, "error");

save and restart.

Then we should at least know why the loading fails.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@glyph-se
Comment options

@AlCalzone
Comment options

@AlCalzone
Comment options

@glyph-se
Comment options

@AlCalzone
Comment options

Answer selected by AlCalzone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants