openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.87k stars 3.58k forks source link

[kostalinverter] ERROR:COMM #11934

Closed Tuffiglig closed 2 years ago

Tuffiglig commented 2 years ago

Hey. I made a post 4 days ago in the community forum, but i don't got an answer. I hope i'm here on the right side. https://community.openhab.org/t/kostalinverter-error-comm/130804

Current Behavior

I'm not able to get a connection to my Kostal PIKO 15 inverter. I set up a new openHAB 3.2.0 installation in Virtualbox with Ubuntu 20.04 as OS. The PIKO 15 inverter has the Firmware version 06.16, and i'm able to connect to it per browser. I'm also able to ping it out of the virtual machine. The first step i did, was to create a new Thing, and choosed the kostalinverter binding. And filled the empty fields with this informations: Screenshot_2021-12-29 13_32_22

In events.log i got this info:

2021-12-29 13:32:10.085 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'kostalinverter:piko1020:60af4a1cab' changed from OFFLINE (COMMUNICATION_ERROR): java.lang.NullPointerException:null to UNKNOWN
2021-12-29 13:32:10.086 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'kostalinverter:piko1020:60af4a1cab' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): java.lang.IllegalArgumentException:Invalid URI host: null (authority: null)

If i change the field 'IP Address' to: http://192.168.156.91 events.log shows:

2021-12-29 13:38:05.091 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'kostalinverter:piko1020:60af4a1cab' changed from OFFLINE (COMMUNICATION_ERROR): java.lang.IllegalArgumentException:Invalid URI host: null (authority: null) to UNKNOWN
2021-12-29 13:38:05.092 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'kostalinverter:piko1020:60af4a1cab' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): java.lang.IllegalArgumentException:Invalid URI host: null (authority: null)

Does somebody has a hint, what i'm doing wrong?

Your Environment

openHAB 3.2.0 zulu11-jre-headless ubuntu-20.04.3-live-server-amd64.iso

Thanks, Tuffi

Tuffiglig commented 2 years ago

I don't know how and why, but it is working now: https://community.openhab.org/t/kostal-binding-can-not-use-things-for-pico10-in-openhab3/119832/43