From 58f028ec9a23534bf74a00aced69e3df8f53ff44 Mon Sep 17 00:00:00 2001 From: menzel Date: Tue, 7 Jul 2026 11:53:57 +0200 Subject: [PATCH] config(smargon): REST API port is 3000, not 8080 (:8080 is the web GUI) Confirmed with the smargopolo maintainer: the JSON REST API is on :3000; the :8080 server is the web GUI (returns HTML, all API paths 404). Point host/port back to tt-smargopolo:3000 on the coordinator and all axis motors. Co-Authored-By: Claude Opus 4.8 (1M context) --- csaxs_bec/device_configs/smargon.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/csaxs_bec/device_configs/smargon.yaml b/csaxs_bec/device_configs/smargon.yaml index bcf95daa..fe004d1e 100644 --- a/csaxs_bec/device_configs/smargon.yaml +++ b/csaxs_bec/device_configs/smargon.yaml @@ -16,8 +16,8 @@ smargon: description: SmarGon coordinator (referencing, mode, coordinated moves) deviceClass: csaxs_bec.devices.smargon.smargon.SmarGon deviceConfig: - host: tt-smargopolo # cSAXS beamline smargopolo server - port: 8080 # note: 8080 here (the MX-lab reference used :3000) + host: tt-smargopolo # cSAXS beamline smargopolo REST API + port: 3000 # REST API port (per maintainer). NB: :8080 is the web GUI, not the API timeout: 5.0 deviceTags: [goniometer, smargon] enabled: true @@ -33,7 +33,7 @@ smargon: sgx: description: SmarGon SHX (sample X) deviceClass: csaxs_bec.devices.smargon.positioner.SmargopoloMotor - deviceConfig: {scs_axis: SHX, host: tt-smargopolo, port: 8080, limits: [-2, 2], tolerance: 0.001} + deviceConfig: {scs_axis: SHX, host: tt-smargopolo, port: 3000, limits: [-2, 2], tolerance: 0.001} deviceTags: [goniometer, smargon] enabled: true onFailure: retry @@ -42,7 +42,7 @@ sgx: sgy: description: SmarGon SHY (sample Y) deviceClass: csaxs_bec.devices.smargon.positioner.SmargopoloMotor - deviceConfig: {scs_axis: SHY, host: tt-smargopolo, port: 8080, limits: [-2, 2], tolerance: 0.001} + deviceConfig: {scs_axis: SHY, host: tt-smargopolo, port: 3000, limits: [-2, 2], tolerance: 0.001} deviceTags: [goniometer, smargon] enabled: true onFailure: retry @@ -51,7 +51,7 @@ sgy: sgz: description: SmarGon SHZ (sample Z) deviceClass: csaxs_bec.devices.smargon.positioner.SmargopoloMotor - deviceConfig: {scs_axis: SHZ, host: tt-smargopolo, port: 8080, limits: [10, 22], tolerance: 0.001} + deviceConfig: {scs_axis: SHZ, host: tt-smargopolo, port: 3000, limits: [10, 22], tolerance: 0.001} deviceTags: [goniometer, smargon] enabled: true onFailure: retry @@ -60,7 +60,7 @@ sgz: sgchi: description: SmarGon CHI (goniometer tilt) deviceClass: csaxs_bec.devices.smargon.positioner.SmargopoloMotor - deviceConfig: {scs_axis: CHI, host: tt-smargopolo, port: 8080, limits: [0, 65], tolerance: 0.01} + deviceConfig: {scs_axis: CHI, host: tt-smargopolo, port: 3000, limits: [0, 65], tolerance: 0.01} deviceTags: [goniometer, smargon] enabled: true onFailure: retry @@ -69,7 +69,7 @@ sgchi: sgphi: description: SmarGon PHI (goniometer rotation) deviceClass: csaxs_bec.devices.smargon.positioner.SmargopoloMotor - deviceConfig: {scs_axis: PHI, host: tt-smargopolo, port: 8080, limits: [-180, 180], tolerance: 0.01} + deviceConfig: {scs_axis: PHI, host: tt-smargopolo, port: 3000, limits: [-180, 180], tolerance: 0.01} deviceTags: [goniometer, smargon] enabled: true onFailure: retry @@ -79,7 +79,7 @@ sgphi: # sgomega: # description: SmarGon OMEGA (rotation drive) # deviceClass: csaxs_bec.devices.smargon.positioner.SmargopoloMotor -# deviceConfig: {scs_axis: OMEGA, host: tt-smargopolo, port: 8080, tolerance: 0.01} +# deviceConfig: {scs_axis: OMEGA, host: tt-smargopolo, port: 3000, tolerance: 0.01} # deviceTags: [goniometer, smargon] # enabled: true # onFailure: retry