ShareShortcuts

iDevice Informant

Get local and remote IP for your iPhone or iPad with this awesome Shortcut

Fork “iDevice Informant”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so the original creator gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
75K
Saved
1
Actions
46
Category
Utilities
Version
1.0
Language
EN

Preview

Get local and remote IP for your iPhone or iPad with this awesome Shortcut.

What's New

Version 1.0

First release

Version History
1.0 Oct 6, 2018

First release

What it does

46 actions
  1. Comment
    Created by @esaruoho (/u/esaruoho)
  2. Get Battery Level
  3. Get Device Details
  4. Set Variable
    deviceName
  5. Get Device Details
  6. Calculate
  7. Round Number
  8. Set Variable
    currentVolume
  9. Get Device Details
  10. Calculate
  11. Round Number
  12. Set Variable
    currentBrightness
  13. Get Device Details
  14. Set Variable
    systemVersion
  15. Get Device Details
  16. Calculate
  17. Set Variable
    screenWidth
  18. Get Device Details
  19. Calculate
  20. Set Variable
    screenHeight
  21. Get Device Details
  22. Set Variable
    deviceModel
  23. Get Network Details
  24. Set Variable
    wifiNetworkName
  25. Get Network Details
  26. Set Variable
    wifiBSSID
  27. Get Network Details
  28. Set Variable
    carrierName
  29. Get Network Details
  30. Set Variable
    radioTechnology
  31. Get Network Details
  32. Set Variable
    mobileCountryCode
  33. Get IP Address
  34. Set Variable
    currentIPv4
  35. Get IP Address
  36. Get IP Address
  37. Set Variable
    externalIPv4
  38. Get IP Address
  39. Set Variable
    externalIPv6
  40. Set Variable
    currentIPv6
  41. Text
  42. Set Variable
    informantResults
  43. Show Alert
    iDevice Informant
  44. Choose from Menu
  45. Choose from Menu
    Copy to Clipboard
  46. Copy to Clipboard

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/sharing'
#include 'actions/network'
#include 'actions/math'
#include 'actions/device'
#define color violet
#define glyph microscope

// Created by @esaruoho (/u/esaruoho)

getBatteryLevel()
getDeviceDetail("")
@deviceName = nil
getDeviceDetail("Current Volume")
round(0)
@currentVolume = nil
getDeviceDetail("Current Brightness")
round(0)
@currentBrightness = nil
getDeviceDetail("System Version")
@systemVersion = nil
getDeviceDetail("Screen Width")
@screenWidth = nil * 3
getDeviceDetail("Screen Height")
@screenHeight = nil * 3
getDeviceDetail("Device Model")
@deviceModel = nil
getWifiDetail("Network Name")
@wifiNetworkName = nil
getCellularDetail("")
@wifiBSSID = nil
getCellularDetail("")
@carrierName = nil
getWifiDetail("")
@radioTechnology = nil
getWifiDetail("")
@mobileCountryCode = nil
getExternalIP()
@currentIPv4 = nil
getExternalIP("IPv6")
getExternalIP()
@externalIPv4 = nil
getExternalIP()
@externalIPv6 = nil
@currentIPv6 = nil
@informantResults = "Name:  {@deviceName} ({@deviceModel})\nScreen resolution: {@screenHeight} x {@screenWidth}\n\nBattery: {}%\nVolume: {@currentVolume}%\nBrightness: {@currentBrightness}%\n\niOS version: {@systemVersion}\n\nWi-Fi Network Name: {@wifiNetworkName}\nWi-Fi BSSID: {@wifiBSSID}\nMobile Data Carrier Name: {@carrierName}\nMobile Data Radio Technology: {@radioTechnology}\nMobile Data Country Code: {@mobileCountryCode}\n\nIP:\nExternal (IPv4): {@externalIPv4}\nExternal (IPv6): {@externalIPv6}\nLocal (IPv4): {@currentIPv4}\nLocal (IPv6): {@currentIPv6}"
alert(@informantResults, "iDevice Informant")

menu nil {
item "Copy to Clipboard":
	setClipboard(nil)
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Oct 10, 2018
danielbahl

Well-Crafted - Thanks for sharing 😎

Advertisement

From the Blog

Reviews and guides featuring iDevice Informant

You Might Also Like

See All
Advertisement