Skip to content

Commit

Permalink
Issue with trim fixed, so E-BOX-4850P works now.
Browse files Browse the repository at this point in the history
eb test data added
Relationships updated
  • Loading branch information
PLCHome committed Nov 1, 2023
1 parent 4bf9988 commit 041db5a
Show file tree
Hide file tree
Showing 21 changed files with 828 additions and 229 deletions.
37 changes: 25 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
![Logo](media/logo.png)

![Logo](media/pytes.jpg)

# ioBroker.pylontech

[![NPM version](https://img.shields.io/npm/v/iobroker.pylontech.svg)](https://www.npmjs.com/package/iobroker.pylontech)
Expand All @@ -11,15 +13,15 @@

**Tests:** ![Test and Release](https://github.com/PLCHome/ioBroker.pylontech/workflows/Test%20and%20Release/badge.svg)

## pylontech adapter for ioBroker
## pylontech and pytes adapter for ioBroker

Query the cell voltages and the status of pylontech batteries via the console. I'm not affiliated.
Query the cell voltages and the status of pylontech or pytes batteries via the console. I'm not affiliated.

**Please note that everything you build or connect is always your responsibility. The developer of this adapter assumes no liability for any damage!**

## how it works

This adapter is used to determine the health status and functions of a Pylontech array, which can consist of one or up to fifteen batteries.
This adapter is used to determine the health status and functions of a Pylontech or Pytes array, which can consist of one or up to fifteen batteries.
This adapter is not used to control the battery. This is the part of a charging and power unit or an inverter.
The batteries have a console connection that provides a RS232 or V24 interface. This adapter is connected to it via a serial interface.
The first battery provides all the data and asks the others via the uplink.
Expand Down Expand Up @@ -184,16 +186,19 @@ Serial Port Over WiFi: https://www.instructables.com/Serial-Port-Over-WiFi/
Tasmota can also be used: https://tasmota.github.io/docs/Serial-to-TCP-Bridge/

Only the following or self-compiled ones can be used as bin, otherwise the TCP server is not included:
* http://ota.tasmota.com/tasmota32/release/tasmota32-zbbrdgpro.bin
* http://ota.tasmota.com/tasmota/release/tasmota-zbbrdgpro.bin

- http://ota.tasmota.com/tasmota32/release/tasmota32-zbbrdgpro.bin
- http://ota.tasmota.com/tasmota/release/tasmota-zbbrdgpro.bin

The Gipos must be set beforehand. One each on TCP Rx and TCP Tx.

```
TCPBaudRate 115200
TCPStart 23
Rule1 ON System#Boot do TCPStart 23 endon
Rule1 1
Rule1 ON System#Boot do TCPStart 23 endon
Rule1 1
```

It works because a transparent TCP server is provided on, for example, port 23. The port can be selected, simply exchange 23 for 9000, for example.
**And of course solder a MAX2323 between the Gipos and the RJ/DSUB plug!!!!**

Expand Down Expand Up @@ -252,13 +257,17 @@ What was tested:

#### Batteries

| Pylontech model | Model | Firmware | Is working | Comment |
| ---------------- | ----- | ------------- | ---------- | ------------------------------------------ |
| US5000 | US | V1.3 22-08-10 | fine | |
| US2000C | US | V2.6 21-09-26 | fine | |
| US2000 (US2KBPL) | US | V2.8 21-04-29 | fine | Temperatures only in one degree increments |
| Pylontech model | Model | Firmware | Is working | Comment |
| ---------------- | ----- | ------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| US5000 | US | V1.3 22-08-10 | fine | |
| US2000C | US | V2.6 21-09-26 | fine | |
| US2000 (US2KBPL) | US | V2.8 21-04-29 | fine | Temperatures only in one degree increments |
| Force H2 | Force | V1.5 21-06-18 | fine | Attention: in some Force manuals only the RX and TX connections are listed in the connector description. The ground is on PIN 8 and must also be connected. |

| Pytes model | Model | Firmware | Is working | Comment |
| ----------- | ----- | ------------- | ---------- | -------------------------------------- |
| E-BOX-4850P | US | V1.3 22-12-20 | fine | Thanx to kletternaut for the test data |

If you use hardware, please write to me in the forum or in Github as an issue. We would be happy to continue this list.

ioBroker forum: https://forum.iobroker.net/topic/68707
Expand Down Expand Up @@ -501,6 +510,10 @@ If true without ack is written to set, the current time is sent to the Pylontech

## Changelog

### 0.0.7 (01.11.2023)

- (PLCHome) issue "Cannot read properties of undefined (reading 'trim') at Parser" fixed, so E-BOX-4850P works now.

### 0.0.6 (09.10.2023)

- (PLCHome) The sent command was recognized from the response. Now the command is passed to the parser.
Expand Down
2 changes: 1 addition & 1 deletion build/pylontech/ParserBase.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 041db5a

Please sign in to comment.