Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.68 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.68 KB

Klipper Network Status Plugin

Allow gcode macros to access system IP/hostname/wifi SSID/etc.

To install, run cd ~/ && git clone https://github.com/tinymachines3d/klipper_network_status.git then cd klipper_network_status followed by sh install.sh. You may also add the following to your moonraker configuration:

[update_manager client klipper_network_status]
type: git_repo
path: /home/pi/klipper_network_status
origin: https://github.com/tinymachines3d/klipper_network_status.git
install_script: install.sh

Then, add [network_status] somewhere in your klipper configuration to enable the plugin.

You are now able to access information about the printer's network interfaces from within macros or display fields. For example, add the following to your menu override file to create a sub-list called "Network":

[menu __main __network]
type: list
name: Network

[menu __main __network _mdns]
type: command
name: mDNS: {printer.network_status.mdns}

[menu __main __network _ethip]
type: command
name: Eth IP: {printer.network_status.ethip}

[menu __main __network _wifissid]
type: command
name: Wifi SSID: {printer.network_status.wifissid}

[menu __main __network _wifiip]
type: command
name: Wifi IP: {printer.network_status.wifiip}

I find that the text can be a little long for smaller displays so it may help readability to put the actual hostname or IP address on its own line. It should scroll side to side when the selection cursor hovers over it.

Optionally you can add an interval parameter to your klipper config under the [network_status] section to select how often the network information is updated. Default is once per minute if you do not specify.