Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIYLESS shield and temperature sensor #31

Open
antonioste opened this issue Jan 18, 2024 · 3 comments
Open

DIYLESS shield and temperature sensor #31

antonioste opened this issue Jan 18, 2024 · 3 comments

Comments

@antonioste
Copy link

Hi,
I'm use DIYLESS master shield. This shield have a temperature sensor connect to pin 14. How I can set it in yaml instead of HA sensor?

thanks

@timdiels
Copy link

timdiels commented Jan 27, 2024

Edit: My bad, misread your question, I don't use the DIYLESS bluetooth temperature sensor, or are you saying there's also another temp sensor directly connected on pin 14?

This is what I use for DIYLESS:

esp32:
  board: wemos_d1_mini32
  framework:
    type: arduino

opentherm:
  # The pin numbers I found in the diyless thermostat shield source code
  in_pin: 21
  out_pin: 22

# And you'll want to point to this fork instead as this repo is pretty much unmaintained and no longer works
esphome:
  name: boiler  # HA device id
  friendly_name: Boiler
  platformio_options:
    lib_deps:  # required by freebear-nc/esphome-opentherm
      - https://github.com/freebear-nc/opentherm_library.git

external_components:
  - source: github://freebear-nc/esphome-opentherm

...

@timdiels
Copy link

You probably already found this, but I would dig around in the ino to find out what it is exactly and configure the equivalent of that as a component in esphome, give it an id and then point opentherm to that id.

@vaggelanos
Copy link

vaggelanos commented Sep 22, 2024

You can do this to load the temperature:

one_wire:
  - platform: gpio
    pin: GPIO18
    id: ch_room_temperature_bus

sensor:
  - platform: dallas_temp
    id: ch_room_temperature
    update_interval: 60s
    one_wire_id: ch_room_temperature_bus

Adjust the pin accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants