hello all,
- Platform information:
- Hardware: raspberry pi 3 b
- OS: Raspbian GNU/Linux 9 (stretch)
- Java Runtime Environment: Java™ SE Runtime Environment (build 1.8.0_181-b13)
- openHAB version: 2.3.0 (Build)
My problem is the following: I would like to read information via http requests from my dreambox (VU + solo 4k). If the dreambox is turned off, however, then there are a lot of error messages in openhab.log. Is it possible to send the http request depending on the availability of the device?
here are my files:
.item:
Group gVUsolo4k
String VUsolo4k_Sendung "Aktuelle Sendung [%s]" <tv> ( gVUsolo4k ) { http="<[http://192.168.137.47:80/web/getcurrent:3000:REGEX(.*?<e2eventname>(.*?)</e2eventname>.*)]" }
String VUsolo4k_Kanal "Sender [%s]" <tv> ( gVUsolo4k ) { http="<[http://192.168.137.47:80/web/getcurrent:3000:REGEX(.*?<e2servicename>(.*?)</e2servicename>.*)]" }
Switch VUsolo4k_sendMute "Mute" <soundvolume_mute> ( gVUsolo4k )
These messages appear approximately every 3 seconds:
2018-07-06 15:58:57.642 [ERROR] [ab.binding.http.internal.HttpBinding] - No response received from 'http://192.168.137.47:80/web/getcurrent'
2018-07-06 15:59:00.759 [ERROR] [org.openhab.io.net.http.HttpUtil ] - Fatal transport error: java.net.NoRouteToHostException: Keine Route zum Zielrechner (Host unreachable)
Many many thanks!