Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting deCONZ Command Line Parameters #238

Closed
mathos77 opened this issue Oct 20, 2017 · 8 comments
Closed

Getting deCONZ Command Line Parameters #238

mathos77 opened this issue Oct 20, 2017 · 8 comments

Comments

@mathos77
Copy link

Hi @manup,

Do you have an overview of all Command-Line parameters for deCONZ startup ?
I am particularly interested in, specifying the WS port, which seems to default to 8080.

On my system, port 8080 is already in use, and it seems to fallback to 8088.
It would be nice just to specify the port instead.

CLI options for deCONZ are not in the PDF's I could find so far.

Thanks.

Kind regards, Tom.

@IcarusR
Copy link

IcarusR commented Oct 22, 2017

Hi
You can specify alternate port like this...
/usr/bin/deCONZ --http-port=8090
Dont know about any other cli perameters.

@mathos77
Copy link
Author

Hi @IcarusR ,

That is not for the WebSocket port unfortunately, only for the http port.

@androme13
Copy link

As said here : http://dresden-elektronik.github.io/deconz-rest-doc/websocket/
Deconz is started on an unused proxy friendly port, may be if you run your service on port 8080 first and only after, run Deconz, with chance deconz will choose another port ?

@manup
Copy link
Member

manup commented Oct 23, 2017

Hi, currently there is no command line switch/config available to specify a fixed WebSocket port.
I'll add this in the next versions (2.04.84?).

The command line options should be documented in the main documentation, I hope to find some time for that in the next weeks.

@mathos77
Copy link
Author

Thanks @manup, that would be great!

manup added a commit that referenced this issue Oct 31, 2017
…commandline

Issue #238

Commandline switch: --ws-port=<port>
@jo-me
Copy link

jo-me commented Nov 3, 2017

It's working fine for me in the latest beta (85).

I adapted the /etc/systemd/system/deconz.service and added --ws-port=8087 to the parameter list.

@mathos77
Copy link
Author

@jo-me > It's working fine for me in the latest beta (85).
You are correct, it works fine now.
Not sure if it is actually documented. @manup this issue is closed.

@StephanStS
Copy link

Actually the deCONZ command line parameters are described there: https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/deCONZ-command-line-parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants