Skip to content

Instantly share code, notes, and snippets.

@beala
Last active February 6, 2026 01:18
Show Gist options
  • Select an option

  • Save beala/d34b823bb56ae61fe290786ad1c884c0 to your computer and use it in GitHub Desktop.

Select an option

Save beala/d34b823bb56ae61fe290786ad1c884c0 to your computer and use it in GitHub Desktop.
alias: "Meshtastic: notify on any text"
description: ""
triggers:
- topic: msh/US/2/json/#
trigger: mqtt
conditions:
- condition: template
value_template: >-
{{ trigger.payload_json is defined and trigger.payload_json.type == 'text'
}}
# Don't notify on messages from my node.
- condition: template
value_template: "{{ trigger.payload_json.from != 2661145212 }}"
actions:
- data:
title: Meshtastic
message: "[{{ trigger.topic }}] {{ trigger.payload_json.payload.text }}"
data:
tag: meshtastic_text
action: notify.mobile_app_alex_s_iphone
mode: queued
max: 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment