hello,
is there some arduino integration to HA?
thanks!
hello,
is there some arduino integration to HA?
thanks!
Don’t think so, no.
@jackjourneyman saw some posts here … but its not clear to me how they integrated it … Arduino and home assistant connected (lan or usb) - #12 by ruighionis
just wondering how ppl control these relay boards for arduino from HA.
It looks like they’re using mqtt. You could also use serial over usb using either the built in serial stuff (which i never got to do anything useful) or node red.
thx, whats node red?
seems maybe its better to skip that platform? in that case whats the alternative?
What arduino do you want to use ? An esp32 can do most stuff that an arduino can.
Tell us what you want to do, not how you want to do it.
Typically they use ESPHome instead.
They are using firmata with the board connected by either a serial or usb connection.
hi,
i want to control relay boards like this but with 1 up to 8 relays
Was thinking to use board with PoE ethernet
and control abovementioed relay with it.
thanks
maybe that module can be used directly with esp32 CP2104 board?
Not easily. This is simply a relay board in the footprint of the Wemos D1 Mini development board.
I’ve never run an ESPHome device over Ethernet, but I have more than 50 on WiFi.
Why don’t you just use a relay board that already has a processor on it?
I used two of these in a Halloween project last year. Just flash ESPHome to it and write a configuration YAML file to control the relays.
DO NOT BUY TUYA DEVICES. These are cloud-based and generally a pain in the arse to integrate into Home Assistant.
What are you planning to control with the relays? These are low-current devices. The relays are rated at ten to fifteen amps depending on the manufacturer, but I would NEVER try to pull more than 5A through them continuously.
@stevemann thanks that board looks great,
what i wanted to do is:
use esp32 CP2104 with ethernet module to control one of these small blue relays - on/close.
thanks!
I still can’t figure out what you are asking. The CP-2104 is a USB to UART adapter usually used to flash ESP devices.
Since you won’t tell what you are trying to do, I have to guess.
Do you want to control eight relays on one ESP?
Do you want to control eight relays using eight ESPs?
Do you want WiFi or Ethernet?
Unless you can be more concise about what you want to do, I’m done. I am out of ideas.
@stevemann sorry i meant that esp32
I want to attach to it ethernet module; as i need connection 100% reliable.
I want to control One Relay with that esp32 module connected via Ethernet.
hope its more clear
Thanks
Much.
If the seller is describing the ESP development board in your photo, they are… dumb.
It is an ESP32 Wroom Development Board. One of the most common ESP32 Development Boards. It is in the Wemos D1 footprint, though not necessary. The USB is USB-C, whereas earlier similar sized development boards use the Micro-USB connector. The CP2104 is only the UART chip on the board. It’s the same UART chip on just about every other development board.
If you are going to run Ethernet to every relay location, then what do you need with an ESP board? Just connect a relay at the end of the wire run.
Unless you are considering long distances, then WiFi is very reliable.
I have seen an ESP board with Ethernet, and a few, very few people here have installed ESPHome on it. I never have.
If you must use Ethernet, then I would recommend you use a Raspberry Pi or Arduino Uno and use MQTT to talk to Home Assistant.
That is the closest you will get to an Arduino integration in Home Assistant.
i dont get that, how do you want to connect relay on ethernet cable?
You need to control relay somehow and integrate it into HA, so i was thinking to do that using esp32 board.
read some threads here … it works okay - or its not?
It’s just wire. You can be fancy and cut an Ethernet patch cable and solder all the colored wires to one side of the relay and all the white wires to the other. Do the same to the other end and connect a control relay and power supply. Done.
Unless- Since you still haven’t described your project, if the Ethernet has to go through an Ethernet switch, then you can’t do this. This will work if the Ethernet cable goes uninterrupted from your control point to the relay location. Or you could just pull some doorbell wire.
As I said, few people have done this. Probably because WiFi is so easy, and it mostly works. Ethernet assistance won’t be very likely.
There is still so much that we have to guess about your project that I feel like I am wasting my time.
What are the relays switching?
How far from the control point?
Why won’t WiFi work?
uhm …
its ethernet from switch.
Wifi in that room is not working …
As I said i want to have relay integrated inside HA and be able to on/off its state.
@stevemann sorry but … what is that needed for?
I have Ajax Transmission module, in case u want to signalize alarm from external sensors for example sensors inside HA, all that needs to be done here is to connect its 2 contact - the easiest way is via Relay.
wifi wont work - dedicated room - no wifi signal.
All what i need is to:
Thats it. nothing fancy, nothing scientific.
Thanks!