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

[FEATURE]-Add console command to report system device health #1058

Open
ndorin opened this issue Feb 6, 2023 · 2 comments
Open

[FEATURE]-Add console command to report system device health #1058

ndorin opened this issue Feb 6, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ndorin
Copy link
Contributor

ndorin commented Feb 6, 2023

Is your feature request related to a problem? Please describe.
Currently there is no easy was via console to report the connectivity health of devices in a system that implement ICommunicationMonitor

Describe the solution you'd like
Add a console command with corresponding formatted CrestronConsoleResponse that outputs the status of any devices that implement ICommunicationMonitor. Ensure the the output is easily machine parsable.

Describe alternatives you've considered
An HTTP request to deliver the same information (future)

@jgutenplan should be consulted on necessary data and preferred format for parsing via UDM lambda

@ndorin ndorin added the enhancement New feature or request label Feb 6, 2023
@andrew-welker
Copy link
Contributor

This command already exists: DEVCOMMSTATUS. However, it could be improved, as it is most likely NOT using CrestronConsole.ConsoleCommandResponse, and the output seems to be the type of the class, not a device key, and has some line-ending issues on 3-series.

image
image

@TrevorPayne
Copy link
Contributor

I think the line ending issues are just going to be problematic, period. 3-series vs 4-series line endings aren't properly accounted for in Toolbox still and it makes for really ugly console output across the board, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants