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

Wall Switch (relay) DS-PM1-O1H-WE: Can not switch it off and status is not read correctly #96

Open
Nick2691 opened this issue Feb 6, 2024 · 19 comments
Assignees
Labels
invalid This doesn't seem right question Further information is requested

Comments

@Nick2691
Copy link

Nick2691 commented Feb 6, 2024

Hello,
I have Wall Switch (relay) DS-PM1-O1H-WE.
and it does not work properly (always OFF).
home-assistant_hikvision_axpro_2024-02-06T10-10-58.800Z.log

@petrleocompel
Copy link
Owner

Did you waited "pull interval" before checking?

@petrleocompel
Copy link
Owner

petrleocompel commented Feb 6, 2024

I will go through logs but question is did you "flipped the stage" and got logs after (it will contain both states, on and off) and how is your switch called in your settings?

@Nick2691
Copy link
Author

Nick2691 commented Feb 6, 2024

Did you waited "pull interval" before checking?

Pull interval is 5 (seconds?). Yes, I did

@petrleocompel
Copy link
Owner

Did you waited "pull interval" before checking?

Pull interval is 5 (seconds?). Yes, I did

It is configurable (default 30 seconds)

@Nick2691
Copy link
Author

Nick2691 commented Feb 6, 2024

I switch using this interface
1

@petrleocompel
Copy link
Owner

petrleocompel commented Feb 6, 2024

In configuration of the integration is configurable pull interval (in seconds)
image

That is the time required to "update the state"

@petrleocompel
Copy link
Owner

I will check the logs and I will see if it is an error or just "it takes time"

@Nick2691
Copy link
Author

Nick2691 commented Feb 6, 2024

I set pull interval to 5

@muratmnf
Copy link

I'm having the same problem. After you turn the switch, it turns off within 30 seconds, but it is actually still on.

@petrleocompel
Copy link
Owner

@muratmnf Are you sure you have the same problem or the switch turns to desired state in HA after like 30 seconds ?

The "state" for external change is based on pull interval from configuration. If you trigger switch in mobile app it will take time from last pull interval + pull interval time (so max pull interval time = default is 30 sec) to update the state in HA.

@petrleocompel
Copy link
Owner

Any update on this ? @muratmnf

@petrleocompel petrleocompel self-assigned this Aug 29, 2024
@petrleocompel petrleocompel added invalid This doesn't seem right question Further information is requested labels Aug 29, 2024
@petrleocompel petrleocompel added the stale Due no activity from issue author it will be closed soon with no resolution. label Oct 15, 2024
@petrleocompel
Copy link
Owner

In case of no activity - i will close the issue on end of the week. @Nick2691 @muratmnf

@Nick2691
Copy link
Author

I still have this problem

@petrleocompel
Copy link
Owner

Last message from you is that you set the pull interval to 5 seconds.

@Nick2691
Copy link
Author

Last message from you is that you set the pull interval to 5 seconds.

And the problem is still the same (

@petrleocompel
Copy link
Owner

I am trying to search deeper into this but currently in the "log" you sent I am unsure what "relay" (by name or id) should I look for.

I am using "relay" every day via HA. But not "external" but internal on board. But the API for controlling external and internal is the same.

So to see more I need to know "name" of the relay what to look for. I will try to replay from the logs state of your system.
Is it Реле насос вода ?

Also the logs are cut. Does not contain initialization of the integration. To fully replay / simulate the issue I really need that.

@petrleocompel petrleocompel removed the stale Due no activity from issue author it will be closed soon with no resolution. label Oct 15, 2024
@Nick2691
Copy link
Author

The name of the relay is Реле насос вода.
I can make new logs in 5-7 days.

@Nick2691
Copy link
Author

home-assistant.log
This is the log

@petrleocompel
Copy link
Owner

Thanks I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants