Created
October 26, 2025 12:14
-
-
Save skgsergio/4e98c4aeff493d5c1c291f67c75d0674 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: "Meshtastic: Automated PONG" | |
| description: "" | |
| triggers: | |
| - trigger: event | |
| event_type: meshtastic_api_text_message | |
| event_data: | |
| data: | |
| to: | |
| node: null | |
| channel: 0 | |
| gateway: 1079855684 | |
| id: primary_channel | |
| enabled: false | |
| - trigger: event | |
| event_type: meshtastic_api_text_message | |
| event_data: | |
| data: | |
| to: | |
| node: 1079855684 | |
| channel: null | |
| gateway: 1079855684 | |
| id: direct_message | |
| conditions: | |
| - condition: template | |
| value_template: "{{ trigger.event.data.data.message.split()[0].upper() == \"PING\" }}" | |
| actions: | |
| - variables: | |
| reply: | | |
| PONG desde Alcorcón | |
| - delay: | |
| seconds: 10 | |
| - choose: | |
| - conditions: | |
| - condition: trigger | |
| id: | |
| - primary_channel | |
| sequence: | |
| - action: meshtastic.send_text | |
| metadata: {} | |
| data: | |
| ack: true | |
| from: "{{ trigger.event.data.data.gateway }}" | |
| channel: "{{ trigger.event.data.data.to.channel }}" | |
| text: "{{ reply }}" | |
| - conditions: | |
| - condition: trigger | |
| id: | |
| - direct_message | |
| sequence: | |
| - action: meshtastic.send_text | |
| metadata: {} | |
| data: | |
| ack: true | |
| from: "{{ trigger.event.data.data.gateway }}" | |
| to: "{{ trigger.event.data.data.from }}" | |
| text: "{{ reply }}" | |
| mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment