Send msg with Home Assistant via MQTT not working

 - id: '1718184621628'
  alias: Meshtastic 15 Uhr
  description: ''
  trigger:
  - platform: time
    at: '15:00:00'
  condition: []
  action:
  - service: mqtt.publish
    data:
      qos: 0
      retain: false
      topic: msh/EU_868/2/json/mqtt/
      payload: >-
        {"channel":2,"from":145527204,"type":"sendtext","payload":"(Automatisierungstest) : Es ist 15 Uhr"}
  mode: single

I’ve been working on it for days now and can’t get it to work: I think all the settings are correct. I’ve created a channel called “mqtt”. I’ve also found the hidden switch “ignore mqtt”.

I always only get:
[mqtt] JSON downlink received on channel not called ‘mqtt’ or without downlink enabled

I am desperated.

I found the error:
“channel”:2,
must be removed.

2 Likes