Code Monkey home page Code Monkey logo

homeassistant-kostal-piko's Introduction

Home Assistant Kostal Piko

release_badge hacs_badge

A custom Home Assistant integration for certain Kostal Piko solar inverters.

Note: The DCS series Piko inverters all seem to use a different API and will most likely not work with this integration.


This integration provides Home Assistant with the data that can be obtained from the inverters built-in web portal. It was tested with the following inverters:

  • Piko 15 running FW v06.17 / UI v06.53
  • Piko 12 running FW v05.61
  • Piko 10 BA running FW v2.32
  • Piko 8.0 BA running FW v2.30 / UI v6.41
  • Piko 6.0 running FW v2.22
  • Piko 5.5 NG running FW v05.50
  • Piko 5.5 running FW v05.61
  • Piko 4.2 running FW v05.60 / UI v6.41

There are a number of sensors provided by this integration to Home Assistant. Due to limitations of the api of the inverter it is recommended to disable sensor entities that are not required.

Click to see the sensors provided by the integration
  • Analog inputs
    • Analog Input 1
    • Analog Input 2
    • Analog Input 3
    • Analog Input 4
  • Battery
    • Voltage
    • Charge
    • Current
    • Charging State
    • Charge Cycles
    • Temperature
  • Grid
    • Output Power
    • Frequency
    • Power Factor
    • Limitation
    • Voltage L1, L2, L3
    • Current L1, L2, L3
    • Power L1, L2, L3
  • House
    • Consumption from solar
    • Consumption from battery
    • Consumption from grid
    • Consumption on L1, L2, L3
  • Home
    • Total DC input power
    • Self consumption
    • Operating state
  • Generator
    • Current, Voltage and Power of DC inputs 1, 2 and 3
  • S0 input
    • Pulse count
    • Log interval
  • Statistics
    • Todays yield
    • Todays home consumption, self consumption and self consumption rate
    • Todays degree of autonomy
    • Total yield
    • Total home consumption, total self consumption and total self consumption rate
    • Total degree of autonomy
    • Total operating time

The integration is known to not work with the following inverters and firmwares. For these it is recommended to try other custom integrations like kostalpiko-homeassistant by rcasula, which uses a different api to talk to the inverter.

  • Piko 5.5 DCS running FW v5.44

Installation

HACS

The recommended way is through HACS. Add this repository as a custom repository by going to HACS > Integrations, click the three dots in the top right corner and select custom repositories. Insert the link to this repository and choose integration as the category. Once added, search for "Kostal Piko" and install the integration.

After installing the integration, simply add it to your Home Assistant as you would any other integration using the UI.

Contributing

Any help is appreciated. Please leave feedback if you tested the integration with an inverter (or firmware) that hasn't been tested yet.

Versioning

This integration uses CalVer for versioning. The scheme is YY.0M.MICRO.

Acknowledgements

Many thanks to Giel Janssens for creating a Kostal component and inspiring me to create my own for this different version of the api. Also thanks to Andreas Rehn for creating pykostal on top of which this component builds.

homeassistant-kostal-piko's People

Contributors

scheidtdav avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

homeassistant-kostal-piko's Issues

Fix Config Flow Data Entry

During installation, the following dialog is shown:
image

It should explain to the user, that host, username and password are supposed to be entered.

As commented here it should also at least explain to include the http schema.

Migrate units of measurements to new supported units

Please find attached the error message reported back by the system protocol.

Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 17:59:23 (4 occurrences)
Last logged: 17:59:23

POWER_WATT was used from kostal, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'kostal' custom integration
ENERGY_KILO_WATT_HOUR was used from kostal, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'kostal' custom integration
ELECTRIC_POTENTIAL_VOLT was used from kostal, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please report it to the author of the 'kostal' custom integration
ELECTRIC_CURRENT_AMPERE was used from kostal, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please report it to the author of the 'kostal' custom integration

BR
Wolfgang

Am 20.02.2024 um 08:55 schrieb David Scheidt @.@.>>:

Hi ๐Ÿ‘‹
It looks like you were trying to add this to the Supervisor repositories. This is not an add-on repository for the supervisor.
You may either add this to your Home Assistant using the source code (which I do not recommend) or you will have to use HACShttps://hacs.xyz/ to be able to add this as a custom repository to your installation.
You can find documentation for that here: https://hacs.xyz/docs/faq/custom_repositories/

Hope that helps :-)

โ€”
Reply to this email directly, view it on GitHub#14 (comment), or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIATKVXQNO7M4NTE47XXHODYURJHVAVCNFSM6AAAAABDPXHVV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGY2TKMZUGI.
You are receiving this because you authored the thread.Message ID: @.***>

Originally posted by @wolfei87 in #14 (comment)

how to setup?

Hi there,

first thank you for your work on this project. I have a couple of questions as i don't get the Piko BA version to work.

I have installed the kostal integrations from gieljnssns which is working fine on 6 different Kostal Piko Inverters. But there is one more, a Piko BA 10.1 inverter which i can't get to work.

If i use platform: kostal_piko , it is unknown from HA, did gieljnssns changed the platform name from kostal_piko to kostal only?

Further i do not understand how the authentication is made in your version for the Piko BA inverter.

There is no such username or password, i have also tried with following as host:

http://pvserver:<YOUR_PASSWORD>@<YOUR_INVERTER_IP>/index.fhtml

Also not working. I would appreciate if you could give me a hint or any reply to get the last of this inverters into HA.

Thank you in advance.

br Christoph

Better status

Hi,

not all status are properly in line with HA, i know you added some new recently, i was able to capture event "7' , i looked in webpage

Event 7 = (Isolatie meting) (dutch translation) => in german => Isolationsmessung

I also see sometimes event 8 , but was not able to capture it yet from webserver

Username and Password are Optional

It turned out that username and password are totally optional for accessing the api and thus should be optional for the setup in HomeAssistant as well.
This needs double-checking for all values and possibly and update to the pykostal library.

cannot_connect

hello im trying to setup the integration and has run into trouble, firstly the configuration wizard doesnt display any text, and when i insert the values (guessed which was which) i get this message "cannot_connect"

Extend Documentation

The documentation needs to be extended:

  • What inverters have been tested and what firmware do they run?
  • How to install/ configure?
  • Technical details if necessary

Short description

Hi,

First of all thanks for your work!

I wanted to add the folder to the custom_components. Can you give a short example how to add this component to the configuration.yaml?

Kind Regards

Blank fields when adding integration

Hi.
When i try to follow the instructions and installing it using HACS, i get the following when i try to add to as an integration.
Can you please describe what needs to be filled out at the different fields?

image

Add device to compatibility list

I didn't know where to put it, but I wanted to mention that you can add the Kostal Piko 4.2 inverter to your compatibility list. It just needs to run the latest firmware that has been released for it (the device is discontinued, I think):
grafik

Kostal Piko 6.0 BA / how to change polling interval?

Hello,
many thanks for this integration. I'm new with Home Assistant (previously used FHEM) and I'm currently testing whether all my smart home components work with HA.
I have a Kostal Piko 6.0 BA with firmware 02.22. The integration seems to be working so far.
But maybe a beginner question, how can I change the polling interval?
Thanks, Michael

Not recognized as HASS-IO Integration

When adding the git url to the add-on store repository, a failure "https://github.com/scheidtdav/homeassistant-kostal-piko is not a valid add-on repository" appears.

Am I missing a file or information? I used the repository add-on to tool before and it worked. However, in the meantime I use HA 11.5 core and the latest UI.

Protocol:
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:138
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 17:11:26 (1 occurrences)
Last logged: 17:11:26

Failed to to call /store/repositories - https://github.com/scheidtdav/homeassistant-kostal-piko is not a valid add-on repository

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.