Pony
(l)
February 4, 2026, 10:06am
1
How can I use the Meshtastic integration to create an automation that forwards the messages I receive via Telegram?
With this action, I only receive logging as a message:
data:
message: “Nachricht: {{ states ("meshtastic.gateway_d864_dm") }}”
You have to use an Event trigger.
- trigger: event
event_type: meshtastic_api_text_message
Then in your action you strip the message data from the event:
data:
message: "Nachricht: {{trigger.event.data.data.message | default('Keine Nachricht', 1)}}"
1 Like
Pony
(l)
February 5, 2026, 5:52am
3
Thank you for your message, but unfortunately it doesn’t work.
alias: Meshtastic test
description: ""
triggers:
- trigger: event
event_type: meshtastic_api_text_message
conditions: []
actions:
- action: notify.send_message
metadata: {}
target:
entity_id: notify.telegram_bot_7001XXXXXX_1888XXXXXX
data:
message: “Nachricht: {{trigger.event.data.data.message | default('Keine Nachricht', 1)}}"
mode: single
The following error occurs:
Error in parsing YAML: bad indentation of a mapping entry (line: 13, column: 26)
You have a “pretty” double quote “ at the start of the message, use a plain double quote ".