Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Configurable hostname #12

Open
hvorragend opened this issue Dec 12, 2017 · 3 comments
Open

Configurable hostname #12

hvorragend opened this issue Dec 12, 2017 · 3 comments

Comments

@hvorragend
Copy link

Could you please make the hostname configurable?

# @todo make user settable
$hash->{DeviceName} = "localhost:1505";

I tried to change this line with another hostname, but it doesn‘t work.
Thank you very much.

@hvorragend
Copy link
Author

After a long time of searching I found (in Jtradfri) that the ServerSocket is only listen to the localhost.

		//listen to localhost only
		ServerSocket socket = new ServerSocket(port, 0, InetAddress.getLoopbackAddress());

It would be really great if you could make the hostname configurable.
Thank you.

@peterkappelt
Copy link
Owner

A listen address for JTradfri can now be set with the command-line parameter "--listen-address". The hostname in the FHEM-module must still be set manually. Feedback is appreciated.

@Saharel001
Copy link

Saharel001 commented Oct 9, 2018

added in my Fork, Attribut jTradfriSocket

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

No branches or pull requests

3 participants