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] PIKO discovery possible via Avahi/Zeroconf #1198

Closed thopiekar closed 3 years ago

thopiekar commented 8 years ago

Just noticed that my Kostal inverter in the list of zeroconf devices, so it should be possible to add discovery to the binding:

Diensttyp: _http._tcp
Dienstname: pvserver
Domainname: local
Schnittstelle: eth0 IPv4
Adresse: PIKO.local/192.168.2.101:80
TXT seventaxZeroConf =

cschneider commented 5 years ago

Do you have any idea how to do this?

thopiekar commented 5 years ago

In java? Sadly no. But if I was using Python and the zeroconf module, then it is about asking for all available devices and filtering out by service type and name of the service. Java itself is the restriction at the moment, that I don't contribute to OpenHAB with code. Also I'm very limited in time at the moment, so I can't take time and learn.

cschneider commented 5 years ago

I think java is not the issue. As far as I know openhab uses https://github.com/jmdns/jmdns. I just have no clue how to leverage it from a binding.

hmerk commented 3 years ago

closed due to inactivity.