You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It supports a lot of options, but it does not support "mock-driver", "port", "host", or "disable-dns-sd" options. Instead, these options are parsed separately:
It would be really great to be able to tell zwave-js-server to "read all my config options" and have the port, host, encryption keys, and the like all in one place. This would make it a lot easier to maintain individual configurations for each zwave device and its corresponding server, which is useful for how zwave-js-server is typically deployed on a server.
For example, this is the zwave-js-server package in the Arch Linux AUR:
This is example_config.js:
zwave-js-server/example_config.js
Lines 1 to 18 in 1fb161d
Here is where the config file is parsed:
zwave-js-server/src/bin/server.ts
Lines 68 to 133 in 1fb161d
It supports a lot of options, but it does not support "mock-driver", "port", "host", or "disable-dns-sd" options. Instead, these options are parsed separately:
zwave-js-server/src/bin/server.ts
Lines 34 to 41 in 1fb161d
It would be really great to be able to tell zwave-js-server to "read all my config options" and have the port, host, encryption keys, and the like all in one place. This would make it a lot easier to maintain individual configurations for each zwave device and its corresponding server, which is useful for how zwave-js-server is typically deployed on a server.
For example, this is the zwave-js-server package in the Arch Linux AUR:
https://aur.archlinux.org/packages/zwave-js-server
Here is the
[email protected]
file that it includes (link):If we could pass a configuration file to
zwave-server
and have everything we need, then this would be great 😄Thanks for the great project! Cheers!
The text was updated successfully, but these errors were encountered: