Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95314

MQTT to Kodi Automation stopped working

$
0
0

@lordslash wrote:

Hello, my automations that i configured in order to control my Kodi via Infrared through MQTT suddenly stopped working.
I have a Tasmotized Sonoff Basic with an InfraRed receiver connected to the GPIO port 14. The IR codes are sent via MQTT to my Mosquitto Broker running on my Hassbian. The MQTT commands are supposed to trigger an automation on my Hassbian which calls a Kodi Method.
It worked perfectly until I updated my Tasmota to the last version (6.7.1) and Home Assistant to the last version (0.101.0), then it suddenly doesn’t work anymore and I don’t understand why.
MQTT logs from Tasmota:

21:42:40 MQT: Attempting connection...
21:42:40 MQT: Connected
21:42:40 MQT: tele/RedStars/LWT = Online (retained)
21:42:40 MQT: cmnd/RedStars/POWER = 
21:42:40 MQT: tele/RedStars/INFO1 = {"Module":"Sonoff Basic","Version":"6.7.1(sonoff)","FallbackTopic":"cmnd/DVES_65CCF5_fb/","GroupTopic":"sonoffs"}
22:13:44 MQT: tele/RedStars/RESULT = {"Time":"2019-10-31T22:13:44","IrReceived":{"Protocol":"PANASONIC","Bits":48,"Data":"0x40040100ACAD"}}

Automations.yaml


- id: '1566813139052'
  alias: IR Channel Down
  trigger:
  - payload: '{"IrReceived":{"Protocol":"PANASONIC","Bits":48,"Data":"0x40040100ACAD"}}'
    platform: mqtt
    topic: tele/RedStars/RESULT
  condition: []
  action:
  - data:
      action: channeldown
      entity_id: media_player.kodi
      method: Input.ExecuteAction
    service: kodi.call_method

I tried to trigger just the Kodi method and it works perfectly (PVR Channel Down)

What else can i do to debug and solve the problem?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>