Is IPv6 available for Edge Lan driver

unfortunately search

https://developer.smartthings.com/docs/edge-device-drivers/search.html?q=ipv6&check_keywords=yes&area=default

gives nothing on this.

and

    local host = "fd9a:9169:3c05:1:e2f7:411a:7b09:3a0c"
    local port = 5683

    local ok, err = udp:setpeername(host, port)
    if not ok then
        return nil, "Failed to set udp peer name: " .. err
    end

fails with “Failed to set udp peer name: unsupported”

local host = “[fd9a:9169:3c05:1:e2f7:411a:7b09:3a0c]”

fails with Error: Failed to set udp peer name: Name or service not known

Hi, @veonua
I asked the team about this, once we get more info, we’ll let you know,

1 Like

I’ve yet to see evidence that the IP stack on the V2 hubs supports IPv6. There’s no mention of a local IPv6 address being bound in the CLI (or IDE of course).

Looking at it from one perspective, having something related to IPv6 is necessary due to the presence of Thread. However, I attempted to initialize udp6 from cosock, and it resulted in a nil reference error.

The V2 hubs are not Thread Border Routers. Only the V3 and the Station are so far. I don’t know if that’s related to the issue you’re seeing, though. :thinking:

image

my hub has Thread, so IPv6 is here at some level.
However, the problem lies with the obsolete Lua libraries and the possibly stringent security measures that restrict access to anything except local addresses.

1 Like

Hi, @veonua

The team mentioned that IPv6 isn’t supported in Edge.

1 Like

Then how can it support Matter, which uses IPv6 addresses for both Thread and WiFi devices? There are already some Matter Edge Drivers, separate from the LAN Edge Drivers. From the SmartThings developer documentation on Edge:

Get Started with SmartThings Edge | Developer Documentation | SmartThings

Hub Connected Devices connect to a SmartThings-compatible Hub using the Matter, Zigbee, Z-Wave, or LAN protocols. A SmartThings-compatible Hub enables Matter, Zigbee, Z-Wave, and LAN Devices to integrate with the SmartThings Platform, allowing you to view and control your Devices from SmartThings clients and incorporate these Devices into Automations and more.

The Matter protocol requires IPv6.

Matter uses IPv6 for its operational communications, and leverages both IPv6 Unicast and Multicast addressing for accessing its Nodes and Groups, respectively.

1 Like

Edge and Matter are two different things entirely.