#21 Add PowerOFF when print is finished
This commit is contained in:
parent
78df6af17c
commit
041fe67773
@ -2,9 +2,7 @@
|
|||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<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$/octoprint_mystromswitch/__init__.py" beforeDir="false" afterPath="$PROJECT_DIR$/octoprint_mystromswitch/__init__.py" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/octoprint_mystromswitch/__init__.py" beforeDir="false" afterPath="$PROJECT_DIR$/octoprint_mystromswitch/__init__.py" 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" />
|
|
||||||
</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 +47,6 @@
|
|||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1574193087583</updated>
|
<updated>1574193087583</updated>
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00021" summary="#6 UI Updates senden und anzeigen">
|
|
||||||
<created>1574283721587</created>
|
|
||||||
<option name="number" value="00021" />
|
|
||||||
<option name="presentableId" value="LOCAL-00021" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1574283721587</updated>
|
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00022" summary="#6 UI Updates senden und anzeigen">
|
<task id="LOCAL-00022" summary="#6 UI Updates senden und anzeigen">
|
||||||
<created>1574284067356</created>
|
<created>1574284067356</created>
|
||||||
<option name="number" value="00022" />
|
<option name="number" value="00022" />
|
||||||
@ -392,7 +383,14 @@
|
|||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1582993317859</updated>
|
<updated>1582993317859</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="70" />
|
<task id="LOCAL-00070" summary="#21 Add PowerOFF when print is finished">
|
||||||
|
<created>1593346830444</created>
|
||||||
|
<option name="number" value="00070" />
|
||||||
|
<option name="presentableId" value="LOCAL-00070" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1593346830445</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="71" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="UnknownFeatures">
|
<component name="UnknownFeatures">
|
||||||
|
@ -6,6 +6,7 @@ import requests
|
|||||||
import ssl
|
import ssl
|
||||||
import time
|
import time
|
||||||
from octoprint.util import RepeatedTimer
|
from octoprint.util import RepeatedTimer
|
||||||
|
from octoprint.events import eventManager, Events
|
||||||
|
|
||||||
|
|
||||||
class MyStromSwitchPlugin(octoprint.plugin.SettingsPlugin,
|
class MyStromSwitchPlugin(octoprint.plugin.SettingsPlugin,
|
||||||
|
Loading…
Reference in New Issue
Block a user