home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.35k stars 30.28k forks source link

Truenas core - Home assistant - RFXCOM not working #62867

Closed doum33 closed 2 years ago

doum33 commented 2 years ago

The problem

I have an RFXCOM that I am trying to integrate into home assistant. When I choose Serial connexion, then my device appears like that: /dev/cuaU0 - n/a, s/n: n/a When I submit it, I got an error:

Logger: homeassistant.components.rfxtrx
Source: components/rfxtrx/init.py:76
Integration: RFXCOM RFXtrx (documentation, issues)
First occurred: 16:04:06 (2 occurrences)
Last logged: 17:05:32

Connection timeout: failed to receive response from RFXtrx device

On configuration.yalm, I added these two lines at the end of the file: rfxtrx: device: /dev/cuaU0

I tried manual installation, and automatic installation (with Mybutton integration). The result is the same and it's not working. I found these informations on home-assistant.log.

2021-12-27 15:19:11 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [34587733440] Sending {"id": 63, "type": "result", "success": true, "result": {"config_entry": {"entry_id": "e43653312a0f354cf58410bc33dfb59a", "domain": "rfxtrx", "title": "RFXTRX", "source": "user", "state": "setup_error", "supports_options": true, "supports_unload": true, "pref_disable_new_entities": false, "pref_disable_polling": false, "disabled_by": null, "reason": null}, "require_restart": false}}

2021-12-27 15:19:48 DEBUG (Thread-7) [RFXtrx] Recv: 0x08 0x50 0x01 0x46 0xd8 0x00 0x00 0x94 0x59

It does look correctish, but the timeout is still present.

Moreover, I tried to add somfy bind integration, but I can't see entity about my bind (I'm new to homeassistant so maybe I'm not doing well).

Can you help me please?

What version of Home Assistant Core has the issue?

2021.12.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

No response

Link to integration documentation on our website

No response

Example YAML snippet

## This configuration.yaml file is provided by the Home Assistant Core iocage-jail for TrueNAS Core
# Learn more at https://www.home-assistant.io/docs/configuration

homeassistant:
  # https://www.home-assistant.io/docs/configuration/customizing-devices/
  customize: !include customize.yaml
  # https://www.home-assistant.io/docs/configuration/packages/#create-a-packages-folder
  packages: !include_dir_named packages

http:
  # https://www.home-assistant.io/integrations/http/#ip_ban_enabled
  ip_ban_enabled: False
  login_attempts_threshold: 5

## Configure a default setup of Home Assistant Core (frontend, api, etc)
# Learn more at https://www.home-assistant.io/integrations/default_config
default_config:

# Text to speech
  tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

logger:
  logs:
    RFXtrx: debug

rfxtrx:
  device: /dev/cuaU0

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

default_config documentation default_config source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

http documentation http source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (http) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

doum33 commented 2 years ago

Hi, I'm not sure but I think it's not the correct label. I'm wrong?

emontnemery commented 2 years ago

@doum33 the problem is that the bot picked up on the links in the yaml and added the wrong labels. I'd suggest you open a new issue and link to the integration you're using (rfxtrx?) if you still have this problem