esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
418 stars 26 forks source link

Support for more 1-Wire devices #391

Closed randybb closed 5 years ago

randybb commented 5 years ago

Describe the problem you have/What new integration you would like

Support for more Dallas/1-Wire devices. Few more are already supported in HA https://www.home-assistant.io/components/onewire/, some fancy are not:

For example on Loxone platform it is used often for intelligent switches:

Please describe your use case for this integration and alternatives you've tried:

Other options are bus extenders hooked to SPI or I2C bus that are supported already. Big disadvantage of these buses is limited distance. Sure, in case of I2C it is possible to use range extenders/bus buffer (P82B96), but this adds complexity to both sites of the bus.

Additional context

JayElDubya commented 5 years ago

Especially interested in the addressable switches. I have a few applications where I only have three wires going to a low-voltage switch box. Would like to have power, ground, and a robust 1-wire bus to an addressable switch to control multiple relays.

randybb commented 5 years ago

This is exactly what I want to achieve - these 8 channels switches will be used for controlling of remote relays mounted in distribution panel and the smaller version with 2 GPIOs for controlling status LEDs ("power on" and "locator" - as we have on servers / network switches) in sockets. With a strong pull-up (needs to be supported by uC or DS2482 i2c to 1-wire bridge can handle it automatically), you can lower it to 2 wires with reliable communication up to 200 m. Pretty neat!

OttoWinter commented 5 years ago

Hi, please only one device per feature request. ESPHome already has a onewire base (for dallas temperature sensors), so integrating them wouldn't be that hard. But of course you first need the hardware to test it etc.