aargh... im hitting my head against a brick wall.. and it hurts!
I cant for the life of me, get the pump to run. Been trying all kinds of code snippets and connections. And it got 12volts hooked up and meausured.
its set to I2C (blue led is lighting up).
The log on esp says SDA pin GPIO21, and SCL pin GPIO22 so thats where ive connected my wires.
White for RX / SCL on GPIO22,
Green for TX / SDA on GPIO21.
Do i need to connect the wires on any other pins on the ESP32?
This is my esp yaml code:
Code: Select all
fan:
- platform: speed
name: "PWM_ph_up_pump"
output: PWM_ph_up_pump
speed:
low: 0.30
medium: 0.45
high: 0.55
output:
- platform: ledc
pin: GPIO21
frequency: 11000 Hz
id: PWM_ph_up_pump
inverted: false
The code validates, uploads and i can add it in HA as a entitiy and switch it on/off and change between low/med/high. but the pump itself wont react to any commands.
Really appreciate any help i can get, feeling a little bit stuck at the moment..