rssi_val=s:taboption("advanced",Value,"rssi_val",translate("Threshold for a good RSSI"))
rssi_val=s:taboption("advanced",Value,"rssi_val",translate("Threshold for a good RSSI"))
rssi_val.default="-60"
rssi_val.default="-60"
--rssi_val.datatype = "range(-1,-120)"
--rssi_val.datatype = "range(-1,-120)"
rssi_val:depends("kvr",1)
low_rssi_val=s:taboption("advanced",Value,"low_rssi_val",translate("Threshold for a bad RSSI"))
low_rssi_val=s:taboption("advanced",Value,"low_rssi_val",translate("Threshold for a bad RSSI"))
low_rssi_val.default="-88"
low_rssi_val.default="-88"
--low_rssi_val.datatype = "range(-1,-120)"
--low_rssi_val.datatype = "range(-1,-120)"
low_rssi_val:depends("kvr",1)
---- Apply MESH settings
---- Apply MESH settings
@ -207,6 +199,7 @@ o:depends("role", "off")
btnAPMode=s:taboption("apmode",Button,"_btn_apmode",translate("Join Mesh Network"),translate("WARNING: THIS WILL CHANGE THIS NODE'S IP ADDRESS, YOU WILL LOOSE ACCESS TO THIS UI"))
btnAPMode=s:taboption("apmode",Button,"_btn_apmode",translate("Join Mesh Network"),translate("WARNING: THIS WILL CHANGE THIS NODE'S IP ADDRESS, YOU WILL LOOSE ACCESS TO THIS UI"))
functionbtnAPMode.write()
functionbtnAPMode.write()
io.popen("/easymesh/easymesh.sh dumbap &")
io.popen("/easymesh/easymesh.sh dumbap &")
luci.sys.call("/easymesh/dumbap.sh")
end
end
btnAPMode:depends("role","off")
btnAPMode:depends("role","off")
---- ip address
---- ip address
@ -230,8 +223,7 @@ ctrl = m:section(TypedSection, "easymesh", "Click Save Then Enable or Disable Yo