Giter Site home page Giter Site logo

xreef / abb_aurora_solar_inverter_library Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 5.0 278 KB

Arduino, esp32 and esp8266 library for ABB (ex PowerOne) Aurora Inverter, implement a full methods to retrieve data from the Inverter via RS-485

Home Page: https://www.mischianti.org

License: Other

C++ 41.15% C 58.85%
abb arduino aurora esp32 esp8266 inverter library powerone rs485

abb_aurora_solar_inverter_library's Introduction

 

Renzo Mischianti

www.mischianti.org

 
Maintaining a repository (or site or forum) is a lot like tending to a garden - it requires constant care and attention to keep it thriving. If you're a skilled gardener (or coder!) and want to help keep our repository blooming, we'd love to have you on board! We're also looking for talented writers and forum moderators to help us grow our community. Interested in joining our team? Don't hesitate to reach out and let us know how you can contribute!
 

 
 

abb_aurora_solar_inverter_library's People

Contributors

xreef avatar zeno979 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abb_aurora_solar_inverter_library's Issues

no result from readDSP

I am implementing your library within my ESPHome application to connect to my ABB PVI-3.0-TL-OUTD-S. The readCumulatedEnergy seems to work (although not use the values are correct.) however the readDSP seems not to to work and state.readState is always 0. Any pointers on what should I check to get it working?

Meaning of the multipler in the inverter struct

Hi,

I see that in the InverterModel struct there is a variable called multipler. The values of this variables are constants defined in the following conversion function that takes the model ID and coverts it to the model name.

I'm not finding any reference to that values in the documentation, where does that numbers come from and what is their meaning?

Thank you and congrats for the great code!

Communication problem

Hello, I am trying to read the power output of my inverter (ABB PVI-3.0-TL-OUTD) and I flashed your example code as it is, changing the pin mapping.
The only change I made to the code is to replace the calls to freeMemory with ESP.getFreeHeap(), as for some reason the code is not compiling for me on the ESP if using the MemoryFree library.

I am using a Wemos D1 mini board, connected to an RS485 to TTL Arduino board (MAX485) through a level shifter.
Connections are made as following:

[Board to module]
rxPin (0) -> RO
txPin (5) -> DI
sCCPin (4) -> RE, DE

[Module to inverter]
A -> +T/R
B -> -T/R
RTN -> GND
LNK disconnected

Output I'm getting on the console:

15:54:43.429 -> INVERTER 2
15:54:43.478 ->           Data ROW = 255 255 0 0 0 0 0 0  
15:54:43.478 ->         Read State = 0
15:54:43.478 -> Transmission State = Unknown
15:54:43.512 ->       Global State = Unknown
15:54:43.512 ->            Version = Unknown Unknown Unknown Unknown
15:54:43.545 -> ------------------------------------------
15:54:47.578 -> ------------------------------------------
15:54:47.578 -> INVERTER 2
15:54:47.578 ->           Data ROW = 255 255 0 0 0 0 0 0  
15:54:47.611 ->         Read State = 0
15:54:47.611 -> Transmission State = Unknown
15:54:47.645 ->       Global State = Unknown
15:54:47.645 ->            Energia = 0 Wh
15:54:47.678 -> ------------------------------------------
15:54:47.678 -> freeMemory()=47080
15:54:47.711 -> freeMemory()=47080
15:54:47.711 -> INVERTER 2
15:54:47.711 ->           Data ROW = 255 255 255 255 255 255 0 0  
15:54:47.745 ->         Read State = 0
15:54:47.745 -> Transmission State = Unknown
15:54:47.778 ->       Global State = Unknown
15:54:47.778 ->           Alarms 1 = Unknown
15:54:47.811 ->           Alarms 2 = Unknown
15:54:47.811 ->           Alarms 3 = Unknown
15:54:47.845 ->           Alarms 4 = Unknown
15:54:47.845 -> ------------------------------------------

The inverter address is correctly set and the terminator resistance is set to ON.

I must be missing something, thank you for your help.

"Current day Energy" not resetting each day

It's certainly not your software related but I'm lost! :-(

On one of mine 3 aurora inverters ET (Current day Energy) reading on some random day starts unusually high (79170) even when previous day last reading was (32966). Seems like ET is not reset correctly. Faulty firmware is C.0.0.6. Other two inverter with C.0.0.5 work fine.

Any ideas on how to solve this?
Thank you! Grazie!

Manage multiple inverters

The only way to manage multiple inverters is to instantiate more Aurora objects when the only thing that changes is the inverterAddress, so a setter for this value would be useful

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.