Closed Heiner1967 closed 4 years ago
It should be available in HACS https://github.com/hacs/integration
@Heiner1967 did you found it?
Closing this for now....
Hi, sorry i was quite slow. Yes I found it, install it but do not get it to work.
Hacs I only got into Integrations based on a configurtion.yaml entry. Then I add Kostal and get this log Error:
raceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/kostal/sensor.py", line 65, in setup_platform
dev.append(PikoInverter(piko, sensor))
File "/config/custom_components/kostal/sensor.py", line 81, in __init__
self.update()
File "/config/custom_components/kostal/sensor.py", line 114, in update
self._state = self.piko.get_current_power()
File "/usr/local/lib/python3.7/site-packages/kostalpyko/kostalpyko.py", line 78, in get_current_power
return int(self._get_raw_content()[0])
IndexError: list index out of range
Can youn help me on this?
Initialy I gopt some other Error due to wrong HOST anem config. I did change it to : http://192.168.xxx.xx/index.fhtml I guess this is correct now as the Errormessage is now different....
Please post your config (properly formatted) + error. What inverter are u using?
Hi my config is this (tried the original as mentioned in readme before, then adjusted based on sensor.py
sensor:
- platform: kostal
host: !secret kostal_host
username: !secret kostal_username
password: !secret kostal_password
monitored_conditions:
- solar_generator_power
- consumption_phase_1
- consumption_phase_2
- consumption_phase_3
- current_power
- total_energy
- daily_energy
- string1_voltage
- string1_current
- string2_voltage
- string2_current
- string3_voltage
- string3_current
- l1_voltage
- l1_power
- l2_voltage
- l2_power
- l3_voltage
- l3_power
It is a Piko 5.5 The website of it looks ok in my view
When you format your code use
tripple backticks (`) - new line
code - new line
tripple backticks (`)
Are U sure you are using the correct host? When I'm testing with a wrong host, I'm getting the same error I'm having :
- platform: kostal
host: !secret kostal_host
username: !secret kostal_username
password: !secret kostal_password
monitored_conditions:
- current_power
- total_energy
- daily_energy
- string1_voltage
- string1_current
- string2_voltage
- string2_current
- l1_voltage
- l1_power
- l2_voltage
- l2_power
- l3_voltage
- l3_power
And as secrets:
kostal_host: 'http://192.168.7x.2x'
Do you have a BA-sensor installed? Because
- solar_generator_power
- consumption_phase_1
- consumption_phase_2
- consumption_phase_3
is only when you have one...
Hi,
I have no BA-sensor.
Problem solved, it was a wrong Format of the HOST. I stated wrongly kostal_host: http://192.168.172.26/index.fhtml correct is kostal_host: 'http://192.168.178.26'
Many Thanks for your support.
Hi, I know this is an old tread, but I am new to HA. I have added Kostal integration and I do se all the entities, but when I add them to my UI it just says unknown to all entities ?
Can someone kick me in the right direction ?
How did you install the custom component? What inverter are u using?
Hi, what do i need to do to get yur custom component for the Kostal Pico Implemented into my Hassio installation?