-
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
Interlock PR Merge request #5014
Conversation
Stefan patch1
Fixed issue with Webinterface on Friendlyname
Added Counter0 as new measurement to measure e.g. water flow in irrigation system
Due to the enhancement to 32 relays there are several changes of hard coded limits required. Done for the powerontimer that switches offf a relays after some time.
rules support: reporting position and direction
Update xdrv_97_shutter.ino
New sync to master Version. Fixed bug with missing DeepSleep PIN (122) #118
ability to mask interlock relays and to deine bucketsize for the relays to interlock
Great! Will investigate. |
6.4.1.11 20190124 * Remove command SetOption14 as it has been superseded by command Interlock * Remove command SetOption63 as it has been superseded by command Interlock * Add command Interlock 0 / 1 / 1,2 3,4 .. to control interlock ON/OFF and add up to 8 relays in 1 to 4 interlock groups (#5014)
Thx for your ideas and implementation. I choose another approach where the user can group up to four sets of relays of any amount and have them interlocked within the group. Currently supports up to eight relays as does the rest of Tasmota. On a Sonoff 4CH this allows for interlock relays 2 and 3 while 1 and 4 are still being used as single relays. The Interlock command would be |
Examples:
Is this how it would work? Mike |
Yes, but the commands SetOption14 and SetOption63 have been removed. I just updated the wiki commands with this:
So every time you execute command |
The relays within a group are separated by a comma, the groups are separated by a space. |
Can you specify this kind of interlock?
In this scenario, 1&2 would not be interlocked together with each other but only interlocked, individually, with 3. I have a ceiling fan scenario where:
Mike |
Arendt, i‘m Fine with the approach and it will add even more flexibility. I will remove it from my fork and happy to get less changed code. Great work. |
@meingraham no you can't. Well you can but the input corrector won't allow it as the same relay is used in two groups. In your case going from 3 to 1 wouldn't work as it will keep 3 on while turning 1 on too. See wat happens with interlock 1,2,3 |
Feature request - cross-lock? 😁
Mike |
6.4.1.11 20190124 * Remove command SetOption14 as it has been superseded by command Interlock * Remove command SetOption63 as it has been superseded by command Interlock * Add command Interlock 0 / 1 / 1,2 3,4 .. to control interlock ON/OFF and add up to 8 relays in 1 to 4 interlock groups (arendst#5014)
Ok, second try after lots of fight with GITHUB. Change should now be clear. Other language files must be updated too.