Code Monkey home page Code Monkey logo

pylon_emu's Introduction

PYLON_EMU

Python script to emulate the outgoing CAN bus traffic from a Pylontech LFP battery pack (48V)

Useful script to make a hybrid inverter think that your self made battery pack is a Pylontech one. This should allow you to use any battery pack that you have designed with many hybrid inverters which support pylontech LFP batteries.

It has not been tested with an inverter but the information send should be correct.

Modify it at your own needs. I no longer support this since I do not require it any more and can not test it on real hardware.

Of course it requires a raspberry pi (or a linux machine) plus extra hardware to communicate via CAN.

See a short screen capture video showing the function of it. Currently only the keep alive message is being modified every second (incremented by one). The rest of the values are static (but can be modified in the script to be set on-the-fly) https://www.youtube.com/watch?v=CiFts8KZV6k

Required CANtools package, install it using: python3 -m pip install cantools

pylon_emu's People

Contributors

juamiso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pylon_emu's Issues

Can hardware

Hola, no se si tenias en mente algun hardware para conectar entre inversor y raspberry, si es asi serias tan amable de indicarme cual??

Gracias Uly.

Hello, we need your help.

Hello, I am the administrator of a DIY group on LiFePO4 batteries in Spain, I have seen your project on github and I have found it very interesting and it could be very useful to our community, I would like to talk to you if possible, write to diy.lifepo4 .europeangroup @ gmail.com or talk to me on Telegram at @juanmijmj please, thank you!

Hola, soy el adminsitrador de un grupo DIY sobre baterías LiFePO4 en España, he visto tu proyecto en github y me ha parecido muy interesante y podría ser de mucha utilidad a nustra comunidad, me gustaría hablar contigo si es posible, escribeme a [email protected] o háblame por Telegram en @juanmijmj por favor, gracias!

Te lo escribo en español porque por lo que he visto en el canal de YouTube creo que eres de aquí 😂😂

RS-485 Protocol

Just wondering if you had any idea how the RS-485 protocol would work. I think the GROWATT inverters don't all have CAN but instead use RS-485. I've read that they communicate with the pylon-tech batteries so I'm wondering what needs to be sent in order for the BMS to work.

Note I have batrium that outputs CAN pylontech protocal but no RS-485...

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.