GithubHelp home page GithubHelp logo

sla89 / hassio-kostal-piko Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 4.0 35 KB

Home Assistant Kostal PIKO Inverter Integration

License: MIT License

Python 100.00%
hacs hassio home-assistant integration kostal-piko

hassio-kostal-piko's People

Contributors

raivisdejus avatar sla89 avatar stefanruck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hassio-kostal-piko's Issues

Kostal 5.5

Hi,

Does this integration also work with older webui? like kostal 5.5 , fw = 04.06 UI, 03.78 ?

image

Test

testing notifications for me

Failure Updating Sensors since Core Update

Hello,

since the Core Update I have a lot of problems with the Kostal Entities. I get a lot of errors while updating the sensors. See the log:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.kostal_piko.sensor
Source: custom_components/kostal_piko/sensor.py:89
Integration: kostal_piko (documentation, issues)
First occurred: 17:37:24 (156 occurrences)
Last logged: 17:43:34

Failed updating sensor Kostal PIKO Phase 1 Power: ConnectTimeout(MaxRetryError("HTTPConnectionPool(host='192.168.0.92', port=80): Max retries exceeded with url: /api/dxs.json?dxsEntries=67109379 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f6e1ceb5960>, 'Connection to 192.168.0.92 timed out. (connect timeout=10)'))"))
Failed updating sensor Kostal PIKO DC Input 3 Power: ConnectTimeout(MaxRetryError("HTTPConnectionPool(host='192.168.0.92', port=80): Max retries exceeded with url: /api/dxs.json?dxsEntries=33555715 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f6e1d354700>, 'Connection to 192.168.0.92 timed out. (connect timeout=10)'))"))
Failed updating sensor Kostal PIKO Phase 2 Current: ConnectTimeout(MaxRetryError("HTTPConnectionPool(host='192.168.0.92', port=80): Max retries exceeded with url: /api/dxs.json?dxsEntries=67109633 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f6e1ceb6230>, 'Connection to 192.168.0.92 timed out. (connect timeout=10)'))"))
Failed updating sensor Kostal PIKO Phase 1 Voltage: ConnectTimeout(MaxRetryError("HTTPConnectionPool(host='192.168.0.92', port=80): Max retries exceeded with url: /api/dxs.json?dxsEntries=67109378 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f6e1ceb5090>, 'Connection to 192.168.0.92 timed out. (connect timeout=10)'))"))
Failed updating sensor Kostal PIKO Phase 3 Current: ConnectTimeout(MaxRetryError("HTTPConnectionPool(host='192.168.0.92', port=80): Max retries exceeded with url: /api/dxs.json?dxsEntries=67109889 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f6e1ceb7940>, 'Connection to 192.168.0.92 timed out. (connect timeout=10)'))"))

Firmware and Software are the same as before the core update.

Does anyone have an idea how I can solve the problem?

Thanks a lot.

Many regards

ValueError Inverter State

Moin Stefan,

after the core update yesterday evening Home Assistant lost connection to my Piko 20 Inverter. I had following error message in the logs:


Logger: homeassistant.components.sensor
Source: components/sensor/init.py:583
Integration: Sensor (documentation, issues)
First occurred: 10:06:34 (2 occurrences)
Last logged: 10:06:34

Error adding entities for domain sensor with platform kostal_piko
Error while setting up kostal_piko platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 579, in state
numerical_value = int(value)
ValueError: invalid literal for int() with base 10: 'Input (MPP)'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 846, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 583, in state
raise ValueError(
ValueError: Sensor sensor.kostal_piko_inverter_state has device class None, state class measurement unit None and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: Input (MPP) (<class 'str'>)


After a restart Home Assistant picked only up one updated value and stopped fetching values again.

I changed now the state class of Piko Inverter to None to fix the problem temporarly and it is working again. I now get updated values again, but the values are interuppted. See screenshots.

After change:
interuppted values

inverter state

Before change:
values before

Do you have any better solution for it?

Brgds

Christopher

Hello, is it possible to fix this for next year's version

Logger: homeassistant.const
Source: helpers/deprecation.py:204
First occurred: 13:18:59 (7 occurrences)
Last logged: 13:18:59

POWER_KILO_WATT was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.KILO_WATT
ELECTRIC_POTENTIAL_VOLT was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT
TIME_HOURS was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS

ELECTRIC_CURRENT_AMPERE was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE

FREQUENCY_HERTZ was used from kostal_piko, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.HERTZ

thanks Adrian

config error

I getting below error:

Logger: homeassistant.config
Source: config.py:552
First occurred: 22:23:10 (1 occurrences)
Last logged: 22:23:10

Invalid config for 'template' at configuration.yaml, line 50: 'platform' is an invalid option for 'template', check: sensor->0->platform Invalid config for 'template' at configuration.yaml, line 50: required key 'state' not provided Invalid config for 'template' at configuration.yaml, line 51: 'host' is an invalid option for 'template', check: sensor->0->host

A lot of power on / off

Guys, came to ask here
My Kostal 5.5 DCS was replaced with a new NG model (green bar logo) very recently
What i now notice with the bad weather and quite dark outside in morning/evening, i see a lot of startup / downs of the NG
Seems it wants to start , but gets not enough power, to finally start... do you guys also see this?

image

Unable to set update interval.

Hi there,
I need the power information quicker than currently given by this great work.
Is there a way to set an interval for the update?
I would need about 5 seconds interval.
Any ideas?

Documentation

Hi.

Could you perhaps describe what kostal piko model/version you have tested with
and if login is required (or if it's using the default) - or if the api isnt protected at all ?

I followed the instructions, but looks like it's unable to fetch the data.

PIKO 5.5

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.