Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Maintenance kit level #5

Open
sproutmaster opened this issue Mar 28, 2024 · 0 comments
Open

Issue with Maintenance kit level #5

sproutmaster opened this issue Mar 28, 2024 · 0 comments

Comments

@sproutmaster
Copy link
Owner

Maintenance kit level isn't displayed correctly for certain printers even though the info is included in the json response from api.

image

{
        "meta": {
            "brand": null,
            "comment": "",
            "id": 8,
            "last_online": "15:01:00, Thu 28 Mar 2024",
            "last_updated": "16:33:03, Thu 14 Mar 2024",
            "location": "kimmer-2fl",
            "model": "HP LaserJet Flow E82650",
            "name": "Right Side Printer",
            "status": "Online",
            "type": "grayscale",
            "visible": true
        },
        "response": {
            "message": {
                "errors": [
                    "Tray 4 empty: Plain, Letter"
                ],
                "location": "",
                "model": "HP LaserJet Flow E82650",
                "name": "HP LaserJet Flow E82650",
                "supplies": {
                    "Black Cartridge": "100",
                    "Document Feeder Kit": "100"
                },
                "trays": {
                    "Tray 1": {
                        "capacity": "100 sheets",
                        "size": "Letter (8.5x11)",
                        "status": "Empty",
                        "type": "Plain"
                    },
                    "Tray 2": {
                        "capacity": "520 sheets",
                        "size": "Letter (8.5x11)",
                        "status": "< 30",
                        "type": "Plain"
                    },
                    "Tray 3": {
                        "capacity": "520 sheets",
                        "size": "Letter (8.5x11)",
                        "status": "< 30",
                        "type": "Plain"
                    },
                    "Tray 4": {
                        "capacity": "2000 sheets",
                        "size": "Letter (8.5x11)",
                        "status": "Empty",
                        "type": "Plain"
                    }
                },
                "type": "grayscale"
            },
            "status": "success"
        }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant