It’s not a big issue, but more annoying for day to day task. Example, when I reach the UI selection page, I always have to modify the address manually to reach Grafana because the link provide is http://openhabianpi:3000/ and not reachable.
Is someone could explain me why I cannot reach my device normally like explained in documentation?
It is a DHCP problem. You do NOT need to manually add to etc/hosts if your DHCP is correctly leasing the pi with IP, and resolving properly. 99.99% of homes that have routers, usually the routers are the DHCP server and DNS gateways.
If yours is the case, then I guess I would have to add 50+ resolutions on my hosts file
I will first fix my issue by overriding my router by adding a local DNS on my PC. Currently, I’m working with the router provided by my internet provider. It’s a basic Sagemcom modem/router with a proprietary firmwer from Bell (the internet provider). Not much option to manage.
I will disable that router and use a D-Link DIR 860L. I know it’s probably not the best router on the market, but I will give it a try. There is much more option in there.