esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
285 stars 34 forks source link

ESPHome ESP32 NodeMCU PWM stop #5760

Open Jogiarea opened 2 weeks ago

Jogiarea commented 2 weeks ago

The problem

Hello Community I have a problem,

I would like to make my MAICO ventilation system Smart.

Maico with 2x ebmpapst G3G16m fan

The original circuit board should be completely omitted and only controlled with the ESP32 NodeMCU via Homeassistant.

The ebm-papst fans can be connected directly to 230V. They also have a PWM output as well as a tach output and 10V0.2mA output (irrelevant for this, is required to control the fan with 0-10V interface) Operating instructions here unfortunately only in German.

https://img.ebmpapst.com/products/manuals/R3G140AW0512-BA-GER.pdf

  friendly_name: Belueftungsanlage_ESP32

esphome:
  name: beluftungsanlage_esp32

esp32:
  board: nodemcu-32s
  framework:
    type: arduino
    version: 2.0.0

# Enable logging
logger:

# Enable Home Assistant API
api:
#  encryption:
#    key: "rQIpT1Bwef00LOxyShQMu+WtAN9CW9S7uwh/JruHJUg="

ota:
  safe_mode: true
  password: "XXX"
  port: 8266

wifi:
  ssid: "XXX"
  password: "XXX"
  use_address: 192.XXX
  manual_ip:
    static_ip: 192.XXX
    gateway: 192.XXX
    subnet: 255.XXX
    dns1: 192XX

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "BX"
    password: "XXX"

captive_portal:

output:
  - platform: ledc
    pin: GPIO5

    min_power: 10%
    frequency: "10000Hz"
    id: pwm_output1

  - platform: ledc
    pin: GPIO17

    min_power: 10%
    frequency: "10000 Hz"
    id: pwm_output2

fan:
  - platform: speed
    output: pwm_output1
    name: "Zuluftlüfter"
    speed_count: 100

  - platform: speed
    output: pwm_output2
    name: "Abluftlüfter"
    speed_count: 100

sensor:

  - platform: pulse_counter
    pin: GPIO15

    name: Abluft Drehzahl
    id: fan_pulse_ab
    unit_of_measurement: 'RPM'
    filters:
      - multiply: 1
    count_mode:
      rising_edge: INCREMENT
      falling_edge: DISABLE
    update_interval: 5s

  - platform: pulse_counter
    pin: GPIO2

    name: Zuluft Drehzahl
    id: fan_pulse_zu
    unit_of_measurement: 'RPM'
    filters:
      - multiply: 1
    count_mode:
      rising_edge: INCREMENT
      falling_edge: DISABLE
    update_interval: 6s

# Send WiFi signal strength & uptime to HA
  - platform: wifi_signal
    name: $friendly_name WiFi Strength
    update_interval: 240s

text_sensor:
  # Send IP Address
  - platform: wifi_info
    ip_address:
      name: $friendly_name IP Address

web_server:
  port: 80

Das Problem, es funktioniert so weit leider Stopt der Lüfter ohne eingriff nach ein paar Minuten einfach, wenn ich ihn dann wieder über die Oberfläche Starte läuft dieser wieder ein paar Minuten

Which version of ESPHome has the issue?

2024.4.2

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

aktual

What platform are you using?

ESP32

Board

NodeMCU ESP32

Component causing the issue

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response