Skip to content

Can't add printer using its hostname - IP Address still works #540

Open
@cerahmed

Description

@cerahmed

Version of the moonraker integration

I'm currently running Moonraker Add-on V1.7.1

Describe your setup

HomeAssistantOS V15.2 Core V2025.4.3 running on a Raspberry Pi 4
Printer: Elegoo Neptune 4 Plus running latest stock firmware

Describe the bug

I'm trying to setup my printer(s) using their hostname to avoid having to set static ips.

I first tried adding the printers using their IP Addresses, and it works perfectly.
Then I removed the printers and tried adding them using hostnames, which didn't work.

I made sure that http://<hostname>:7125 is reacheable, and works fine using a browser for all printers.

In fact, after a couple of retries (spamming the submit button), it seems to have worked for one printer.
However, after a few mintues, the printer seems to be unavailable in HA.

Moonraker Logs

Note about the logs:

I have added one Neptune printer using its IP Address (neptune-2) in order to be able to setup the debugging logs. The printer that I'm trying to add using its hostname is neptune-1 which you can see in the logs.

home-assistant_moonraker_2025-04-21T16-29-23.420Z.log

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions