Giter VIP home page Giter VIP logo

home-assistant-pylontech's Introduction

Pylontech BMS monitoring component for Home Assistant

Home Assistant custom component for Pylontech (high voltage) BMS. Accessed via BMS' RS232 console port exposed over WIFI and cheap ESP8266/ESP32 hardware.

Component is developed on Pylontech's SC1000 BMS with H48050 BMU's but should also with SC0500 BMS or other PowerCube X1/X2 configurations.

Required hardware

Any cheap ESP8266 or ESP32 microcontroller and a RS232 transciever like MAX3232 could be used to construct the necessary hw.

See Pylontech Battery Monitoring via WiFi for schematics example, use the RJ45 connector version.

The ESP8266/32 microcontroller should be programmed and connected to Home Assistant via ESPHome and its custom component Pylontech BMS console server for ESPHome.

Installation

Install this component using HACS by adding custom repository https://github.com/mletenay/home-assistant-pylontech and searching for Pylontech in the Integrations.

Configration

The component requires the host/IP and the port where the Pylontech BMS console server for ESPHome is listening.

Exposed sensors

The integration connects to BMS in regular intrervals (default 30s) and executes pwr and unit console commands to read and report current state (charge, voltage, current, temperature, state, error code etc.) of BMS itself as well as its individual BMUs.

home-assistant-pylontech's People

Contributors

mletenay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

d3r-st3fan mrw298

home-assistant-pylontech's Issues

pylontech stream server not working

Dear Mletenay,
thank you for your work. It is very useful and fills the holes left by the manufacturer's technology.
I have been using your integration of the good we inverter into the home assistant for a very long time. Thank you for her!
Now I'm trying to get the pylontech integration working, but I keep having problems with it, I can't do it.
I tried to use esp32 and ESP8266 but there is no difference between them.
I am successfully using the Pylontech Battery Monitoring via WiFi integration that you mention in your tutorial. It works perfectly. But when I upload esphome to ESP, with the attached configuration, I am not able to connect with the help of your integration.
Can you please advise me where I am doing wrong?
esphome-web-726110.txt

Many thanks!
Tomas

Failed to connect - BMS

Hi mletenay,
thank for this great pylontech extension!!! I've just installed it and tried to connect to my pylontech bms (SC0500).
But the connection failed! I've changed the logging for the pylontech component to debug and retrieved the info response in the home assistant log the output of the info command, but nothing else. Also there is no logging of the conneaction failure ...

Maybe You can give me a hint to get more informations of the failure ... for futher analysis?

Thanks & regards,
Robert

connect-to-pylontech-failed-20230423
_homeassistant_logs_20230423.txt

Pylontech BMS install

I prepared functional HW (Wemos D1 mini, MAX3232), in Home assistant I have pylontech-bms integration under ESPHome. I can't add Pylontech BMS integration - Connect to Pylontech (IP pylontech.local, port 6053) BMS gives failed to connect. What is the correct procedure? Jiri

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.