Hello,
I started with openhab and Homematic. This works. Now I will bind my Sonos to Openhab. The Openhab.cfg is defined, the server starts, but nothings happens when I push the buttons. The logfile says “2015-11-09 18:33:36.008 [ERROR] [.service.AbstractActiveService] - Error while executing background thread Sonos Refresh Service
org.teleal.cling.transport.spi.InitializationException: Could not initialize MulticastReceiverImpl: java.net.BindException: Address already in use”
Default.cfg:
sonos:Kinderzimmer.udn=RINCON_000E58CC272801400
sonos:Bad.udn=RINCON_000E58CC21A001400
sonos:Kueche.udn=RINCON_000E585F7BB201400
sonos:Schlafzimmer.udn=RINCON_000E5878485C01400
sonos:Wohnzimmer.udn=RINCON_000E58A6B02201400
items:
/** Musik **/
Switch Play_Sonos_Wohnzimmer “Sonos Wohnzimmer Play” (EG_Wohnzimmer) {sonos="[ON:Wohnzimmer:play], [OFF:Wohnzimmer:stop]"}
Switch Play_Sonos_Kueche “Sonos Kueche Play” (EG_Kueche) {sonos="[ON:Kueche:play], OFF:Kueche:stop]"}
String currenttrack “CurrentTrack [%s]” (EG_Kueche) {sonos="[RINCON_000E585F7BB201400:currenttrack]", autoupdate=“false”}
Switch Play_Sonos_Bad “Sonos Bad Play” (EG_Toilette) {sonos="[ON:BAD:play], [OFF:BAD:stop]"}
The server is running on a macbook pro, just for testing, in future I will place it on a raspberry.
What´s going wrong?
Regards Dirk