dirigera_platform icon indicating copy to clipboard operation
dirigera_platform copied to clipboard

Every seconds strange error

Open imc67 opened this issue 9 months ago • 4 comments

Every x seconds ....:

Logger: custom_components.dirigera_platform Bron: custom_components/dirigera_platform/hub_event_listener.py:303 integratie: IKEA Dirigera Hub Integration (documentatie, problemen) Eerst voorgekomen: 10:30:10 (32 gebeurtenissen) Laatst gelogd: 10:34:46

{"id":"dbb58f00-0b66-4d6d-ba01-a5b369b93451","time":"2025-03-08T09:34:38.430Z","specversion":"3.164.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"67653de3-a115-42d2-af70-32933850a304_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-03-10T14:12:42.000Z","isReachable":true,"lastSeen":"2025-03-08T09:34:38.000Z","attributes":{"currentRH":68},"remoteLinks":[]}} {"id":"03f666f4-a8a6-41ba-bcc6-988737fb2649","time":"2025-03-08T09:34:39.448Z","specversion":"3.164.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"67653de3-a115-42d2-af70-32933850a304_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-03-10T14:12:42.000Z","isReachable":true,"lastSeen":"2025-03-08T09:34:39.000Z","attributes":{"currentRH":69},"remoteLinks":[]}} {"id":"738f8ee0-c830-4e9b-9c8e-8ac909c88b64","time":"2025-03-08T09:34:40.471Z","specversion":"3.164.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"67653de3-a115-42d2-af70-32933850a304_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-03-10T14:12:42.000Z","isReachable":true,"lastSeen":"2025-03-08T09:34:40.000Z","attributes":{"currentRH":68},"remoteLinks":[]}} {"id":"179119cd-ab20-49d9-aae3-507858337e74","time":"2025-03-08T09:34:45.571Z","specversion":"3.164.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"67653de3-a115-42d2-af70-32933850a304_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-03-10T14:12:42.000Z","isReachable":true,"lastSeen":"2025-03-08T09:34:45.000Z","attributes":{"currentRH":69},"remoteLinks":[]}} {"id":"6816d20c-437c-4594-853d-570d0bc8b61d","time":"2025-03-08T09:34:46.591Z","specversion":"3.164.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"67653de3-a115-42d2-af70-32933850a304_1","type":"sensor","deviceType":"environmentSensor","createdAt":"2024-03-10T14:12:42.000Z","isReachable":true,"lastSeen":"2025-03-08T09:34:46.000Z","attributes":{"currentRH":68},"remoteLinks":[]}}

imc67 avatar Mar 08 '25 09:03 imc67

What is the issue?

sanjoyg avatar Mar 08 '25 13:03 sanjoyg

These three messages occur (copied from the homeassistant log file):

2025-03-08 15:44:01.156 ERROR (Thread-2) [custom_components.dirigera_platform] 'NoneType' object has no attribute 'loop'
2025-03-08 15:44:05.255 ERROR (Thread-2) [custom_components.dirigera_platform] error processing hub event
2025-03-08 15:44:05.255 ERROR (Thread-2) [custom_components.dirigera_platform] {"id":"7d719f94-019b-4286-8b39-cd4356713f6e","time":"2025-03-08T14:44:05.223Z","specversion":"3.164.0","source":"urn
:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"9fea4ac9-cc45-425e-910e-bb1f5fea9424_1","type":"outlet","deviceType":"outlet","createdAt":"2025-03-02T13:42:20.000Z","is
Reachable":true,"lastSeen":"2025-03-08T14:44:05.000Z","attributes":{"currentVoltage":239.89999389648438},"remoteLinks":[]}}

They are created from hub_event_listener.py line 300 to line 304

        except Exception as ex:
            logger.error("error processing hub event")
            logger.error(f"{ws_msg}")
            logger.error(ex)

I think, that the are caused by the new Inspelning plugs, whenever voltage values are sent. I just helped myself by replacing logger.error with logger.debug. So the thousands of messages are „silenced“ now. What else do you need for further narrowing down the issue?

Vetti52 avatar Mar 08 '25 15:03 Vetti52

Try the latest release, should be fixed

sanjoyg avatar Mar 09 '25 06:03 sanjoyg

This was after Installation of the latest release. These errors still exist. They have a different origin, as i mentioned. I think, it is due to the very special measuring data, which the Inspelning plug produces.

Sanjoy Ghosh @.***> schrieb am So., 9. März 2025, 07:01:

Try the latest release, should be fixed

— Reply to this email directly, view it on GitHub https://github.com/sanjoyg/dirigera_platform/issues/142#issuecomment-2708687630, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI35VLD3OZMBTOTJEQFHX5T2TPKKNAVCNFSM6AAAAABYS3HNC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBYGY4DONRTGA . You are receiving this because you commented.Message ID: @.***> [image: sanjoyg]sanjoyg left a comment (sanjoyg/dirigera_platform#142) https://github.com/sanjoyg/dirigera_platform/issues/142#issuecomment-2708687630

Try the latest release, should be fixed

— Reply to this email directly, view it on GitHub https://github.com/sanjoyg/dirigera_platform/issues/142#issuecomment-2708687630, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI35VLD3OZMBTOTJEQFHX5T2TPKKNAVCNFSM6AAAAABYS3HNC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBYGY4DONRTGA . You are receiving this because you commented.Message ID: @.***>

Vetti52 avatar Mar 09 '25 07:03 Vetti52