-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Added RelayLock to Lock specific relays from beeing changed #21081
Conversation
Thx for the code. I won't merge this PR as it is. I see a better location in the Settings area and I want to rename the command from I will implement this my way. BTW did you test what happens with bi-stable relays (using two bits within the power uint32_t)? |
Hi Theo, "RelayLock" was a hallucination of ChatGPT how to do it. Therefore I assumed this might be most straight forward. Anyhow PowerLock is also fine. In this case ChatGPT has to learn it :-) Bi-Stable relays is new to me. Never seen this. I will read the doc and test it with the current implementation. Thx. |
- Add command ``PowerLock`` to disable power control of selected outputs (#21081)
Functionality implemented as command |
Regarding the bi-stable relay it seems to work fine too. So let's see what users come up with. Thx for the idea. |
Description:
Sometimes it might be useful and required to LOCK a relay e.g. to temporary disconnect ALEXA or other smart home from changing a relay. The new command relaylock<x> 1|0 can disable or enable a lock on a specific relay
Related issue (if applicable): fixes #
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass