mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-13 10:32:24 +00:00
24 lines
879 B
YAML
24 lines
879 B
YAML
######################################################################
|
|
# @CCOSTAN - Follow Me on X
|
|
# For more info visit https://www.vcloudinfo.com/click-here
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
# -------------------------------------------------------------------
|
|
# n8n Discord Router - Route HA events to Discord via JoAnnaBot
|
|
# Central REST command into n8n's Discord routing webhook
|
|
# -------------------------------------------------------------------
|
|
# <No related GitHub issue>
|
|
# REST endpoint: n8n webhook /discord-router
|
|
######################################################################
|
|
|
|
rest_command:
|
|
send_to_discord:
|
|
url: "http://192.168.10.69:5678/webhook/discord-router"
|
|
method: POST
|
|
content_type: "application/json"
|
|
payload: >
|
|
{
|
|
"topic": "{{ topic }}",
|
|
"message": "{{ message }}"
|
|
}
|
|
|