Skip to main content
Skip table of contents

GetIPAddress

Purpose

Returns the IP address of your computer that HomeSeer is using as a string like 192.168.1.1.  This returns a single IP address. Your computer may use more IP addresses.

If you wish to get the IP address and hostname of the machine, please see LANIP.


Parameters

None


Returns

Return value: IP address

Type: string


Example

Sample Code

VB
sub main()

	dim ipaddress

	ipaddress = hs.GetIPAddress
	hs.WriteLog "Info","The IP Address is " & ipaddress

end sub


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.