Closed pljda closed 2 months ago
Hey there @danielhiversen, @elupus, @robbie1221, mind taking a look at this issue as it has been labeled with an integration (rfxtrx
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
rfxtrx documentation rfxtrx source (message by IssueLinks)
Anything in the logs?
Hi Joost,I will try to have a look but this happens the day before my holiday leave. I could not do much. Philippe Sent from my iPhoneOn 17 Mar 2024, at 19:19, Joost Lekkerkerker @.***> wrote: Anything in the logs?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Here are the logs .. repeated every 20 seconds2024-03-17 03:02:15.451 DEBUG (SyncWorker_6) [homeassistant.components.rfxtrx] Using modes: ac,lacrosse,oregon2024-03-17 03:02:15.460 DEBUG (SyncWorker_6) [RFXtrx] connect failed: [Errno 2] could not open port /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO3Z5I3Y-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO3Z5I3Y-if00-port0'FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO3Z5I3Y-if00-port0'File "/usr/local/lib/python3.12/site-packages/RFXtrx/init.py", line 807, in errorsFile "/usr/local/lib/python3.12/site-packages/RFXtrx/init__.py", line 835, in connectserial.serialutil.SerialException: [Errno 2] could not open port /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO3Z5I3Y-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO3Z5I3Y-if00-port0'Envoyé de mon iPadLe 17 mars 2024 à 19:19, Joost Lekkerkerker @.***> a écrit : Anything in the logs?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
If you look on the hardware tab under system, and look for RFXCOM entries, likely one of the tty:s can you see what path it says there?
Hi, I had to reboot first because I could not find anything regarding RFXCom. Just something called “rfkill”
After the reboot, I have found back the RFXtrx integration. Very strange because I did such reboot before reporting the bug.
As my system reboots once a day, I’ll see tomorrow. Anyway when typing RFX I have 2 answers : 1-1.2 and ttyUSB0
1-1.2 BUSNUM: '001' DEVNAME: /dev/bus/usb/001/003 DEVNUM: '003' DEVPATH: /devices/platform/soc/fe980000.usb/usb1/1-1/1-1.2 DEVTYPE: usb_device DRIVER: usb ID_BUS: usb ID_FOR_SEAT: usb-platform-fe980000_usb-usb-0_1_2 ID_MODEL: RFXtrx433XL ID_MODEL_ENC: RFXtrx433XL ID_MODEL_ID: '6015' ID_PATH: platform-fe980000.usb-usb-0:1.2 ID_PATH_TAG: platform-fe980000_usb-usb-0_1_2 ID_REVISION: '1000' ID_SERIAL: RFXCOM_RFXtrx433XL_DO3Z5I3Y ID_SERIAL_SHORT: DO3Z5I3Y ID_USB_INTERFACES: ':ffffff:' ID_USB_MODEL: RFXtrx433XL ID_USB_MODEL_ENC: RFXtrx433XL ID_USB_MODEL_ID: '6015' ID_USB_REVISION: '1000' ID_USB_SERIAL: RFXCOM_RFXtrx433XL_DO3Z5I3Y ID_USB_SERIAL_SHORT: DO3Z5I3Y ID_USB_VENDOR: RFXCOM ID_USB_VENDOR_ENC: RFXCOM ID_USB_VENDOR_ID: '0403' ID_VENDOR: RFXCOM ID_VENDOR_ENC: RFXCOM ID_VENDOR_ID: '0403' MAJOR: '189' MINOR: '2' PRODUCT: 403/6015/1000 SUBSYSTEM: usb TAGS: ':seat:' TYPE: 0/0/0 USEC_INITIALIZED: '7787521 Sent from my iPhone
ttyUSB0 ID : /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO3Z5I3Y-if00-port0 Attributes: DEVLINKS: >- /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO3Z5I3Y-if00-port0 /dev/serial/by-path/platform-fe980000.usb-usb-0:1.2:1.0-port0 DEVNAME: /dev/ttyUSB0 DEVPATH: >- /devices/platform/soc/fe980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0/tty/ttyUSB0 ID_BUS: usb ID_MODEL: RFXtrx433XL ID_MODEL_ENC: RFXtrx433XL ID_MODEL_ID: '6015' ID_PATH: platform-fe980000.usb-usb-0:1.2:1.0 ID_PATH_TAG: platform-fe980000_usb-usb-0_1_2_1_0 ID_REVISION: '1000' ID_SERIAL: RFXCOM_RFXtrx433XL_DO3Z5I3Y ID_SERIAL_SHORT: DO3Z5I3Y ID_TYPE: generic ID_USB_DRIVER: ftdi_sio ID_USB_INTERFACES: ':ffffff:' ID_USB_INTERFACE_NUM: '00' ID_USB_MODEL: RFXtrx433XL ID_USB_MODEL_ENC: RFXtrx433XL ID_USB_MODEL_ID: '6015' ID_USB_REVISION: '1000' ID_USB_SERIAL: RFXCOM_RFXtrx433XL_DO3Z5I3Y ID_USB_SERIAL_SHORT: DO3Z5I3Y ID_USB_TYPE: generic ID_USB_VENDOR: RFXCOM ID_USB_VENDOR_ENC: RFXCOM ID_USB_VENDOR_ID: '0403' ID_VENDOR: RFXCOM ID_VENDOR_ENC: RFXCOM ID_VENDOR_ID: '0403' MAJOR: '188' MINOR: '0' SUBSYSTEM: tty TAGS: ':systemd:' USEC_INITIALIZED: '7948239
Sent from my iPhone
On 17 Mar 2024, at 22:39, Joakim Plate @.***> wrote:
If you look on the hardware tab under system, and look for RFXCOM entries, likely one of the tty:s can you see what path it says there?
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/113698#issuecomment-2002626085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE44H6D72CKKH45WIP733RTYYYESFAVCNFSM6AAAAABE2MYJ6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGYZDMMBYGU. You are receiving this because you authored the thread.
So that looks correct. If that is not listed the usb device ls not available for some reason. Not really the rfx integration that can cause it to be missing.
You could look in the haos boot logs if it goes missing again.
I guess you are right. It seems not to be linked with the RFX integration. I have also the Dongle Bluetooth (feasycom long range) that is not working. I need to do some cleaning and will have a look in the boot log. Anyway thanks for your prompt answer and support. Philippe Sent from my iPhoneOn 18 Mar 2024, at 18:48, Joakim Plate @.***> wrote: So that looks correct. If that is not listed the usb device ls not available for some reason. Not really the rfx integration that can cause it to be missing. You could look in the haos boot logs if it goes missing again.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Yes I can confirm there is a problem with both my RFXTRX and ZHA integrations... For the RFXTRX is trying to initialize for ever without sucess... and for ZHA (+ sky connect), the integration is regulary in failure configuration..... my system :
2024.3.1
Supervisor
2024.03.0
Operating System
12.1
Interface utilisateur
20240307.0````
On android M1...
Log for ZHA :
```Enregistreur: homeassistant.helpers.dispatcher
Source: helpers/dispatcher.py:102
S'est produit pour la première fois: 20 mars 2024 à 18:02:47 (26 occurrences)
Dernier enregistrement: 08:34:05
Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0xffff46c76ba0>>
Source: components/zha/core/cluster_handlers/__init__.py:513
S'est produit pour la première fois: 20 mars 2024 à 18:18:41 (17 occurrences)
Dernier enregistrement: 08:22:26
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 263, in _refresh
await self.async_update()
File "/usr/src/homeassistant/homeassistant/components/zha/entity.py", line 256, in async_update
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/smartenergy.py", line 324, in async_update
result = await self.get_attributes(attrs, from_cache=False, only_cache=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 513, in _get_attributes
read, _ = await self.cluster.read_attributes(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 528, in read_attributes
result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 289, in read_attributes_raw
results = await super().read_attributes_raw(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 334, in _read_attributes
return await super()._read_attributes(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 377, in request
return await self._endpoint.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 253, in request
return await self.device.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
await send_request()
File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request
await self.send_packet(
File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 868, in send_packet
status, _ = await self._ezsp.sendUnicast(
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'sendUnicast'```
Had the same issue. Reboot of HA and OTGW didn't work. After a power-cycle of my OTGW is worked again for me
Had the same issue. Reboot of HA and OTGW didn't work. After a power-cycle of my OTGW is worked again for me
Right it need a complete shunt down .... now reworking ...
I see some spontaneous reloads of this integration also since the 2024.03 update. A bit annoying since the reload is interpreted as if I was activating some remotes to trigger actions.
Logger: homeassistant.components.rfxtrx Source: components/rfxtrx/init.py:179 integration: RFXCOM RFXtrx (documentation, issues) First occurred: April 2, 2024 at 23:29:28 (3 occurrences) Last logged: 04:02:38
Connection was lost, triggering reload
@korttoma
@elupus
Your usb device did look like it disconnected from the system. Previously that would have been silently ignored.
So its recovering as expected. So you would need to handle the unavailability in your trigger somehow.
@elupus ok, thanks for checking my anomaly.
The problem
Since the last release 2024.03, my integration Rfxtrx does not start any more. i am running Ha on the Yellow
What version of Home Assistant Core has the issue?
2024.03.1
What was the last working version of Home Assistant Core?
2024.02.x the latest
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Rfxtrx
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response