Coder Social home page Coder Social logo

homeassistant-apsystems's Introduction

hacs_badge apsystems Maintenance

Please contribute:

Buy me a beer!

APsystems Sensor for Home Assistant

This component simplifies the integration of a APsystems inverter:

  • creates up to individuals sensors for easy display or use in automations
  • collects power (W) and energy (KWH) every 5 minutes. There is also a sensor for daily total and max power.
  • extract data from apsystemsema.com web portal instead of hack the ECU connection
  • supports any kind of ASsystems inverter or ECU
  • if enabled, pauses from sunset to sunrise (basically when there no sun)
  • have a cache system to avoid individual sensors request the same data to apsystemsema.com. It is a great feature for I/O (HTTP) performance.
  • there is a date sensor to identify exactly date/time refers each sensor data

URL's Utilised

The URL called is https://apsystemsema.com/ema/ajax/getReportApiAjax/getPowerOnCurrentDayAjax It is only called from sunset to sunrise and the sensor going offline at night

Installation

Use HACS to point to this github URL: https://github.com/bgbraga/homeassistant-apsystems

Configuration

Use your apsystemsema.com user to configure the configuration.yaml.

# Minimal configuration.yaml entry:
sensor:
  - platform: apsystems
    username: apsystemsema_user
    password: !secret apsystems
    systemId: apsystemsema_system_id
    ecuId: apsystemsema_ecu_id
    sunset: off

1 - your systemId is found at apsystemsema.com. See the page source code and at the Settings Menu there is a code like that:

<span>Settings</span>
<ul>
    <li onclick="managementClickCustomer('YOUR SYSTEM ID')"><a>Settings</a></li>
    <li onclick="intoFaq(10)"><a>Help</a></li>
</ul>

Get the system id inside the managementClickCustomer().

2 - There is an ecu id data at https://apsystemsema.com/ema/security/optmainmenu/intoLargeReport.action

3 - sunset attribute could be on or off

Buy me a beer!

homeassistant-apsystems's People

Contributors

bgbraga 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.