09-23-2024, 07:13 AM
Ugh! I have to apologise in advance for asking something that's seemingly so simple. In my defence it's the first hands-on with anything ESP-based I've had...
My sensors are working exactly as they should, but I've literally spent an entire day trying to figure out why I can't seem to activate a siren and buzzer - and I'm bamboozled. If I'm correct, then when an output led lights up, then power should be flowing to that channel, yes? Everything seems to be hooked up correctly, but when activating the buzzers as switch components in esphome, there's no noise whatsoever!
I thought it should have been simple enough, but I'm at my wit's end trying to get what I'd believed to be the most simple part to work!
The code seems pretty self-explanitory...
switch:
- platform: gpio
name: "Buzzer 1"
pin:
pcf8574: outputs_1_8
number: 0
mode: OUTPUT
inverted: false
<sigh> I'm so embarrassed having to ask such a basic question, but because of the mosfet design there really aren't many good sources of information... :'(
My sensors are working exactly as they should, but I've literally spent an entire day trying to figure out why I can't seem to activate a siren and buzzer - and I'm bamboozled. If I'm correct, then when an output led lights up, then power should be flowing to that channel, yes? Everything seems to be hooked up correctly, but when activating the buzzers as switch components in esphome, there's no noise whatsoever!
I thought it should have been simple enough, but I'm at my wit's end trying to get what I'd believed to be the most simple part to work!
The code seems pretty self-explanitory...
switch:
- platform: gpio
name: "Buzzer 1"
pin:
pcf8574: outputs_1_8
number: 0
mode: OUTPUT
inverted: false
<sigh> I'm so embarrassed having to ask such a basic question, but because of the mosfet design there really aren't many good sources of information... :'(