BrewPiLess icon indicating copy to clipboard operation
BrewPiLess copied to clipboard

Support for Sonoff TH Elite 20A and TH Origin 20A

Open jonathanschneider opened this issue 1 year ago • 1 comments

This PR adds support for Sonoff TH Elite 20A and TH Origin 20A which use a double-coil latching relay. The pins to control the relay are hardcoded since they're defined by these devices and cannot be changed. A more elegant solution could be to introduce new pin types such as "Latching SET" and "Latching RESET" but since I haven't found any requests for latching relays it's probably not worth the effort.

jonathanschneider avatar Oct 29 '24 17:10 jonathanschneider

This PR is based on @zandegran's PRs #438 and #440.

jonathanschneider avatar Oct 29 '24 17:10 jonathanschneider