ballaswag / guppyscreen

A native Touch UI for 3D Printers running Klipper/Moonraker.
GNU General Public License v3.0
237 stars 25 forks source link

Spoolman ERR_CONNECTION_REFUSED #107

Open aliorix opened 5 months ago

aliorix commented 5 months ago

Hi! i installed guppy screen and im trying to get access to spoolman, but no matter what i'm getting the ERR_CONNECTION_REFUSED, my moonraker.cfg looks like this

_`[spoolman]
server: http://192.168.1.231:7912

sync_rate: 5
#The interval, in seconds, between sync requests with the
#Spoolman server.  The default is 5.`_

the 192.168.1.231 is my local ip. I added the macro in printer.cfg too

_`[gcode_macro SET_ACTIVE_SPOOL]
gcode:
  {% if params.ID %}
    {% set id = params.ID|int %}
    {action_call_remote_method(
       "spoolman_set_active_spool",
       spool_id=id
    )}
  {% else %}
    {action_respond_info("Parameter 'ID' is required")}
  {% endif %}

[gcode_macro CLEAR_ACTIVE_SPOOL]
gcode:
  {action_call_remote_method(
    "spoolman_set_active_spool",
    spool_id=None
  )}`_

My printer is a K1c