Compare commits

...

5 Commits

Author SHA1 Message Date
Jason Bruce
0958eddbfb
Revert "profile filetype checks" 2024-07-02 13:57:11 -04:00
Jason Bruce
2e756178dc
Merge pull request #168 from SamSkjord/master
profile filetype checks
2024-07-02 13:56:42 -04:00
Sam
96e5919464 profile filetype checks
Added my Controller as a samba share so I could edit profile files remotely, as OSX is very aggressive about shoving ._ files where you don't want them,
I added a check for that and another check to make sure to only try and open files ending in .json
2024-01-23 14:23:57 +00:00
jbruce
7c7a1b648e remove the loading message 2022-12-16 14:21:37 -05:00
jbruce
f0c97ed220 make hours the tick size on the live graph always 2022-12-16 09:49:19 -05:00
2 changed files with 20 additions and 20 deletions

View File

@ -107,7 +107,7 @@ sim_R_ho_air = 0.05 # K/W " with internal air circulation
temp_scale = "f" # c = Celsius | f = Fahrenheit - Unit to display
time_scale_slope = "h" # s = Seconds | m = Minutes | h = Hours - Slope displayed in temp_scale per time_scale_slope
time_scale_profile = "h" # s = Seconds | m = Minutes | h = Hours - Enter and view target time in time_scale_profile
time_scale_profile = "m" # s = Seconds | m = Minutes | h = Hours - Enter and view target time in time_scale_profile
# emergency shutoff the profile if this temp is reached or exceeded.
# This just shuts off the profile. If your SSR is working, your kiln will

View File

@ -368,14 +368,14 @@ function saveProfile()
}
function get_tick_size() {
switch(time_scale_profile){
case "s":
return 1;
case "m":
return 60;
case "h":
return 3600;
}
//switch(time_scale_profile){
// case "s":
// return 1;
// case "m":
// return 60;
// case "h":
// return 3600;
// }
return 3600;
}
@ -473,17 +473,17 @@ $(document).ready(function()
{
console.log("Status Socket has been opened");
$.bootstrapGrowl("<span class=\"glyphicon glyphicon-exclamation-sign\"></span>Getting data from server",
{
ele: 'body', // which element to append to
type: 'success', // (null, 'info', 'error', 'success')
offset: {from: 'top', amount: 250}, // 'top', or 'bottom'
align: 'center', // ('left', 'right', or 'center')
width: 385, // (integer, or 'auto')
delay: 2500,
allow_dismiss: true,
stackup_spacing: 10 // spacing between consecutively stacked growls.
});
// $.bootstrapGrowl("<span class=\"glyphicon glyphicon-exclamation-sign\"></span>Getting data from server",
// {
// ele: 'body', // which element to append to
// type: 'success', // (null, 'info', 'error', 'success')
// offset: {from: 'top', amount: 250}, // 'top', or 'bottom'
// align: 'center', // ('left', 'right', or 'center')
// width: 385, // (integer, or 'auto')
// delay: 2500,
// allow_dismiss: true,
// stackup_spacing: 10 // spacing between consecutively stacked growls.
// });
};
ws_status.onclose = function()