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

System data type for reporting errors #1161

Open
Avamander opened this issue Jul 16, 2018 · 4 comments
Open

System data type for reporting errors #1161

Avamander opened this issue Jul 16, 2018 · 4 comments

Comments

@Avamander
Copy link
Contributor

It seems that currently there seems to be no way to report sensor and actuator errors to controllers, this could be remedied by creating an internal data type for reporting sensor errors (one of the values could be replaced maybe?). This would make MySensors much much more reliable because then users will actually know when something's erroring rather than not getting sensor readings for example.

@mfalkvidd
Copy link
Member

How about using I_LOG_MESSAGE or I_DEBUG ?

@Avamander
Copy link
Contributor Author

Avamander commented Jul 16, 2018

@mfalkvidd It would work assuming controllers understood the format, what I was thinking would be more like V_ERROR with certain values indicating certain types of errors that could be hardcoded into gateways and thus nicely displayed to users. Currently every single person wanting this functionality has to personally implement both the gateway part and how (s)he's going to send the errors.

@mfalkvidd
Copy link
Member

Gateways don't display anything to users (except the debug log, where I_LOG_MESSAGE and I_DEBUG already are visible).

Do you mean that you wish controllers implemented a way of displaying these types of messages?

@Avamander
Copy link
Contributor Author

@mfalkvidd Sorry, I indeed meant controllers.

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

No branches or pull requests

2 participants