199 lines
7.1 KiB
JSON
199 lines
7.1 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Connect to Creality Printer",
|
|
"description": "Enter the IP address of your Creality K-series printer. The printer must be unlocked (root access not required) and on the same network.",
|
|
"data": {
|
|
"host": "IP Address",
|
|
"name": "Friendly Name"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect to printer. Ensure IP is correct and printer is ON.",
|
|
"not_K": "Connection refused or not a supported Creality K-series printer.",
|
|
"already_configured": "This printer is already configured."
|
|
},
|
|
"abort": {
|
|
"already_configured": "Device is already configured",
|
|
"cannot_connect": "Failed to connect",
|
|
"not_K": "Not a K-series printer"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "Printer Configuration",
|
|
"description": "Choose a settings group to edit. Each group opens its own page so its options always load fresh.",
|
|
"menu_options": {
|
|
"camera": "Camera",
|
|
"notifications": "Notifications",
|
|
"power": "Power switch",
|
|
"connection": "Connection & performance",
|
|
"save": "Save and apply"
|
|
}
|
|
},
|
|
"camera": {
|
|
"title": "Camera",
|
|
"description": "{camera_help}",
|
|
"data": {
|
|
"camera_mode": "Camera Streaming Mode",
|
|
"go2rtc_url": "External go2rtc Host/URL (if needed)",
|
|
"go2rtc_port": "External go2rtc Port",
|
|
"custom_camera_url": "Custom Camera URL (http(s) MJPEG/snapshot or rtsp://)"
|
|
}
|
|
},
|
|
"notifications": {
|
|
"title": "Notifications",
|
|
"data": {
|
|
"notify_device": "Notification Device",
|
|
"notify_completed": "Notify when Completed",
|
|
"notify_error": "Notify on Error",
|
|
"notify_minutes_to_end": "Notify before Completion",
|
|
"minutes_to_end_value": "Minutes before Completion"
|
|
}
|
|
},
|
|
"power": {
|
|
"title": "Power switch",
|
|
"description": "{power_help}",
|
|
"data": {
|
|
"power_switch_enabled": "Enable Power Switch Detection",
|
|
"power_switch": "Power Switch Entity"
|
|
}
|
|
},
|
|
"connection": {
|
|
"title": "Connection & performance",
|
|
"data": {
|
|
"host": "Printer IP Address",
|
|
"polling_rate": "Polling Rate (seconds, 0 = real-time)"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_camera_url": "Enter a full URL including the scheme, e.g. http://192.168.1.50:8080/?action=stream or rtsp://192.168.1.50:554/stream."
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"bed_temperature": { "name": "Bed Temperature" },
|
|
"chamber_temperature": { "name": "Chamber Temperature" },
|
|
"nozzle_temperature": { "name": "Nozzle Temperature" },
|
|
"print_progress": { "name": "Print Progress" },
|
|
"total_layers": { "name": "Total Layers" },
|
|
"current_layer": { "name": "Working Layer" },
|
|
"position_x": { "name": "Position X" },
|
|
"position_y": { "name": "Position Y" },
|
|
"position_z": { "name": "Position Z" },
|
|
"feedrate_pct": { "name": "Print Speed" },
|
|
"flowrate_pct": { "name": "Flow Rate" },
|
|
"system": { "name": "System" },
|
|
"model_info": { "name": "Model" },
|
|
"filament_status": {
|
|
"name": "Filament Status",
|
|
"state": {
|
|
"normal": "Normal",
|
|
"runout": "Filament Runout",
|
|
"unknown": "Unknown"
|
|
}
|
|
},
|
|
"print_status": {
|
|
"name": "Print Status",
|
|
"state": {
|
|
"off": "Off",
|
|
"unknown": "Unknown",
|
|
"error": "Error",
|
|
"self-testing": "Self-Testing",
|
|
"completed": "Completed",
|
|
"paused": "Paused",
|
|
"stopped": "Stopped",
|
|
"printing": "Printing",
|
|
"processing": "Processing",
|
|
"idle": "Idle"
|
|
}
|
|
},
|
|
"used_material_length": { "name": "Used Material Length" },
|
|
"print_job_time": { "name": "Print Job Time" },
|
|
"print_left_time": { "name": "Print Time Left" },
|
|
"real_time_flow": { "name": "Real-Time Flow" },
|
|
"current_object": { "name": "Current Object" },
|
|
"object_count": { "name": "Object Count" },
|
|
"print_control": {
|
|
"name": "Print Control",
|
|
"state": {
|
|
"queued": "Queued",
|
|
"ok": "OK",
|
|
"unknown": "Unknown"
|
|
}
|
|
},
|
|
"max_nozzle_temp": { "name": "Max Nozzle Temperature" },
|
|
"max_bed_temp": { "name": "Max Bed Temperature" },
|
|
"max_chamber_temp": { "name": "Max Chamber Temperature" },
|
|
"active_filament_slot": { "name": "Active Filament Slot" },
|
|
"cfs_box_temp": { "name": "CFS Box {box_id} Temperature" },
|
|
"cfs_box_humidity": { "name": "CFS Box {box_id} Humidity" },
|
|
"cfs_slot_filament": { "name": "CFS Box {box_id} Slot {slot} Filament" },
|
|
"cfs_slot_color": { "name": "CFS Box {box_id} Slot {slot} Color" },
|
|
"cfs_slot_percent": { "name": "CFS Box {box_id} Slot {slot} Remaining" },
|
|
"cfs_ext_filament": { "name": "CFS External Filament" },
|
|
"cfs_ext_color": { "name": "CFS External Color" },
|
|
"cfs_ext_percent": { "name": "CFS External Remaining" }
|
|
},
|
|
"button": {
|
|
"home_xyz": { "name": "Home (XY then Z)" },
|
|
"pause_print": { "name": "Pause Print" },
|
|
"resume_print": { "name": "Resume Print" },
|
|
"stop_print": { "name": "Stop Print" },
|
|
"reconnect": { "name": "Reconnect" }
|
|
},
|
|
"number": {
|
|
"print_tuning_pct": { "name": "Print Tuning" },
|
|
"nozzle_target": { "name": "Nozzle Target" },
|
|
"bed_target": { "name": "Bed Target" },
|
|
"chamber_target": { "name": "Chamber Target" },
|
|
"model_fan_pct": { "name": "Model Fan" },
|
|
"case_fan_pct": { "name": "Case Fan" },
|
|
"side_fan_pct": { "name": "Side Fan" }
|
|
},
|
|
"fan": {
|
|
"model_fan": { "name": "Model Fan" },
|
|
"case_fan": { "name": "Case Fan" },
|
|
"side_fan": { "name": "Side Fan" }
|
|
},
|
|
"light": {
|
|
"light": { "name": "Light" }
|
|
},
|
|
"switch": {
|
|
"light": { "name": "Light" }
|
|
},
|
|
"camera": {
|
|
"printer_camera": { "name": "Printer Camera" }
|
|
},
|
|
"image": {
|
|
"current_print_preview": { "name": "Current Print Preview" }
|
|
}
|
|
},
|
|
"services": {
|
|
"diagnostic_dump": {
|
|
"name": "Diagnostic Dump",
|
|
"description": "Dump all WebSocket telemetry data from connected Creality printers to JSON format for troubleshooting and analysis.",
|
|
"fields": {
|
|
"include_sensitive_data": {
|
|
"name": "Include Sensitive Data",
|
|
"description": "Whether to include potentially sensitive data in the diagnostic output (currently unused, reserved for future use)"
|
|
}
|
|
}
|
|
},
|
|
"request_cfs_info": {
|
|
"name": "Request CFS Info",
|
|
"description": "Manually request the printer to send the latest CFS (multifilament) information including temperatures, humidity, and filament details.",
|
|
"fields": {
|
|
"device_id": {
|
|
"name": "Device",
|
|
"description": "The printer(s) to request info from. If omitted, all connected printers will be queried."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|