Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT messages and IFTTT rules
#3
(01-09-2024, 12:39 AM)admin Wrote: sorry, MQTT not work with IFTTT command. i think you can use another way. you can config by ESPHome, it will support MQTT and IFTTT by your own setting.

Hi!
1)  i have same task. Can you send some information how to do it? 

2)I configure some IFTTT rules - it work fine, but i cant recieve\send any information via MQTT at all - i think instruction for MQTT connection is old - i have few errors in HA
i try this instruction: https://www.kincony.com/kc868-h32b-integ...-mqtt.html
but HA says some think like "this instruction was removed" for:
  broker: 192.168.1.96
  port: 1883
  username: mqtt
  password: 123

 so my config is:

#=========KinCony A8 Ventilation=============
mqtt:
  switch:
    - name: 'A8_output-1'
      unique_id: A8-output-1
      state_topic: 'KC868_A8/B0A732862D60/state'
      command_topic: 'KC868_A8/B0A732862D60/set'
      payload_on:  '{"relay1":{"on":1}}'
      payload_off:  '{"relay1":{"on":0}}'
      value_template: '{{ value_json.relay1.on }}'
      state_on: 1
      state_off: 0
   
    - name: 'output-2'
      unique_id: output-2
      state_topic: 'KC868_A8/B0A732862D60/state'
      command_topic: 'KC868_A8/B0A732862D60/set'
      payload_on:  '{"relay2":{"on":1}}'
      payload_off:  '{"relay2":{"on":0}}'
      value_template: '{{ value_json.relay2.on }}'
      state_on: 1
      state_off: 0
#======== same for channel 3-8==============

  binary_sensor:
    - name: 'input-1'
      unique_id: input-1
      state_topic: 'KC868_A8/B0A732862D60/state'
      value_template: '{{ value_json.input1.on }}'
      payload_on: 1
      payload_off: 0
     
    - name: 'input-2'
      unique_id: input-2
      state_topic: 'KC868_A8/B0A732862D60/state'
      value_template: '{{ value_json.input2.on }}'
      payload_on: 1
      payload_off: 0
#============same for channel 3-8==========
  sensor: 
    - name: 'A8_temp_ext'
      unique_id: A8-temp-ext
      state_topic: 'KC868_A8/B0A732862D60/state'
      value_template: '{{ value_json.sensor1.temperature }}'
     
    - name: 'A8_temp_int'
      unique_id: A8-temp-int
      state_topic: 'KC868_A8/B0A732862D60/state'
      value_template: '{{ value_json.sensor2.temperature }}'

ATTENTION: "Part sensor:" i made myself, using MQTT Explorer, it may be incorrect
HA start correctly, but i have no any data


Attached Files Image(s)
   
Reply


Messages In This Thread
MQTT messages and IFTTT rules - by yamaray - 01-08-2024, 04:06 PM
RE: MQTT messages and IFTTT rules - by admin - 01-09-2024, 12:39 AM
RE: MQTT messages and IFTTT rules - by a.demenev@limeup.ru - 02-03-2024, 08:46 PM
RE: MQTT messages and IFTTT rules - by admin - 02-04-2024, 01:10 PM
RE: MQTT messages and IFTTT rules - by admin - 02-04-2024, 01:39 PM

Forum Jump:


Users browsing this thread: