Matchstic / Xen-HTML

Unified and simplified HTML rendering
GNU General Public License v2.0
109 stars 16 forks source link

Unable to call System IP Address from API without XenInfo #336

Open 0utlawActual opened 3 years ago

0utlawActual commented 3 years ago

YOU MUST COMPLETE THIS FORM This information is asked to help figure out issues. Your issue may be closed without any resolution if you fail to fill out the form.

Describe the bug

Unable to pull system IP address like previously available with XenInfo

To Reproduce

Steps to reproduce the behavior:

  1. Have a widget that calls for system IP address and and displays it on lockscreen with Xen HTML 1.1.5 and XenInfo 2.2.9 e.g. : if(type == "system"){
    var IP = ipAddress; if (IP == "error") { IP = "WiFi Not Connected"; } else { IP = ipAddress; }
    ipDiv.innerHTML = 'IPv4: ' + IP +
  2. Update to Xen HTML 2.0
  3. Wiget no longer displays IP address

Expected behavior

Widget should display IP address

Screenshots

System Info

Additional context

Cannot find documentation in https://incendo.ws/documentation/widget-api/index.html on how to pull system IP address.

Thanks for your attention