Skip to content

hipik634/SofarSolar-esphome-HomeAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

SofarSolar-esphome-HomeAssistant

sofar solar integration

if you ever need to get solar production info from sofar solar 4ktlm-g2 or any other RS 485 connected solar inverter. We'll be using ESP8266 MCU and esphome integration.

you need some

  1. ESP8266 MCU board
  2. MAX485 or MAX3485 TTL to RS485 board

Connections:

ESP ----> TTL conversion unit

DI6 (RX) ---- RO

DI5 (READY) --- DE+RE (short them)

DI7 (TX) ---- DI

Vin --- VCC

GND --- GND

RS485 - to A and B

loosely based on https://github.com/cmcgerty/Sofar2mqtt , so you can use the connection images .

install esphome on your laptop/device

run "esphome run esp-config.yaml" to upload to device over usb, after that you can push it by OTA. You should get an IP in log.

then just add a device in home assistant, integration name esphome - and IP from previous step

connection image:

image

image

you can scan by free modbus master tool (2.0.3.0 by Graham A Ross) to find the required registry value (read holding register from start address 0 and size 27)

image

About

sodar solar integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published