Skip to content

theanch92/ESPHome-Arduino-Port-Expander-Mirko

 
 

Repository files navigation

ESPHome-Arduino-Port-Expander

An Arduino Port Expander for ESPHome with added Arduino Mega 2560 support
See the Esphome page for documentation.

Additional Updates

In addition to the binary and analog sensors, support for text sensors has been added. This makes it easy to send arbitrary data or precalculated text from the Arduino. The example sketch has been updated to demonstrate sending precalculated data from a DHT22 temperature / humidity sensor.

Yaml Example

text_sensor:
  - platform: custom
    text_sensors:
    - name: "Temperature"
      filters:
      - append: "F"
    - name: "Humidity"
      filters:
      - append: "%"
    - name: "Heat Index"
      filters:
      - append: "F"
    lambda: |-
      return {ape_text_sensor(expander1, 1, "Temperature"),
            ape_text_sensor(expander1, 2, "Humidity"),
            ape_text_sensor(expander1, 3, "Heat Index")};

About

An Arduino Port Expander for ESPHome with added Arduino Mega 2560 support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 100.0%