Author |
|
MrGibbage Super User
Joined: October 23 2006 Location: United States
Online Status: Offline Posts: 513
|
Posted: January 06 2010 at 22:17 | IP Logged
|
|
|
I didn't want to threadjack the other sorting question in
this forum, but how does one sort the webview of the Device
Status page? When I view the page in PH, it is sorted by
"Type" (Digital Input, Digital Output, Insteon, Int Grp).
But when I view the page over the PH web server, I think it
is sorted by "Location". I see no place to change the sort
though.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: January 07 2010 at 13:26 | IP Logged
|
|
|
I checked the code and the default sort for both the Client device status and the Web device status is Location, Type, ID. Of course, in the client, you can change the sort to whatever you like and I suspect this is the case with your system.
What isnt well known is that you can sort the Web device status as well. Its not the easiest to explain but I'll give it a try. The first thing to do is to determine the actual column names. This is easiest by just opening the client device status screen and clicking on the sort button. In the left hand pane of the sort window are the actual column names. Say we want to sort by the column that appears in the device status screen as "Device Name". In the sort list, the actual column name is "key_desc". To get a web device status sorted by device name you could use this URL:
http://127.0.0.1:8000/ph-cgi/main?sort=key_desc
Of course, you may have to adjust the IP and port for your web server. You can go into Web Server settings in the PowerHome Explorer and change your main page to use this customized URL so it always sorts this way.
Hope this helps,
Dave.
|
Back to Top |
|
|
|
|