Comments (14)
we find another way to connect - modbus through usb port directly to home assistant rp4 and manual mapping all data from this file
https://github.com/syssi/esphome-smg-ii/blob/main/esp32-example.yaml
no wiring, no soldering, no converters. only usb to usb and some code
from esphome-pipsolar.
You are receiving a local echo of the request. This isn't a real response of your inverter. It looks like your wiring isn't correct.
from esphome-pipsolar.
i tried this connection
https://photos.app.goo.gl/txGkw8yFhJcKhHF86
but maybe its a wrong way because its not rs232
i will buy max3232 and do manual wiring through D-Sub 9pol (i have internal pinout in inverter manual)
from esphome-pipsolar.
I've understood your idea now but it's hard to predict the RS232 converter on the WiFi dongle is properly powered or not. The MAX3232 solution will be easier.
from esphome-pipsolar.
Is there a difference between the MAX3222 and MAX3232? Please make sure the RS232 converter can be driven using 3.3V. There are converter chips around which require 5V and 3.3V is out of spec.
from esphome-pipsolar.
thanks. i will try to find a mistake
from esphome-pipsolar.
May be this schematics will help you to get a better idea how the data cable should look like: https://github.com/syssi/esphome-smg-ii#schematics
from esphome-pipsolar.
i use only rx-tx pins to connect because my rs232 is powered from inverter
esp32 have own power source
is this correct?
from esphome-pipsolar.
Do you have a RS232-to-TTL converter module between the inverter and your ESP? You have to convert the logic level from -12/+12V to 0/3.3V.
from esphome-pipsolar.
Could you provide a photo of your wiring?
from esphome-pipsolar.
i have a wifi dongle with cable to rs232 port in invertor
inside this dongle i found "3.3-rx-tx-gnd" pins
https://photos.app.goo.gl/XTy8T4vCptWV686V7
from esphome-pipsolar.
I assume the pin header at the PCB is an UART-TTL and not RS232. You should connect the inverter to the D-Sub 9pol connector and make sure the pinout matches.
from esphome-pipsolar.
@syssi MAX3222 is also compatible or do we need only MAX3232-based converters?
from esphome-pipsolar.
Any news here? I would like to close this issue.
from esphome-pipsolar.
Related Issues (20)
- Add measurement
- Conection lost HOT 1
- pipsolar + jk_bms HOT 1
- esphome reports "unknown" when inverter shuts down or on its own sometimes HOT 1
- Pooling command for P18 wrong HOT 1
- Question regarding ttl RS485 adapter HOT 4
- set_level action expects a percentage and clips values above 1.0 HOT 4
- Qoltec 6KW (PI30) - timeout QPIGS other works HOT 3
- Adding external componen not found HOT 4
- MPI 10k integration
- pipsolar ac_output_active_power HOT 1
- Apiconnectionerror HOT 2
- Inverter Log HOT 1
- Component jk_modbus took a long time for an operation.... and cause esp to halt after sometime HOT 2
- Pipsolar inverter pv1 and pv2 HOT 1
- Hybrid Solar inverter 8.2kw/10.2KW HOT 31
- Fronus PV7200 - CRC NOK expected HOT 13
- Axpert_KSMKSV_RS232_Protocol HOT 8
- PIP 8048 zero values HOT 4
- WKS evo cirlce HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome-pipsolar.