DeDragonSlayer
Occasional Visitor
On a different note, I noticed that amtm displays Access Point (AP) operation mode for my AiMesh and Media Bridge devices. 
I dug a bit and found this thread, which seemed to suggest there's more than one nvram variable at play.
Then I checked the nvram values for my devices and I got:
Media Bridge (RT-AC68U, RT-N66U):
sw_mode=3
wlc_psta=1
AiMesh node (RT-AC86U):
sw_mode=3
wlc_psta=2
Main router (RT-AX88U):
sw_mode=1
wlc_psta=0
So i modified locally amtm code with the following snippet:
	
	
	
		
and it seems to work, at least in my limited scenario. I have no idea if values 4 and 5 for sw_mode are still being used, so I just left them in there.
Hoping this post is useful, but obviously in the low-priority minor improvement suggestion category.
				
			I dug a bit and found this thread, which seemed to suggest there's more than one nvram variable at play.
Then I checked the nvram values for my devices and I got:
Media Bridge (RT-AC68U, RT-N66U):
sw_mode=3
wlc_psta=1
AiMesh node (RT-AC86U):
sw_mode=3
wlc_psta=2
Main router (RT-AX88U):
sw_mode=1
wlc_psta=0
So i modified locally amtm code with the following snippet:
		Code:
	
	 OM='Operation Mode:'
                case "$(nvram get sw_mode)" in
                        1) echo " $OM Wireless router";;
                        2) echo " $OM Repeater";;
                        3) case "$(nvram get wlc_psta)" in
                                1) echo " $OM Media Bridge";;
                                2) echo " $OM AiMesh Node";;
                                *) echo " $OM Access Point (AP)";;
                                esac;;
                        4) echo " $OM Media Bridge";;
                        5) echo " $OM AiMesh Node";;
                        *) echo " $OM $(nvram get sw_mode), as-yet-unknown";;
                esac
	Hoping this post is useful, but obviously in the low-priority minor improvement suggestion category.
	