Notifications
Clear all

How to receive IFTTT Notifications  

  RSS
SeattleDavid
(@seattledavid)
Estimable Member
How to receive IFTTT Notifications

Is anybody aware of any simple instructions on how to get IFTTT notifications when a print on the Mini+ is completed? (Without using Octoprint)

There is apparently some type of an "API" which can then be in some way integrated with IFTTT. Has anybody seen a writeup that walks through how to do this?

The end goal is to trigger an IFTTT event when printing has completed or if there is a problem.

Thank you.

Posted : 09/09/2023 9:28 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE:

I'm using Node RED http node to request printer state and then detecting if there is printing going on or not.
You could then add logic and notification to IFFT via Node Red.
https://github.com/nvtkaszpir/prusa-esp32-node-red-time-lapse
In the part of the flow I would do something like this:
- get printer state via web api (via http + api key)
- process output (which is in json) and extract if the printer is printing or not
- add logic to route messages depending on printing state (printing/not-printing)
- to 'printing' output attach trigger that will wait for some incoming messages and suppress them if new ones come within 5s - in this way when printer stops printing then flow of new messages stops - and then this will trigger sending message
- after trigger attach ifft node (or exec) to send message

Of course that could be extended to process other printer data in case of print etc to for example send notification in case of print errors based on printer status.

You could also make it with some shell script with a loop and cli tools to send notification to IFFT.

See my GitHub and printables.com for some 3d stuff that you may like.

Posted : 10/09/2023 8:59 am
SeattleDavid
(@seattledavid)
Estimable Member
Topic starter answered:
RE:

I don’t want this to be a project that consumes more time than it saves.

Isn’t there a way if connecting the Mini+ to IFTTT without having to build and maintain an intermediary system or code?

My understanding was that the Mini+ had some sort of built-in API that connected with Prusa’s cloud.

Posted : 10/09/2023 2:17 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: How to receive IFTTT Notifications

Unfortunately currently Prusa Mini is not supported by Prusa Connect yet. 

Which means for now you have to create and maintain third party integration on for example RaspberryPi or ESP32 to check printer status over network via printer API and send messages to IFFT.

See my GitHub and printables.com for some 3d stuff that you may like.

Posted : 10/09/2023 2:30 pm
SeattleDavid
(@seattledavid)
Estimable Member
Topic starter answered:
RE: How to receive IFTTT Notifications

OK, thanks for the information.

I was looking for a simple solution that wouldn’t consume more time than it saved.

It’s unclear that there will be any more meaningful firmware updates for the Mini+, considering it’s been eight months since the last one, how insignificant the updates have been, and that Prusa seems to have moved on from the Mini as being their flagship. (Does Prusa have like one single programmer? They seem to be very brain-constrained.)

Posted : 10/09/2023 2:35 pm
Share: