Coder Social home page Coder Social logo

abbaurora's Introduction

ABB Aurora (ESPHOME)

This is an ESPHome component for the ABB Aurora SOLAR inverter. It is connected via RS485 to an ESP8266 (Wemos D1 mini).

The code is based on https://github.com/jrbenito/ABBAurora that again was based on the work of Davide Rosa https://www.drhack.it/arduino/32-lettura-inverte-power-one-aurora.html

The original work was made available under the LGPL v2.1 license. I published the modified library (component) under GPL v3.

An example of a configuration for ESPHome:

substitutions:
  device_name: zonnepanelen
  device_description: "ABB Aurora Solar Inverter"
     
esphome:
  name: ${device_name}
  comment: "${device_description}"
  platform: ESP8266
  esp8266_restore_from_flash: true
  board: d1_mini
  name_add_mac_suffix: false

external_components:
  #use from main branch in GitHub
  - source: "github://ajvdw/abbaurora"
    components: [abbaurora]
    refresh: 0s
    
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  manual_ip:
    static_ip: 192.168.2.114
    gateway: 192.168.2.254
    subnet: 255.255.255.0  
 
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: ${device_name}
 
captive_portal:
 
# Enable logging
logger:
  level: info
 
# Enable Home Assistant API
api:

ota:
  password: !secret ota_password
 
web_server:
  port: 80
 
uart:
  rx_pin: GPIO12
  tx_pin: GPIO14
  baud_rate: 19200

abbaurora:
  id: inverter1
  flow_control_pin: GPIO13
  address: 2

sensor:
  - platform: abbaurora
    abbaurora_id: inverter1
    cumulated_energy_total: 
      name: "ElecProductionSolar"
      unit_of_measurement: 'kWh'
      accuracy_decimals: 3
      filters:
      - multiply: 0.001
    v_in_1:
      name: "Voltage IN 1"
    v_in_2:
      name: "Voltage IN 2"
    i_in_1:
      name: "Current IN 1"
    i_in_2:
      name: "Current IN 2"
    power_in_1:
      name: "Power IN 1" 
    power_in_2:
      name: "Power IN 2"  
    power_in_total:
      name: "Power IN Total" 
    grid_power:
      name: "SolarPower"
    temperature_inverter:
      name: "TemperatureInverter"
    temperature_booster:
      name: "TemperatureBooster"
    grid_voltage:
      name: "GridVoltageSolar"
    cumulated_energy_today:
      name: "SolarEnergyToday"

text_sensor:
  - platform: abbaurora
    abbaurora_id: inverter1
    inverter_version:
      name: "Inverter type"
    connection_status:
      name: "Inverter RS485 Status"
    identification:
      name: "Inverter identification"
  - platform: version
    name: "ESPHome Version"
    hide_timestamp: true

abbaurora's People

Contributors

ajvdw avatar

Watchers

 avatar

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.