stefanbode / Sonoff-Tasmota

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options
GNU General Public License v3.0
126 stars 41 forks source link

Introduce new interlock mode for testing #64

Closed stefanbode closed 5 years ago

stefanbode commented 6 years ago

I made the interlock more flexible. In the past it was interlock with all (setoption 14) or paired with the interlockmask to exclude relays. After some brain fuck of binary operation I introduced a new variable called BUCKETSIZE. This defines the amount of relays belong to the interlock. Default is 2.

B1G1 commented 6 years ago

Hi stefan, this new interlock mode affects in some way the shutter mode?

stefanbode commented 6 years ago

Hi Bigi, hopefully not. The shutter should use the BUCKTESIZE=2 and should behave as before. I tested quite a lot with the change. Please let me know, if you find a bug.

stefanbode commented 6 years ago

I fixed a bug that uses the TASMOTO full interlock if switching OFF a relay that was already OFF