Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parasoll slow response #36

Closed
mgums opened this issue Apr 17, 2024 · 9 comments
Closed

Parasoll slow response #36

mgums opened this issue Apr 17, 2024 · 9 comments
Assignees

Comments

@mgums
Copy link

mgums commented Apr 17, 2024

I notice with the Parasoll doorsensor, that not every event is captured via Dirigera integration or it comes with a delay. In the IKEA iPhone App I see the door open and close actions immediately.
Is there some sort of delay implemented maybe? When I open the door and close it fast, no change is recorded in HA. In the IKEA app the change is there.
Next to that I see the following in the debug logs, so maybe more is going on?
2024-04-17 17:53:08.243 DEBUG (Thread-2) [custom_components.dirigera_platform] rcvd message : {"id":"891622ef-1e1e-4695-8d61-8039e0b83342","time":"2024-04-17T15:53:08.000Z","specversion":"3.150.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"35342df4-c2f1-4f38-a34e-4b8704e9ebd3_1","type":"sensor","deviceType":"motionSensor","createdAt":"2024-04-15T11:37:10.000Z","isReachable":true,"lastSeen":"2024-04-17T17:50:08.000Z","attributes":{"isDetected":false,"sensorConfig":{"scheduleOn":false,"onDuration":120,"schedule":{"onCondition":{"time":"22:00"},"offCondition":{"time":"06:00"}}},"circadianPresets":[]},"remoteLinks":[]}}
2024-04-17 17:53:08.243 DEBUG (Thread-2) [custom_components.dirigera_platform] Setting 35342df4-c2f1-4f38-a34e-4b8704e9ebd3_1 reachable as True
2024-04-17 17:53:08.244 DEBUG (Thread-2) [custom_components.dirigera_platform] device type of message motionSensor
2024-04-17 17:53:08.245 DEBUG (Thread-2) [custom_components.dirigera_platform] setting is_detected to False
2024-04-17 17:53:08.245 DEBUG (Thread-2) [custom_components.dirigera_platform] attribute sensorConfig not in list of device type motionSensor, ignoring update...
2024-04-17 17:53:08.245 DEBUG (Thread-2) [custom_components.dirigera_platform] attribute circadianPresets not in list of device type motionSensor, ignoring update...

@sanjoyg
Copy link
Owner

sanjoyg commented Apr 17, 2024

The log that you posted is that from the doorsensor, the device type shows it to be a motion sensor

@mgums
Copy link
Author

mgums commented Apr 17, 2024

I have a flue, so not 100% sharp :-)
I turned on the debug in the Dirigera integration, opened the door, looked in the IKEA app to check if door is opened there (and yes), close the door and stopped the debug in Dirigera integration, which immediately downloads the log to my laptop (so I don;t have to get it from system log). You see also down here the door is only a couple of seconds open. The IKEA app only records in minutes, but it shows both the open and close state.

2024-04-17 17:56:28.026 DEBUG (MainThread) [custom_components.dirigera_platform] controller update...
2024-04-17 19:33:30.054 DEBUG (MainThread) [custom_components.dirigera_platform] outlet update...
2024-04-17 19:33:30.056 DEBUG (MainThread) [custom_components.dirigera_platform] outlet update...
2024-04-17 19:33:30.062 DEBUG (MainThread) [custom_components.dirigera_platform] outlet update...
2024-04-17 19:33:30.063 DEBUG (MainThread) [custom_components.dirigera_platform] outlet update...
2024-04-17 19:33:30.821 DEBUG (MainThread) [custom_components.dirigera_platform] motion sensor update...
2024-04-17 19:33:30.822 DEBUG (MainThread) [custom_components.dirigera_platform] open close sensor update...
2024-04-17 19:33:30.823 DEBUG (MainThread) [custom_components.dirigera_platform] open close sensor update...
2024-04-17 19:33:31.148 DEBUG (MainThread) [custom_components.dirigera_platform] controller update...
2024-04-17 19:33:31.149 DEBUG (MainThread) [custom_components.dirigera_platform] controller update...
2024-04-17 19:33:31.150 DEBUG (MainThread) [custom_components.dirigera_platform] controller update...
2024-04-17 19:33:39.270 DEBUG (Thread-3) [custom_components.dirigera_platform] rcvd message : {"id":"12079c0d-7524-458e-983b-4745176a83fd","time":"2024-04-17T17:33:39.000Z","specversion":"3.150.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"f35d1d38-1472-4d06-8f13-7aa84b9cb3d3_1","type":"sensor","deviceType":"openCloseSensor","createdAt":"2024-04-17T12:29:56.000Z","isReachable":true,"lastSeen":"2024-04-17T19:33:39.000Z","attributes":{"isOpen":true},"remoteLinks":[]}}
2024-04-17 19:33:39.271 DEBUG (Thread-3) [custom_components.dirigera_platform] Setting f35d1d38-1472-4d06-8f13-7aa84b9cb3d3_1 reachable as True
2024-04-17 19:33:39.271 DEBUG (Thread-3) [custom_components.dirigera_platform] device type of message openCloseSensor
2024-04-17 19:33:42.799 DEBUG (Thread-3) [custom_components.dirigera_platform] rcvd message : {"id":"51b99dfa-97c8-43b3-9ca1-99152f002300","time":"2024-04-17T17:33:42.000Z","specversion":"3.150.0","source":"urn:com:ikea:homesmart:iotc:zigbee","type":"deviceStateChanged","data":{"id":"f35d1d38-1472-4d06-8f13-7aa84b9cb3d3_1","type":"sensor","deviceType":"openCloseSensor","createdAt":"2024-04-17T12:29:56.000Z","isReachable":true,"lastSeen":"2024-04-17T19:33:42.000Z","attributes":{"isOpen":false},"remoteLinks":[]}}
2024-04-17 19:33:42.800 DEBUG (Thread-3) [custom_components.dirigera_platform] Setting f35d1d38-1472-4d06-8f13-7aa84b9cb3d3_1 reachable as True
2024-04-17 19:33:42.800 DEBUG (Thread-3) [custom_components.dirigera_platform] device type of message openCloseSensor
2024-04-17 19:34:00.055 DEBUG (MainThread) [custom_components.dirigera_platform] outlet update...
2024-04-17 19:34:00.057 DEBUG (MainThread) [custom_components.dirigera_platform] outlet update...
2024-04-17 19:34:00.058 DEBUG (MainThread) [custom_components.dirigera_platform] outlet update...
2024-04-17 19:34:00.058 DEBUG (MainThread) [custom_components.dirigera_platform] outlet update...
2024-04-17 19:34:00.822 DEBUG (MainThread) [custom_components.dirigera_platform] motion sensor update...
2024-04-17 19:34:00.824 DEBUG (MainThread) [custom_components.dirigera_platform] open close sensor update...
2024-04-17 19:34:00.825 DEBUG (MainThread) [custom_components.dirigera_platform] open close sensor update...
2024-04-17 19:34:01.148 DEBUG (MainThread) [custom_components.dirigera_platform] controller update...
2024-04-17 19:34:01.149 DEBUG (MainThread) [custom_components.dirigera_platform] controller update...
2024-04-17 19:34:01.150 DEBUG (MainThread) [custom_components.dirigera_platform] controller update...

@vulcanoid1975
Copy link

I have two Parasoll sensors, they also are quite slow to respond, as I said on #20 (comment)

Maybe this might help:
2024-04-17 183836.739 INFO.txt

@sanjoyg
Copy link
Owner

sanjoyg commented Apr 17, 2024

I hope you feel better soon. Try 1.5.3 hub even for open close sensor now processed. Do test and and if it works as expected please close the issue

@mgums
Copy link
Author

mgums commented Apr 17, 2024

Status changes instantly in HA when opening and closing the door. Thx a lot Sanjoy, awesome!
Do you need me to do any debugging? Just let me know.
Regards, Marco

@vulcanoid1975
Copy link

Amazing work! Thank you!

@sanjoyg
Copy link
Owner

sanjoyg commented Apr 18, 2024

Thank you mgums, I will reach out to you for debugging help that I might need

@sanjoyg sanjoyg closed this as completed Apr 18, 2024
@mgums
Copy link
Author

mgums commented Apr 19, 2024

Hi Sanjoy. This night a saw one instance of doormen-detection not being registered in HA. It was visible in the IKEA app though. One of these days I will do more testing and debug tracing when trying to capture such an event.
Regards, Marco

@sanjoyg
Copy link
Owner

sanjoyg commented Apr 19, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants