Giter Club home page Giter Club logo

Comments (5)

home-assistant avatar home-assistant commented on June 25, 2024

Hey there @emontnemery, @jbouwh, @bdraco, mind taking a look at this issue as it has been labeled with an integration (mqtt) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of mqtt can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign mqtt Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


mqtt documentation
mqtt source
(message by IssueLinks)

from core.

jbouwh avatar jbouwh commented on June 25, 2024

Can you share the MQTT info (if possible in JSON format). You can find this at the MQTT device info page.
The config topic and payload, a state payload would be very helpful.

from core.

contactmetherenow avatar contactmetherenow commented on June 25, 2024

MQTT discovery data:
Topic: homeassistant/switch/0x385cfbfffe3e3594/switch/config
availability:

  • topic: zigbee2mqtt/bridge/state
    command_topic: zigbee2mqtt/IR Remote Control/set
    device:
    identifiers:
    • zigbee2mqtt_0x385cfbfffe3e3594
      manufacturer: TuYa
      model: Universal smart IR remote control (ZS06)
      name: IR Remote Control
      via_device: zigbee2mqtt_bridge_0x00124b0029e84ce5
      json_attributes_topic: zigbee2mqtt/IR Remote Control
      name: null
      object_id: ir_remote_control
      origin:
      name: Zigbee2MQTT
      sw_version: 1.37.1
      support_url: https://www.zigbee2mqtt.io
      payload_off: 'OFF'
      payload_on: 'ON'
      state_topic: zigbee2mqtt/IR Remote Control
      unique_id: 0x385cfbfffe3e3594_switch_zigbee2mqtt
      value_template: '{{ value_json.learn_ir_code }}'
      platform: mqtt

Subscribed topics:
zigbee2mqtt/bridge/state
1 most recently received message(s)
Received 3:55:55 PM
QoS: 0, Retained
Payload: online

Is this what you needed? There is a bit more but I think this was what you were asking for specifically. Let me know

from core.

jbouwh avatar jbouwh commented on June 25, 2024

No, I need the config for the entity that causes the failure (in JSON format, there is a switch), the config is probably the correct one, and the state payload (at topic zigbee2mqtt/IR Remote Control) for this entity causing the issue. The bridge state is not relavat for this issue. Did you open an issue for Zigbee2MQTT as you opened an issue at the Home Assistant Core repo.

from core.

contactmetherenow avatar contactmetherenow commented on June 25, 2024

{
"home_assistant": {
"installation_type": "Home Assistant Container",
"version": "2024.5.4",
"dev": false,
"hassio": false,
"virtualenv": false,
"python_version": "3.12.2",
"docker": true,
"arch": "x86_64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "6.6.13+bpo-amd64",
"run_as_root": true
},
"custom_components": {},
"integration_manifest": {
"domain": "mqtt",
"name": "MQTT",
"codeowners": [
"@emontnemery",
"@jbouwh",
"@bdraco"
],
"config_flow": true,
"dependencies": [
"file_upload",
"http"
],
"documentation": "https://www.home-assistant.io/integrations/mqtt",
"iot_class": "local_push",
"quality_scale": "platinum",
"requirements": [
"paho-mqtt==1.6.1"
],
"is_built_in": true
},
"data": {
"connected": true,
"mqtt_config": {
"broker": "10.0.0.10",
"port": 1883,
"username": "REDACTED",
"password": "REDACTED",
"discovery": true,
"discovery_prefix": "homeassistant",
"birth_message": {
"topic": "homeassistant/status",
"payload": "online",
"qos": 0,
"retain": false
},
"will_message": {
"topic": "homeassistant/status",
"payload": "offline",
"qos": 0,
"retain": false
}
},
"device": {
"id": "fa93e33dba2cff61951f3ed3b780369e",
"name": "IR Remote Control",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"device_class": null,
"disabled_by": null,
"disabled": false,
"entity_category": null,
"entity_id": "switch.0x385cfbfffe3e3594",
"icon": null,
"original_device_class": null,
"original_icon": null,
"state": {
"entity_id": "switch.0x385cfbfffe3e3594",
"state": "unknown",
"attributes": {
"learn_ir_code": null,
"learned_ir_code": "BUojkBErAuALAQN9BisCwAFAC+AHAwNeAisCwBPgAwFAE8ABwAtAB4ADQDUDKwJ9BoADAysCXgJACwX3nUojygiAB+ABjwJeAivgAAEFXgJ9Bl4CQAcAKyABAX0G4AkDBSsCXgJ9BoADACvgAAEBXgJAEwAroAEJfQYrAisCXgJ9BkADACtgBwMrAl4C4AcL4AWPA14CKwJAA+ADAQZeAn0GXgIroAEBfQbgCQMFKwJeAn0GQAMBKwLgAQFADwJeAiugAQN9BisCQAECfQZeIANABwErAkABAX0GQA8CXgIrIAELfQYrAvedSiPKCCsC",
"linkquality": 114,
"friendly_name": "IR Remote Control"
},
"last_changed": "2024-05-21T12:55:55.700958+00:00",
"last_reported": "2024-05-21T12:56:30.710548+00:00",
"last_updated": "2024-05-21T12:56:30.710548+00:00"
},
"unit_of_measurement": null
},
{
"device_class": null,
"disabled_by": null,
"disabled": false,
"entity_category": null,
"entity_id": "sensor.0x385cfbfffe3e3594_learned_ir_code",
"icon": null,
"original_device_class": null,
"original_icon": null,
"state": {
"entity_id": "sensor.0x385cfbfffe3e3594_learned_ir_code",
"state": "unknown",
"attributes": {},
"last_changed": "2024-05-21T12:55:55.701251+00:00",
"last_reported": "2024-05-21T12:56:30.821881+00:00",
"last_updated": "2024-05-21T12:56:30.821881+00:00"
},
"unit_of_measurement": null
},
{
"device_class": null,
"disabled_by": null,
"disabled": false,
"entity_category": null,
"entity_id": "text.0x385cfbfffe3e3594_ir_code_to_send",
"icon": null,
"original_device_class": null,
"original_icon": null,
"state": {
"entity_id": "text.0x385cfbfffe3e3594_ir_code_to_send",
"state": "unknown",
"attributes": {
"mode": "text",
"min": 0,
"max": 255,
"pattern": null,
"learn_ir_code": null,
"learned_ir_code": "BUojkBErAuALAQN9BisCwAFAC+AHAwNeAisCwBPgAwFAE8ABwAtAB4ADQDUDKwJ9BoADAysCXgJACwX3nUojygiAB+ABjwJeAivgAAEFXgJ9Bl4CQAcAKyABAX0G4AkDBSsCXgJ9BoADACvgAAEBXgJAEwAroAEJfQYrAisCXgJ9BkADACtgBwMrAl4C4AcL4AWPA14CKwJAA+ADAQZeAn0GXgIroAEBfQbgCQMFKwJeAn0GQAMBKwLgAQFADwJeAiugAQN9BisCQAECfQZeIANABwErAkABAX0GQA8CXgIrIAELfQYrAvedSiPKCCsC",
"linkquality": 114,
"assumed_state": true,
"friendly_name": "IR Remote Control Ir code to send"
},
"last_changed": "2024-05-21T12:55:55.700661+00:00",
"last_reported": "2024-05-21T12:56:30.710470+00:00",
"last_updated": "2024-05-21T12:56:30.710470+00:00"
},
"unit_of_measurement": null
}
]
},
"mqtt_debug_info": {
"entities": [
{
"entity_id": "switch.0x385cfbfffe3e3594",
"subscriptions": [
{
"topic": "zigbee2mqtt/bridge/state",
"messages": [
{
"payload": "online",
"qos": 0,
"retain": 1,
"time": "2024-05-21T12:55:55.699740+00:00",
"topic": "zigbee2mqtt/bridge/state"
}
]
},
{
"topic": "zigbee2mqtt/IR Remote Control",
"messages": [
{
"payload": "{"learn_ir_code":null,"learned_ir_code":"BUojkBErAuALAQN9BisCwAFAC+AHAwNeAisCwBPgAwFAE8ABwAtAB4ADQDUDKwJ9BoADAysCXgJACwX3nUojygiAB+ABjwJeAivgAAEFXgJ9Bl4CQAcAKyABAX0G4AkDBSsCXgJ9BoADACvgAAEBXgJAEwAroAEJfQYrAisCXgJ9BkADACtgBwMrAl4C4AcL4AWPA14CKwJAA+ADAQZeAn0GXgIroAEBfQbgCQMFKwJeAn0GQAMBKwLgAQFADwJeAiugAQN9BisCQAECfQZeIANABwErAkABAX0GQA8CXgIrIAELfQYrAvedSiPKCCsC","linkquality":114}",
"qos": 0,
"retain": 0,
"time": "2024-05-21T12:56:30.709961+00:00",
"topic": "zigbee2mqtt/IR Remote Control"
}
]
}
],
"discovery_data": {
"topic": "homeassistant/switch/0x385cfbfffe3e3594/switch/config",
"payload": {
"availability": [
{
"topic": "zigbee2mqtt/bridge/state"
}
],
"command_topic": "zigbee2mqtt/IR Remote Control/set",
"device": {
"identifiers": [
"zigbee2mqtt_0x385cfbfffe3e3594"
],
"manufacturer": "TuYa",
"model": "Universal smart IR remote control (ZS06)",
"name": "IR Remote Control",
"via_device": "zigbee2mqtt_bridge_0x00124b0029e84ce5"
},
"json_attributes_topic": "zigbee2mqtt/IR Remote Control",
"name": null,
"object_id": "ir_remote_control",
"origin": {
"name": "Zigbee2MQTT",
"sw_version": "1.37.1",
"support_url": "https://www.zigbee2mqtt.io"
},
"payload_off": "OFF",
"payload_on": "ON",
"state_topic": "zigbee2mqtt/IR Remote Control",
"unique_id": "0x385cfbfffe3e3594_switch_zigbee2mqtt",
"value_template": "{{ value_json.learn_ir_code }}",
"platform": "mqtt"
}
},
"transmitted": []
},
{
"entity_id": "sensor.0x385cfbfffe3e3594_learned_ir_code",
"subscriptions": [
{
"topic": "zigbee2mqtt/bridge/state",
"messages": [
{
"payload": "online",
"qos": 0,
"retain": 1,
"time": "2024-05-21T12:55:55.699740+00:00",
"topic": "zigbee2mqtt/bridge/state"
}
]
},
{
"topic": "zigbee2mqtt/IR Remote Control",
"messages": [
{
"payload": "{"learn_ir_code":null,"learned_ir_code":"BUojkBErAuALAQN9BisCwAFAC+AHAwNeAisCwBPgAwFAE8ABwAtAB4ADQDUDKwJ9BoADAysCXgJACwX3nUojygiAB+ABjwJeAivgAAEFXgJ9Bl4CQAcAKyABAX0G4AkDBSsCXgJ9BoADACvgAAEBXgJAEwAroAEJfQYrAisCXgJ9BkADACtgBwMrAl4C4AcL4AWPA14CKwJAA+ADAQZeAn0GXgIroAEBfQbgCQMFKwJeAn0GQAMBKwLgAQFADwJeAiugAQN9BisCQAECfQZeIANABwErAkABAX0GQA8CXgIrIAELfQYrAvedSiPKCCsC","linkquality":114}",
"qos": 0,
"retain": 0,
"time": "2024-05-21T12:56:30.709961+00:00",
"topic": "zigbee2mqtt/IR Remote Control"
}
]
}
],
"discovery_data": {
"topic": "homeassistant/sensor/0x385cfbfffe3e3594/learned_ir_code/config",
"payload": {
"availability": [
{
"topic": "zigbee2mqtt/bridge/state"
}
],
"device": {
"identifiers": [
"zigbee2mqtt_0x385cfbfffe3e3594"
],
"manufacturer": "TuYa",
"model": "Universal smart IR remote control (ZS06)",
"name": "IR Remote Control",
"via_device": "zigbee2mqtt_bridge_0x00124b0029e84ce5"
},
"enabled_by_default": true,
"json_attributes_topic": "zigbee2mqtt/IR Remote Control",
"name": "Learned ir code",
"object_id": "ir_remote_control_learned_ir_code",
"origin": {
"name": "Zigbee2MQTT",
"sw_version": "1.37.1",
"support_url": "https://www.zigbee2mqtt.io"
},
"state_topic": "zigbee2mqtt/IR Remote Control",
"unique_id": "0x385cfbfffe3e3594_learned_ir_code_zigbee2mqtt",
"value_template": "{{ value_json.learned_ir_code }}",
"platform": "mqtt"
}
},
"transmitted": []
},
{
"entity_id": "text.0x385cfbfffe3e3594_ir_code_to_send",
"subscriptions": [
{
"topic": "zigbee2mqtt/bridge/state",
"messages": [
{
"payload": "online",
"qos": 0,
"retain": 1,
"time": "2024-05-21T12:55:55.699740+00:00",
"topic": "zigbee2mqtt/bridge/state"
}
]
},
{
"topic": "zigbee2mqtt/IR Remote Control",
"messages": [
{
"payload": "{"learn_ir_code":null,"learned_ir_code":"BUojkBErAuALAQN9BisCwAFAC+AHAwNeAisCwBPgAwFAE8ABwAtAB4ADQDUDKwJ9BoADAysCXgJACwX3nUojygiAB+ABjwJeAivgAAEFXgJ9Bl4CQAcAKyABAX0G4AkDBSsCXgJ9BoADACvgAAEBXgJAEwAroAEJfQYrAisCXgJ9BkADACtgBwMrAl4C4AcL4AWPA14CKwJAA+ADAQZeAn0GXgIroAEBfQbgCQMFKwJeAn0GQAMBKwLgAQFADwJeAiugAQN9BisCQAECfQZeIANABwErAkABAX0GQA8CXgIrIAELfQYrAvedSiPKCCsC","linkquality":114}",
"qos": 0,
"retain": 0,
"time": "2024-05-21T12:56:30.709961+00:00",
"topic": "zigbee2mqtt/IR Remote Control"
}
]
}
],
"discovery_data": {
"topic": "homeassistant/text/0x385cfbfffe3e3594/ir_code_to_send/config",
"payload": {
"availability": [
{
"topic": "zigbee2mqtt/bridge/state"
}
],
"command_topic": "zigbee2mqtt/IR Remote Control/set/ir_code_to_send",
"device": {
"identifiers": [
"zigbee2mqtt_0x385cfbfffe3e3594"
],
"manufacturer": "TuYa",
"model": "Universal smart IR remote control (ZS06)",
"name": "IR Remote Control",
"via_device": "zigbee2mqtt_bridge_0x00124b0029e84ce5"
},
"json_attributes_topic": "zigbee2mqtt/IR Remote Control",
"name": "Ir code to send",
"object_id": "ir_remote_control_ir_code_to_send",
"origin": {
"name": "Zigbee2MQTT",
"sw_version": "1.37.1",
"support_url": "https://www.zigbee2mqtt.io"
},
"unique_id": "0x385cfbfffe3e3594_ir_code_to_send_zigbee2mqtt",
"value_template": "{{ value_json.ir_code_to_send }}",
"platform": "mqtt"
}
},
"transmitted": []
}
],
"triggers": []
}
}
}

I was advised to try here first

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.