Thanks to visit codestin.com
Credit goes to github.com

Skip to content

persuader72/esphome-components

Repository files navigation

persuader72's esphome custom components

This repository contains a collection of my custom components.

1. Installation

Check this page to find out how to use external components

external_components:
  - source: github://persuader72/esphome-components@master

2. Components

shelly.one_wire

External component for to support Temperature Sensor AddOn for Shelly 1/1PM, derived from the original one_wire component from esphome.

external_components:
  - source: github://persuader72/esphome-components@master
    components: [ shelly ]

logger:
  level: INFO
  baud_rate: 0

one_wire:
  - platform: shelly
    input: GPIO1
    output: GPIO0

sensor:
  - platform: dallas_temp
    name: temperature
    update_interval: 120s

shelly_dallas component

A component to support Temperature Sensor AddOn for Shelly 1/1PM, derived from the original dallas component from esphome.

To configure it is possible to follow the same schema found dallas component documentation with the following differences:

  • shelly_dallas must be used as platform
  • the pin configuration must be configured as in the following example

To find the sensor ID follow the same procedure in found in dallas component: https://esphome.io/components/sensor/dallas.html

shelly_dallas:
  pin_a: GPIO3
  #pin_a: GPIO1 #For Shelly Plus 2PM
  pin_b: GPIO0

sensor:
  - platform: shelly_dallas
    address: 0xCA011938282E5128
    name: "Temperature #1"
  - platform: shelly_dallas
    address: 0x0B01193807DD3128
    name: "Temperature #2"
  - platform: shelly_dallas
    address: 0x6E0119384DC70728
    name: "Temperature #3"

shelly_dht component

A patch to the dht component from esphome to make it compatible with the Temperature Sensor AddOn for Shelly 1/1PM.

sensor:
  - platform: shelly_dht
    pin: GPIO3
    pin_a: GPIO0
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    update_interval: 60s

About

Custom esphome components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •