diff --git a/octoprint_IFTTTmaker/__init__.py b/octoprint_IFTTTmaker/__init__.py index 8fcf9bf..24e9097 100644 --- a/octoprint_IFTTTmaker/__init__.py +++ b/octoprint_IFTTTmaker/__init__.py @@ -86,15 +86,15 @@ def _send_ifttt(self, trigger, makerkey, value1=None, value2=None, value3=None): def get_update_information(self): return dict( - iftttmaker=dict( + IFTTTmaker=dict( displayName=self._plugin_name, displayVersion=self._plugin_version, type="github_release", current=self._plugin_version, user="sedgett", - repo="OctoPrint-IFTTTmaker", - + repo="OctoPrint_IFTTTmaker", + stable_branch=dict(branch="master", name="Stable"), pip="https://github.com/sedgett/OctoPrint-IFTTTmaker/archive/{target_version}.zip" ) ) diff --git a/octoprint_IFTTTmaker/templates/IFTTTmaker_settings.jinja2 b/octoprint_IFTTTmaker/templates/IFTTTmaker_settings.jinja2 index 0e04464..4ed6a30 100644 --- a/octoprint_IFTTTmaker/templates/IFTTTmaker_settings.jinja2 +++ b/octoprint_IFTTTmaker/templates/IFTTTmaker_settings.jinja2 @@ -11,10 +11,10 @@
+ {% set events = ["PrintStarted", "PrintFailed", "PrintDone", "PrintCancelled", "MovieDone", "ClientOpened"] %} {% for event in events %} -
{% endfor %} +
- Select the Events to enable for IFTTT triggers. Note: op- is pre-pended the the OctoPrint event name.
+ Select the Events to enable for IFTTT triggers.
Note: op- is pre-pended the the OctoPrint event name.

e.g. Create a IFTTT action using the trigger op-MovieDone and the action to power off your printer via Wemo or another IFTTT controlled electrical device.
(Using MovieDone allows the printer time to cooldown before being powered off)