Commit Graph

58 Commits

Author SHA1 Message Date
28edc70855 Add option to remember last fan speed
Add the option to remember the last speed value and set the slider on load/refresh
2018-12-07 03:29:09 +10:00
5dc813fb7b add init min and max pwm 2018-11-17 11:41:55 +10:00
2a779c9489 bump version to 0.1.8 0.1.8 2018-04-25 14:36:24 +10:00
b5693e2e34 fix regex not matching properly for low digit count values of S
see issue #9
2018-04-25 14:35:06 +10:00
55b2a05531 merge 0.1.7
update version
0.1.7
2017-12-02 08:03:18 +10:00
750f49e173 Merge branch 'master' into devel 2017-12-02 08:01:16 +10:00
8e547c6def add repo info 2017-12-02 07:01:47 +10:00
bba91bba88 remove dev thing from version 2017-11-18 08:24:16 +10:00
1c6e0d442e changes to the settings page
added helpful popup hints and removed the somewhat obvious line of text about limiting the fans output.
2017-11-18 08:00:16 +10:00
22ce5c7ec7 increase the div width in settings to 90% 2017-11-18 07:55:30 +10:00
ab2fa40b32 remove unnecessary css
plugin should now rely on touchUI's own css so removed my dodgy fix
2017-11-18 07:22:26 +10:00
47a3537490 move input box under touchUI + fix non functional button
move the input box over underneath the feedrate / flowrate to keep them all in the same spot and fix the stupid button not working in firefox (NFI why it didn't work, the code is literally the same it's just in a new spot. GG)
2017-11-18 07:21:29 +10:00
98d35249b0 new dev version 2017-11-18 06:55:07 +10:00
83249281cf update version 0.1.6 2017-11-18 06:39:33 +10:00
8f710befbe Merge pull request #5 from ntoff/devel
Devel -> master
2017-11-18 06:38:59 +10:00
d2f1ed57ad add settings cleanup function
Clean up and remove empty config if everything is set to default values
2017-11-18 06:31:22 +10:00
f13fda67e2 modify settings saving to save integers 2017-11-18 05:59:54 +10:00
59ef6652eb remove use strict
testing's over, remove "use strict"
2017-11-18 05:02:44 +10:00
c7c2f52149 add some comments
clarify fan speeds are 0-100% not 0-255 pwm values
2017-11-18 05:01:52 +10:00
943fca8581 control -> settings + tweak info timeout
for some reason I was  saving settings in the control viewmodel, changed to the settings viewmodel and increased the default time the notices are visible by 1 second
2017-11-18 04:36:40 +10:00
b359461d80 fix issue with touch ui max slider value being wrong and fix padding
if touchui was active the max value was 255, also added a bit of extra width so the button doesn't resize (at least when the button text is in english)
2017-11-18 04:18:37 +10:00
addd0ffa4b check for notifications and don't display if one is active
check for high / low speed out of range popups and only display one, block popping up of multiple notifications for the same event
2017-11-12 16:26:38 +10:00
70d3e0803b separate stuff into their own functions
move percent to pwm function and checking the slider value is within range into their own functions
2017-11-12 06:33:51 +10:00
9ff32751f8 dev version 2017-11-12 05:53:52 +10:00
3049d0fedf fix default fan speed slider position
oops, forgot the last bit of the if else statement
2017-11-12 05:19:12 +10:00
21e4627da2 missing span on touchui button + less global
hopefully nothing global "use strict" seems to not complain :D
2017-11-12 04:46:00 +10:00
a47ead4db3 tweak settings loader
parseint to make sure we're loading numbers and tweak the slider to adapt to the min/max value on UI load if the default value is outside the allowed range
2017-11-12 03:38:25 +10:00
f7faf42a87 remove unnecessary added classes
get rid of the extra classes added to make finding the buttons easier, turns out they aren't needed
2017-11-12 02:20:17 +10:00
2d7f2f443a update readme with new autohide setting 2017-11-12 01:20:17 +10:00
deb15025d8 min/max requirement notification text fix
speed decrease notification used "meet minimum requirement" which might be misleading, changed to "meet maximum requirement"
2017-11-12 01:11:36 +10:00
175722a015 fix javascript console logging of fan speed notification
log was being output after the slider was set causing it to display the wrong value
2017-11-12 01:08:27 +10:00
f4bb25718a add some notifications about fan speed being altered
Added a popup notification (can be disabled) and some console log text if the fan speed is altered. Also made the slider snap to the min/max value if it is out of range to give visual feedback that the plugin is doing something to the fan speed.
2017-11-12 01:02:29 +10:00
7bdd260617 use other view model push method
http://docs.octoprint.org/en/master/plugins/viewmodels.html#registering-custom-viewmodels says the other way is depreciated
2017-11-11 21:41:07 +10:00
0e71971e66 add percentage to logger message
add a more "human readable" percentage value to the logged fan speed (if modified)
2017-11-11 21:31:05 +10:00
99364df94e wrap it in a try catch
Hopefully when something in my plugin breaks (that's when, not if) it won't take down all of octoprint's UI.
2017-11-06 17:23:25 +10:00
56f73ad6ab increment version to 0.1.5 0.1.5 2017-10-12 00:59:42 +10:00
9fe9e04016 fix button while printing (touchUI)
missed that one :(
2017-10-11 23:18:34 +10:00
0772aaae3a new version again
so I guess github doesn't support a b c releases?
0.1.4
2017-09-25 06:48:54 +10:00
112852d619 new version 0.1.3b 2017-09-25 06:42:48 +10:00
0462a7552e fix buttons disabled during printing
closes #3
2017-09-25 06:42:02 +10:00
43499cbe9c Update README.md
oops, forgot to edit for the limiter
0.1.3
2017-09-25 06:29:19 +10:00
ce10fc7e3b Merge pull request #2 from ntoff/limiter
Limiter
2017-09-25 06:24:37 +10:00
6699679ca2 update version 2017-09-25 06:22:27 +10:00
988512f522 rename default fan speed variable to be more clear 2017-09-06 17:52:23 +10:00
b03a045b24 self fanpwn 2017-09-05 22:57:53 +10:00
6124bba2e7 try rounding 2017-09-05 11:13:39 +10:00
554d78efb7 make same code into a function 2017-09-05 10:57:55 +10:00
525a08c20e update settings page help text 2017-09-05 10:56:39 +10:00
2cc132213f added some comments 2017-09-05 09:37:05 +10:00
30ee76bf7e add a limiter 2017-09-05 03:52:55 +10:00