#21 Add PowerOFF when print is finished
This commit is contained in:
parent
cc1254f7f9
commit
df2ee686ec
@ -4,7 +4,6 @@
|
|||||||
<list default="true" id="7e2e0eec-b22e-4d48-8f24-196d1ed9b51a" name="Default Changelist" comment="">
|
<list default="true" id="7e2e0eec-b22e-4d48-8f24-196d1ed9b51a" name="Default Changelist" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/octoprint_mystromswitch/static/js/mystromswitch.js" beforeDir="false" afterPath="$PROJECT_DIR$/octoprint_mystromswitch/static/js/mystromswitch.js" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/octoprint_mystromswitch/static/js/mystromswitch.js" beforeDir="false" afterPath="$PROJECT_DIR$/octoprint_mystromswitch/static/js/mystromswitch.js" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2" beforeDir="false" afterPath="$PROJECT_DIR$/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
@ -49,13 +48,6 @@
|
|||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1574193087583</updated>
|
<updated>1574193087583</updated>
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00029" summary="#8 Relais ein / ausschalten von Ocotprint aus">
|
|
||||||
<created>1574606292074</created>
|
|
||||||
<option name="number" value="00029" />
|
|
||||||
<option name="presentableId" value="LOCAL-00029" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1574606292074</updated>
|
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00030" summary="#8 Relais ein / ausschalten von Ocotprint aus - url korrigiert">
|
<task id="LOCAL-00030" summary="#8 Relais ein / ausschalten von Ocotprint aus - url korrigiert">
|
||||||
<created>1574606712347</created>
|
<created>1574606712347</created>
|
||||||
<option name="number" value="00030" />
|
<option name="number" value="00030" />
|
||||||
@ -392,7 +384,14 @@
|
|||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1593348512259</updated>
|
<updated>1593348512259</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="78" />
|
<task id="LOCAL-00078" summary="#21 Add PowerOFF when print is finished">
|
||||||
|
<created>1593348977898</created>
|
||||||
|
<option name="number" value="00078" />
|
||||||
|
<option name="presentableId" value="LOCAL-00078" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1593348977898</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="79" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="UnknownFeatures">
|
<component name="UnknownFeatures">
|
||||||
|
@ -64,8 +64,8 @@ $(function() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
self.automaticShutdownEnabled.subscribe(self.onAutomaticShutdownEnabledChanged,self);
|
self.automaticShutdownEnabled.subscribe(self.onAutomaticShutdownEnabledChanged, self);
|
||||||
self.automaticPowerOffEnabled.subscribe(self.onAutomaticPowerOffEnabledChanged,self);
|
self.automaticPowerOffEnabled.subscribe(self.onAutomaticPowerOffEnabledChanged, self);
|
||||||
|
|
||||||
self.onDataUpdaterPluginMessage = function(plugin, data) {
|
self.onDataUpdaterPluginMessage = function(plugin, data) {
|
||||||
if (plugin != "mystromswitch" && plugin != "octoprint_mystromswitch") {
|
if (plugin != "mystromswitch" && plugin != "octoprint_mystromswitch") {
|
||||||
@ -83,8 +83,8 @@ $(function() {
|
|||||||
self.mystromswitchPowerValue.innerHTML = "myStrom switch not reachable"
|
self.mystromswitchPowerValue.innerHTML = "myStrom switch not reachable"
|
||||||
self.mystromswitchEnergyValue.innerHTML = "Check url in Plugin Settings"
|
self.mystromswitchEnergyValue.innerHTML = "Check url in Plugin Settings"
|
||||||
}
|
}
|
||||||
self.automaticShutdownEnabled = data.automaticShutdownEnabled;
|
self.automaticShutdownEnabled(data.automaticShutdownEnabled);
|
||||||
self.automaticPowerOffEnabled = data.automaticPowerOffEnabled;
|
self.automaticPowerOffEnabled(data.automaticPowerOffEnabled);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user