Skip to content

introduce last_commands variable that can be pulled to see what went wrong with the previously issued command(s) #1

Description

@sebkopf

basically list the codes for each component type and the component IDs it covers (variable limited to 1024 characters might be tricky here)

{
	"pump": {
		"ids": ["x", "y", "z"],
		"warnings": [
                     {-11: "blablub", -12: "whatup yeah"}
                  ],
                 "errors": [
                     {13: "blablub", 15: "whatup yeah"}
                  ]
	},
	"alicat_mfc": [],
	"scheduler": []
}

--> more realistic to actually use last_commands to check what happened (and then that can include the error message), basically a copy of the last status changes/messages (however many fit into the 1024 buffer), i.e. a copy of the debug_state info (some of what went into the database/log)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions