here is high level overview with detail which was key to have all this working.
Printer
-
I`m using MERLIN FW 2.0.7.3 the IMPORTANT part here is to enable following setting in
to enable “status” reporting to Octoprint.
enable in MERLIN:
#define HOST_ACTION_COMMANDS
#define HOST_PROMPT_SUPPORT -
The sensor for Ender 3 I installed - https://www.youtube.com/watch?v=5Jt-
Qc67FDo&t=361s&ab_channel=Crosslink
Octoprint -
install Homeassistant MQTT plugin to push ‘homeassistant’ topics to HA directly.
no other settings needed.
HA
- if all goes well you will see printer and bunch of sensors ( 25~ ) in Integration -> MQTT
- one of those sensors is Octoprint Print Status which will give you all sorts of sttauses like ERROR , PRINTING, PAUSE etc…
- you can create simple status change automation on this status change to send whatsapp or anything else.