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

Cross-lock Interlock #5055

Closed
meingraham opened this issue Jan 28, 2019 · 8 comments
Closed

Cross-lock Interlock #5055

meingraham opened this issue Jan 28, 2019 · 8 comments
Labels
enhancement Type - Enhancement that will be worked on

Comments

@meingraham
Copy link
Collaborator

First, thank you for the new TASMOTA Interlock feature!

Have you looked for this feature in other issues and in the wiki?
Yes

Is your feature request related to a problem? Please describe.
A relay cannot be part of two different interlocked relay groups.

The new Interlock feature ported from this fork over to TASMOTA main allows great flexibility in defining the groups of relays to be interlocked via the software configuration. One can define multiple groups and can define which relays are part of each group. However, a relay cannot be part of two different interlock groups.

Describe the solution you'd like
In my use case, I need to be able to interlock a relay individually with two other relays as separate interlocking groups. I have a ceiling fan speed setting scenario where:

  • Low - 1 is on by itself
  • Medium - 1&2 are on together
  • High - 3 is on by itself

In this scenario, relay 1 can act independently from relay 2. However, relay 3 should never be latched when EITHER relay 1 or relay 2 are latched. Using the current Interlock syntax, the groups would be defined as:

Interlock 1,3 2,3

In other words, define the interlock groups as follows:

A. Relay 1 & 3
B. Relay 2 & 3
C. Do not interlock Relay 1 & 2

Interlock 1,2,3 won't allow 1&2 to be on at the same time, which the circuitry in the fan requires for selecting Medium speed.

Describe alternatives you've considered
Use Interlock for one of the relay pairs and use Rules for the other.

Additional context
#5014 (comment)
#5014 (comment)

This enhancement will simplify the setup and make maintaining the configuration easier. My use case is likely but one of many others that other makers have in their environments.

Thank you for your consideration of this enhancement.

Mike

@andrethomas2 andrethomas2 added the enhancement Type - Enhancement that will be worked on label Jan 28, 2019
@arendst
Copy link
Owner

arendst commented Jan 29, 2019

Won't do as there are too many situations possible which each have to be managed in code. Use rules for your situation.

@arendst arendst closed this as completed Jan 29, 2019
@meingraham
Copy link
Collaborator Author

Understood. I wasn't sure if there might be "concise" logic that would allow implementation of the bit-level required for interlock/cross-lock permutations for up to the 8 channels you have allocated for in TASMOTA.

Thought I'd ask. Nothing ventured, nothing gained ;-) Perhaps someone will have an epiphany and come up with an elegant solution sometime down the road.

Regards.

Mike

@quasi8

This comment has been minimized.

@joba-1

This comment has been minimized.

@meingraham

This comment has been minimized.

@quasi8

This comment has been minimized.

@meingraham

This comment has been minimized.

Repository owner locked as too heated and limited conversation to collaborators Aug 23, 2019
@ascillato2

This comment has been minimized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Type - Enhancement that will be worked on
Projects
None yet
Development

No branches or pull requests

6 participants