<%# Copyright 2008 Steven Barth Copyright 2008-2011 Jo-Philipp Wich Licensed to the public under the Apache License 2.0. -%> <% local fs = require "nixio.fs" local util = require "luci.util" local stat = require "luci.tools.status" local ver = require "luci.version" local has_ipv6 = fs.access("/proc/net/ipv6_route") local has_dhcp = fs.access("/etc/config/dhcp") local has_wifi = ((fs.stat("/etc/config/wireless", "size") or 0) > 0) local sysinfo = luci.util.ubus("system", "info") or { } local boardinfo = luci.util.ubus("system", "board") or { } local unameinfo = nixio.uname() or { } -%> <%+header%>

<%:Status%>

MAC_ETH
MAC_WLAN
Lora Status
Region
Switch Region
Gateway Mode
Node Example Code node_example.ino
(CubeCell with Arduino)
Server Address
Port Up
Port Down
Gateway ID
MQTT Port
MQTT Username
MQTT Password
MQTT Password Repeat
UPlink Topic
Downlink Topic
<%- local incdir = util.libpath() .. "/view/admin_status/index/" if fs.access(incdir) then local inc for inc in fs.dir(incdir) do if inc:match("%.htm$") then include("admin_status/index/" .. inc:gsub("%.htm$", "")) end end end -%> <%+footer%>