Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Status
colourRed
titleNO
 Without changes, the connection will fail. We introduced new fields in get_miniservers and the general.cfg with LB2.0.2 to support you using https and ipv6. Your plugin requires adaptions for that.

...

If the user has Loxone CloudDNS set in the Miniserver widget, get_miniservers always resolves IPAddress, Port, PortHttps, and all other fields depending to them, so your plugin does not require to do own decisions "Is CloudDNS or not".   

Changes in general.cfg

...

general.cfg

...

  • IPADDRESS: The field now may contain: An IPv4 address (like before), an IPv6 address (new) or a hostname (like before) that may resolve to an IPv4 or IPv6 (new) address by DNS.
  • IPV6FORMAT: The lib returns 1, if IPADDRESS is an IPv6 format. It does not check if a hostname will resolve to an IPv6 address! In some libraries that requires a host:port connection string, an IPv6 address must be escaped in [ square brackets ], e.g. "[ipv6]:port". Use the IPV6FORMAT flag to easier identify if you require square brackets for the IPADDRESS.
  • FULLURI: This is the most exciting new implementation in LoxBerry 2.0.2: For http/https calls to the Miniserver, this property always returns the correct full URI to the Miniserver, including escaped credentials, with the correct transport (http or https) and correct IPAddress format (IPv4 or IPv6). FULLURI is empty if CloudDNS is enabled, as a config file cannot resolve an URI on-the-fly (wink)
  • PREFERHTTPS: This flag is 1, if the user has set "Prefer HTTPS" in the Miniserver widget. For http connections, this flag indicates that your plugin should consider the PORTHTTPS and TRANSPORT
  • PORTHTTPS This is the https port the user entered, or CloudDNS returned. If PREFERHTTPS is 1, use this port instead of PORT
  • TRANSPORT: This property returns "http" if "Prefer HTTPS" is disabled, and "https" if "Prefer HTTPS" is enabled. You directly can use the TRANSPORT property to build your URI.

Pre-Announcement for deprecation

...