HttpBinding time-related?

Hey,
another small problem:
I got a photovoltaik-system. Everything fine… reading out data works great.

But: The Photovoltaik-Hardware is not reachable when it does not procuce any power… so maybe from 23.00 o’clock until 5 am it is not reachable. But the binding tries and tires… and my log-files show many fatal transport-errors.
2017-06-30 00:17:53.802 [ERROR] [org.openhab.io.net.http.HttpUtil ] - Fatal transport error: java.net.NoRouteToHostException: Keine Route zum Zielrechner (Host unreachable)
2017-06-30 00:17:53.802 [ERROR] [ab.binding.http.internal.HttpBinding] - No response received from ‘froniusrtd’

Any workaround-ideas?

Thanks,
Patrick

You could trigger your rules with the online/offline state of things.

Edit: disregard, won’t probably work with a 1.x binding, I guess.

Add Network binding and check if the device (photovoltaik-system) is reachable.

that’s what i thought, too, but that doesn’t help, because you have no influence to a http-binded item from within a rule

But from a rule (and so controlled as you wish), you can use the HTTP action e.g. sendHttpGetRequest to read into an Item, instead of binding it.

1 Like