I want to get notifications from my 3d printer via home assistant. So far the automation is working great with sending a message when a print has started or stopped.
It would be really nice to send a picture from the webcam as well. Is the xmpp notification capable of doing so? I can’t get it to work.
Here is the automation:
id: ‘1542622228526’
alias: 3D print started
trigger:
entity_id: binary_sensor.octoprint_printing
from: ‘off’
platform: state
to: ‘on’
condition:
action:
5_send_jabber_message_with_image_and_text:
alias: "Send Image and Text via Jabber"
sequence:
- service: notify.jabber
data:
title: "The Time is now"
message: " {{ now() }} , templating works as well..."
data:
url: "https://github.com/home-assistant/home-assistant.io/raw/next/source/images/favicon-192x192.png"