adafruit / Wippersnapper_Components

Component Description Models for Adafruit IO Wippersnapper Beta.
MIT License
9 stars 40 forks source link

Latching Relay #8

Open brentru opened 3 years ago

brentru commented 3 years ago

What's the full name of the component you'd like to see in Adafruit.io WipperSnapper? Adafruit Latching Mini Relay FeatherWing

Product URL or Datasheet https://www.adafruit.com/product/2923

Additional context

You have support for non-latching relays like in the mini relay FeatherWIng. I've got a latching relay FeatherWing and which I've been using to control my thermostat. It would be great to have support for this. I could test it with a potentiometer or a button until you have support for I2C thermometers.

The latching relay has 2 input pin (set and clear) and the dialog for configuring the non-latching ha just one input pin since that is all that's needed.

brentru commented 2 years ago

This issue is marked for Hacktoberfest 2022. If you are participating in Hacktoberfest and want to take on this issue, please first fully read through the guide for "How to add a new component to Adafruit IO WipperSnapper".

For I2C Components to work, please note that you are required to add both an I2C component definition (see this guide page for more information) to this repository and an I2C component driver (see this guide page for more information) to the WipperSnapper Firmware Repository.

If you have any questions, comments, or concerns, please feel free to tag me in the comments here, or in your pull request for review.

Happy Hackin'!

T-Mosher commented 22 hours ago

This issue has been sitting idle for a while.

Workaround: I implemented control for the latching relay by using two separate "non-latching relay" components, one for the SET interface and one for the UNSET interface.