-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
Showing
7 changed files
with
108 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
505c479
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I understand the Interlock bit take the place of SetOption14, so an upgrade to 6.4.11 should not affect the settings of a Sonoff Dual used to control a roller shutter and that rely on this option. Correct ?
505c479
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to execute interlock 1,2 once
505c479
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum, a chance I only have 13 roller shutters to upgrade.
Then, I guess it deserves a specific warning.
Or can it be resolved in settings.ino at little expense?
505c479
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Xavier,
I tried to highlight Theo's wiki entry by making "deprecated" bold font. I just now added additional text to highlight the new alternative command syntax.
I agree that if a user is just upgrading the firmware and does not read the changelog or the wiki, they may be caught unaware as to why their interlock configuration no longer functions. Hopefully this will direct them to the wiki to confirm their understanding of the feature and there they will see the new information. I'm afraid that is the most that can be done. I have gotten into the habit of checking the changelog and wiki just to be sure before I upgrade. Of course, I always miss something ;-) But then that's on me.
Mike
505c479
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michael
In settings.ino, there is a specific mechanism that take into account the changes between versions and can help to solve those regressions. That code is used only once and should remain as small as possible, as always it's a balance cost/benefits.
505c479
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I'll change the first byte of the interlock group in settings.ino to 0xFF to simulate the previous functionality.
Tomorrow.
505c479
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wahoo, I can't imagine more efficient! Thanks!