Guest
Login
Register
Home
Help
Search
Login
Register
more G-Labs products
This forum is soon going to be read-only.
Please join the new
HomeGenie community on Google+
HomeGenie Forum
General Category
General Discussion
IP Address
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: IP Address (Read 2298 times)
February 24, 2015, 08:39:11 PM
Read 2298 times
Maximo
Information
Full Member
Posts:
84
IP Address
How to I get Homegenie to use a specific IP address? I have a server running a number of web applications, I've tried to change the IP address they use but HomeGenie seems to be assigned 0.0.0.0:80.
Yes I know I can change the port but that causes a few complications elsewhere, so for my setup it would be good if I could configure a specific IP address.
Thanks for your help.
Garry
Logged
February 25, 2015, 12:35:17 AM
Reply #1
bkenobi
Information
Global Moderator
Posts:
1525
Re: IP Address
Raspberry Pi/Windows/Mac/etc?
You would change the IP with the OS which is independent of HG. OR, if you use DHCP, you can use the router to assign a specific IP for a given device (MAC address). I personally assign IP's with the router so I only have one place to go to make a change.
Logged
https://github.com/bkenobi/HomeGenie_Apps
February 25, 2015, 01:50:39 AM
Reply #2
Gene
Information
Administrator
Posts:
1472
Tangible is the future!
Re: IP Address
Current version of HG bind to *any* interface address and the only way to change this, is from source code:
https://github.com/genielabs/HomeGenie/blob/master/MigFiles/MIG/Gateways/WebServiceGateway.cs#L91
you can file a feature request here:
https://github.com/genielabs/HomeGenie/issues
g.
Logged
February 25, 2015, 06:39:26 PM
Reply #3
Maximo
Information
Full Member
Posts:
84
Re: IP Address
Thanks. I've opened a request.
Logged
March 08, 2015, 07:52:33 PM
Reply #4
Jerry
Information
Newbie
Posts:
17
Re: IP Address
Install HomeGenie on a virtual machine. It's not really that hard.
Install free Oracle Virtual Box and a Linux VM on your PC/Mac, then run HomeGenie on the Linux VM. Assign a single IP address to your VM (usually the default). The VM will also need access to USB or whatever hardware that you use.
I don't know why someone hasn't created a HomeGenie VM image before now.
Logged
March 08, 2015, 11:31:37 PM
Reply #5
Maximo
Information
Full Member
Posts:
84
Re: IP Address
Hi Jerry,
I've tried that route and found that the USB interface was some what unusable, constantly timing out. But if you have any advise of getting the performance up I'd be happy to re-visit my VM.
Cheers,
Garry
Logged
March 10, 2015, 03:03:52 AM
Reply #6
Jerry
Information
Newbie
Posts:
17
Re: IP Address
Garry,
What VM software were you using.
Was the USB port being shared with the host or another VM?
See this post:
https://forums.virtualbox.org/viewtopic.php?f=6&t=55483
The same idea applies for vmware.
Jerry
Logged
March 10, 2015, 09:15:32 AM
Reply #7
Maximo
Information
Full Member
Posts:
84
Re: IP Address
Hi Jerry,
I'm running VMWare ESXi 5.0. The USB port isn't shared with any other VM's. Although HomeGenie can see the controller it just times out when doing a query against the node. So there is a performance drop off somewhere along the route.
Cheers,
Garry
Logged
March 12, 2015, 03:42:29 AM
Reply #8
Jerry
Information
Newbie
Posts:
17
Re: IP Address
Gary,
You need to test your USB port independent of HG, both on the host OS and the VM.
Jerry
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
HomeGenie Forum
General Category
General Discussion
IP Address