a someone help me with the coding to use 15x low level relays in HA. Trued various coding from youtube but none of them show up in HomeAssistant.
- platform: gpio
pin: 14
id: Relay_3
inverted: True # Inverted logic
a someone help me with the coding to use 15x low level relays in HA. Trued various coding from youtube but none of them show up in HomeAssistant.
switch:
- platform: gpio
pin: GPIO18
id: relay_3
name: "Relay3"
inverted: true
If you have one of those 16ch relay boards, be careful, they are sometimes tricky to wire correctly.
switch:
having to convert inverted to false.
Thank you.
Will work from the ground up from here.
read a forum where it was recommended to removed a smd component from the 16 low level relay that doesn’t have any capacitors installed.
Anyhow just now going to load up the 15 relay coding. Will try adding other options like the 0s configuration and whatever else I can find.
It’s my first coding to work in home assistant. hopefully it integrates into the whole ecosystem well.
switch:
Do things like entity_id have to be implemented?
still not sure how to enable encryption etc, but will try things fund in videos to add some spice to the programming so to speak.
So it’s not low side relay.
Be careful with Gpios you use (find 15 of them that don’t give troubles on boot…)
no trouble but something fry the esp32 It will not allow code upload and bright white light on esp32 not on anymore, just the regular lights. Lucky I have a second one. I will test voltages and try to figure how to connect correctly with second board. I am guessing it need diodes on each wire to be safe.
Feel free to post your relay board/wiring. I don’t expect diodes are needed for correct wiring( if not for inductive load flyback).
switch 10 seems to be occupied on the new esp32 install. Deleting the entry into that gpio16.
All working. Its low side but I am wondering what to do with the power supplies and the voltage reducer etc. A 12v/5a power supply, a mean well 4v power supply. Using 9 volt to power the freenove esp32 breakout board powers everything. Im wondering about the diodes that were in mind to be installed. The voltage stepdown device is showing how much power is being supplied. As it was te power source for 5v, when its off it just show how much power is coming from the esp32. The other factors are that the EMI filter that was to power those supplies is in a tight space and it was just used to try and keep any flickering from tightly packed wiring.