Snapshot file (index.json) location #80
Replies: 2 comments 5 replies
-
Hi @pnpebeling The Cache DIR is used for Network cache (Node Values - to ensure values are restored at start up) - not device config files. The Driver builds an index where the device configs are stored, but as this is a Read Only FS (the PSI) - it will fail. C:\snapshot - is specific to the PSI build process, during the stage that it creates the R/O FS - to be honest... I wont try and create it, but if it causes no issue, then go head 😄. The internal FS - should not be concerned with, I'm not sure what effect it may have. HOWEVER, The option is
See : https://zwave-js.github.io/node-zwave-js/#/api/driver?id=zwaveoptions |
Beta Was this translation helpful? Give feedback.
-
@AlCalzone Setting As the config files are embedded, will using this option silence the index warning? |
Beta Was this translation helpful? Give feedback.
-
I have configured the ZWaveOptions storage.cacheDir, and it appears to be used. However, the driver still complains about a missing folder "C:\snapshot\build\node_modules@zwave-js\config\config\devices". If I create this folder, a "index.json" file is created containing what appears to be mfg database entries. Is there a configuration setting to affect the target location for this file?
-paul
Beta Was this translation helpful? Give feedback.
All reactions