eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
862 stars 787 forks source link

[Homematic] No error in case of a wrong gatewayAddress #6820

Closed itn3rd77 closed 5 years ago

itn3rd77 commented 5 years ago

In case you entered a wrong gatewayAddress inside the homematic.things file. The binding silently fails without any warning or error message logged. In my case a DNS record was not updated correctly and it took me ages to figure out what was wrong.

e.g.

Bridge homematic:bridge:homematic [ gatewayAddress="nonexisting.local.home" ...

A log message with priority error is highly appreciated.

maggu2810 commented 5 years ago

There is already a log message and the description of the status already contains the message of the specific exception.

See: https://github.com/eclipse/smarthome/blob/f2a1f38/extensions/binding/org.eclipse.smarthome.binding.homematic/src/main/java/org/eclipse/smarthome/binding/homematic/handler/HomematicBridgeHandler.java#L127

Have a look at the log severity in the developer guidelines.

itn3rd77 commented 5 years ago

Thank you for pointing me in the the right direction. I am ok with this although I find it a bit inconvenient to click through the UI in order get the error message.

image

Anyway thank you for clarifying.