Miele binding does not accept local IP name

My Miele bridge gets regularly a different IP address from the server. Surely I can change the IP number in the .things file, however it should be possible to use the local name, as I can do it with my Hue Bridge. If I try the following:

Bridge miele:xgw3000:Miele_XGW3000 "Miele-Bridge" [ipAddress="Miele-0023D5C667B8.local", interface="192.168.0.17"] {
Things:
}

The initalizer of the Miele binding throws the following error:

2019-01-08 22:21:17.303 [hingStatusInfoChangedEvent] - 'miele:xgw3000:Miele_XGW3000' changed from ONLINE to OFFLINE (CONFIGURATION_ERROR): Invalid IP address for the Miele@Home gateway or multicast interface:Miele-0023D5C667B8.local/192.168.0.17

The address Miele-0023D5C667B8.local is definately valid as I can ping to it in the linux console. Any idea how to circumvent this problem? As I wrote the Hue binding allows to use local names.

Aurelio

Configure to server to assign a fixed IP to the bridge

1 Like

Thank you @vzorglub. That indeed solves my problem.
However, it would still be better to have it work directly… I will check that in the sources and see if I can solve it.