heinekmadsen / esphome_components

ESPHome custom_components
30 stars 39 forks source link

Hardware requirements #35

Open MathiasReker opened 4 months ago

MathiasReker commented 4 months ago

Hello.

I am new in the field of esp32. Can any of you share what hardware you use to run this project.

I already have an Optima 250 installed.

Jogge commented 4 months ago

Hello,

To run this project, you'll need a few pieces of hardware.

First, you need to verify if your Optima 250 display supports Modbus. You can check this on the back of the display. Here's an image for reference:

Modbus component on Optima 250 display

Also, ensure that your Optima 250 Display has the Modbus settings configuration in the software version you are using. You can find these settings on the last page of this document: Optima 250 Modbus Settings

In addition to the Optima 250 display, you'll need an ESP32. You will also require a RS485 converter. I personally use this: TTL to RS485 Converter

To complete this project, I have bought some cables and other tools. Here are the links to these (you probably won't need everything, but it's a good start if you don't have anything already):

I'm using a fork of this repo by @lskov: https://github.com/lskov/esphome_components/tree/main/components/genvexv2

Lastly, @lskov has a comprehensive post on the "Dansk Home Assistant" Facebook group, showcasing all the options you have. You can check it out here.

I hope this helps you get started with your project.

MathiasReker commented 4 months ago

Hello,

To run this project, you'll need a few pieces of hardware.

First, you need to verify if your Optima 250 display supports Modbus. You can check this on the back of the display. Here's an image for reference:

Modbus component on Optima 250 display

Also, ensure that your Optima 250 Display has the Modbus settings configuration in the software version you are using. You can find these settings on the last page of this document: Optima 250 Modbus Settings

In addition to the Optima 250 display, you'll need an ESP32. You will also require a RS485 converter. I personally use this: TTL to RS485 Converter

To complete this project, I have bought some cables and other tools. Here are the links to these (you probably won't need everything, but it's a good start if you don't have anything already):

I'm using a fork of this repo by @lskov: https://github.com/lskov/esphome_components/tree/main/components/genvexv2

Lastly, @lskov has a comprehensive post on the "Dansk Home Assistant" Facebook group, showcasing all the options you have. You can check it out here.

I hope this helps you get started with your project.

Thank you a lot @Jogge !

MathiasReker commented 4 months ago

PXL_20240313_170238305.MP.jpg

PXL_20240313_165430277.jpg

Unfortunately the Modbus hardware is missing. Are there anyway to make it work without it?

Jogge commented 4 months ago

@MathiasReker

You need to check if there is a black component in here, like the one in my previous post.

MathiasReker commented 4 months ago

@Jogge the black component is missing. I'm sorry it's not clear in the photo - I should have taken the photo from the same angle as you.

I have a micro USB on my Optima 250. Would I be able to convert micro USB to USB A and then into this device: https://www.fruugo.dk/rs485-til-usb-adapter-understotter-115200-fejlfinding-af-serielt-portsaet-med-hoj-baud-hastighed/p-114506155-241093684

289838720_max

MathiasReker commented 4 months ago

Or maybe I could connect this unit to the micro USB? https://arduinotech.dk/shop/usb-to-rs485-ttl-serial-converter-adapter-ft232 USB-to-RS485-TTL-1

I could then power the ESP32 from an external power source.