#21 Add PowerOFF when print is finished

This commit is contained in:
David Zingg
2020-06-28 14:20:30 +02:00
parent 2148d75b29
commit 78df6af17c
3 changed files with 19 additions and 228 deletions

View File

@ -62,8 +62,8 @@ $(function() {
})
}
//self.automaticShutdownEnabled.subscribe(self.onAutomaticShutdownEnabledChanged,self);
//self.automaticPowerOffEnabled.subscribe(self.onAutomaticPowerOffEnabledChanged,self);
self.automaticShutdownEnabled.subscribe(self.onAutomaticShutdownEnabledChanged,self);
self.automaticPowerOffEnabled.subscribe(self.onAutomaticPowerOffEnabledChanged,self);
self.onDataUpdaterPluginMessage = function(plugin, data) {
if (plugin != "mystromswitch" && plugin != "octoprint_mystromswitch") {