taskGNU remotecontrol - Tasks: task #12522, Add GROUP field to thermostat...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #12522: Add GROUP field to thermostat profile on index.php

Submitter:  Stephen H. Dawson DSL <shdawson>
Submitted:  Sun 10 Mar 2013 12:42:39 AM UTC
   
 
Should Start On:  Sat 09 Mar 2013 05:00:00 AM UTC Should be Finished on:  Sun 14 Jul 2013 04:00:00 AM UTC
Category:  User Interface Priority:  5 - Normal
Item Group:  Installation Status:  Done
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Fixed Release:  1.1
Percent Complete:  100% Planned Release:  1.1

Jump to the original submission

Sat 23 Apr 2016 04:14:17 PM UTC, comment #7: 

I bear witness and certify I have personally tested these changes made to GNU remotecontrol. I affirm the changes made to the code:
-achieve the functionality of the stated requirements;
-succeed during operation; and
-cause no anxiety.

I approve this code.


Thank you to everyone for working on this modification.


Respectfully,
SHD//
Stephen H. Dawson

Stephen H. Dawson DSL <shdawson>
Group administrator
Tue 24 Sep 2013 04:45:26 PM UTC, comment #6: 

I bear witness and certify I have personally tested these changes made to GNU remotecontrol. I affirm the changes made to the code:
-achieve the functionality of the stated requirements;
-succeed during operation; and
-cause no anxiety.

I approve this code.


Thank you to everyone for working on this modification.


Very Respectfully,
SHD//
Stephen H. Dawson

Stephen H. Dawson DSL <shdawson>
Group administrator
Sat 29 Jun 2013 10:27:09 AM UTC, comment #5: 

Splitting off the EXPAND/COLLAPSE functionality to task #12721. Please only add the GROUP field in this task. The remaining  EXPAND/COLLAPSE functionality will need to be completed in version 1.2.

Stephen H. Dawson DSL <shdawson>
Group administrator
Wed 26 Jun 2013 11:20:06 AM UTC, comment #4: 

We need to have the new field of GROUP in version 1.1, but we do not necessary need to have the expand/collapse functionality in version 1.1. If you are pressed for time, we can push the expand/collapse functionality to version 1.2 by making a new task and moving that part of this task over with no problem.

Stephen H. Dawson DSL <shdawson>
Group administrator
Mon 17 Jun 2013 03:20:25 PM UTC, comment #3: 

We would most likely do best by adding functionality to the admin.php page to accomplish generating and deleting groups. That keeps the thermostat profile table on index.php from getting any wider. All we have to do is decide on how we want to add the new field, Group, to that thermostat profile table.

We can have a User section on admin.php, like we have now, and a Group section (either above or below the existing User section). We have 2 on-page hyper-links at the top of admin.php, User   Group, that jumps to each respective section.

We achieve similar functionality in the Group section as we have now in the User section.

****************************
WEB PAGE FIELDS:
-Edit/Add/Update Cancel
-Group Name
-We would most likely do best to go with a Group Description field
-We would most likely do best to add a count of thermostats in a given Group
-Delete
****************************

Now, there is not a lot of value to having a total count of thermostats in a group. This is due to the same problem that exists in the Total Thermostat count. Say user_1 has 10 thermostats, user_2 has 10 thermostats, and user_3 has 10 thermostats. There is no assurance, except by the wisdom of well-executed user choice, to enter 10 exclusive thermostats in each set of user assigned thermostats. There could be overlap that occurs by having the same physical thermostat entered 3 different times; by DNS name, by public IP address, or by private IP address.

I covered speaking to this problem at:
http://www.gnu.org/software/remotecontrol/manual/remotecontrol.html#Fields-1

.....in the Domain Name/IP bullet.

Just the same, we should have that count of thermostats assigned to each Group. This is to solve the problem of if they are moving thermostats to a new group and want to delete that group. Knowing the thermostat count for that group is zero provides, in a web page and not being required to hit the database through SQL to find that answer, if there are any thermostats left in the group before deleting the said group.

The index.php page only provides the functionally to use a pull-down object to select for adding a thermostat into a group. That completely avoids any possibility of typographical errors from a user adding a thermostat and incorrectly entering the group the thermostat is a member of. The pull-down SQL is Select * from GroupName, order by GroupName.

I see a new table, as well.  Probably group is a good name, with a GroupId like we have now with UserId.

Please consider and let me know your thoughts.


Kindly,
SHD

Stephen H. Dawson DSL <shdawson>
Group administrator
Mon 17 Jun 2013 01:39:16 PM UTC, comment #2: 

Adding this new field, group, is simply a text field that is capable of letter, numbers, dashes, colon, whatever the end-user wants to put in there.

If we cannot simply achieve an expand and collapse functionality with PHP/JavaScript, then we need to further explore an additional check-box field (column). This would be to select a group, and that would select all check-boxes of thermostats in that group. This check-box would be only at the group level, but it does seem like a column for group and a column for thermostat would have to happen for this concept to work.

Attached is an idea I came up with. Not a mandate, simply an illustration of my thinking. If we go with an ALL row, we would not need a 2nd column of check boxes. The example to the left of the black line in the attachment is the simplest. The example to the right of the black line is more complicated.

Please review and advise on what you think is best.

Thank You,
SHD

(file #28332)

Stephen H. Dawson DSL <shdawson>
Group administrator
Tue 21 May 2013 10:48:23 PM UTC, comment #1: 

http://www.pge.com/en/about/company/profile/index.page?

Pacific Gas and Electric is a large provider in California.

Stephen H. Dawson DSL <shdawson>
Group administrator
Sun 10 Mar 2013 12:42:39 AM UTC, original submission:  

No pagination, EXPAND/COLLAPSE functionality. Similar to a File Manager (Windows Explorer, Gnome Nautilus).

Having 100,000 thermostats in the GRID would be rather tough to scroll through.  Need to determine how we can assign grouping to the thermostats.

Should the thermostats be a member of a single group, or multiple groups?

The goal is to select a GROUP of thermostats in a single click. This would avoid having to select all thermostats that are in a group. An example of this is a Power Grid.

https://www.dom.com/about/electric-transmission/transmission-grid.jsp

http://www.npr.org/templates/story/story.php?storyId=110997398




The thought is to help with power outages and roaming brown outs.

https://www.dom.com/about/electric-transmission/transmission-grid.jsp

https://www.dom.com/storm-center/dominion-electric-outage-map.jsp

Stephen H. Dawson DSL <shdawson>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #28332:  GROUP - Illustration of Ideas.ods added by shdawson (17KiB - application/vnd.oasis.opendocument.spreadsheet)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by shdawson (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 16 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-04-23 shdawson Open/ClosedOpen Closed
    2013-09-24 shdawson StatusReady For Test Done
        Assigned tovirgiliolino None
        Percent Complete0% 100%
    2013-07-21 shdawson StatusNeed Info Ready For Test
    2013-06-29 shdawson Should be Finished on2013-07-28 2013-07-14
    2013-06-29 shdawson SummaryAdd EXPAND/COLLAPSE to thermostats in GRID Add GROUP field to thermostat profile on index.php
    2013-06-29 shdawson Item GroupNone Installation
    2013-06-18 shdawson Fixed ReleaseNone 1.1
    2013-06-17 shdawson Attached File- Added GROUP - Illustration of Ideas.ods, #28332
    2013-06-16 shdawson Planned Release1.2 1.1
    2013-06-16 shdawson Should be Finished on2013-09-28 2013-07-28
    2013-06-16 shdawson Should be Finished on2013-09-15 2013-09-28
    2013-06-16 shdawson Assigned toshdawson virgiliolino
    2013-06-16 shdawson Should be Finished on2013-03-09 2013-09-15
    2013-03-10 shdawson CategoryPHP User Interface

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code