Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need front-end HTML/JS page to make changes config file and post them to server #5

Open
science opened this issue Aug 12, 2013 · 0 comments
Assignees

Comments

@science
Copy link
Owner

science commented Aug 12, 2013

Propose jQuery mobile for user interface to make the page mobile ready.

Server new functions:

Get available config files as list

Returns: json array of config filenames

Update config file

Takes a post with a json payload
Requires an auth key on get line
Updates the local filename specified with the new json payload

Update internal status file from thermostat

Takes a post with a json payload
Requires an auth key on the get line
Updates the local filename specified with the new json payload

Auth keys

To update any file requires an auth key

Thermoclient new functions

Send internal status file to server

Posts internal status_metadata file to server during process_schedule

Boot.json addition

Add auth key section

HTML/JS UI new functions

Create static javascript web page that can do several things

  • Present list of available config files
  • Allow selection of desired config file
    • Display status_metadata file settings associated with config file
  • Allow modification of various settings
    • Change operation_mode from daily to hold/immediate to off
    • Adjust temp to set temp_override
  • Allow post of modifications to server with auth key
@ghost ghost assigned science Aug 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant