This repository contains a collection of my custom components.
Clone this repository into custom_components
in a folder where the your config yaml
is stored.
git clone https://github.com/persuader72/esphome-components custom_components
Or copy a single selected component folder in your already exiting custom_components
folder.
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"
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