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

Code cleanup #112

Conversation

novicatepic
Copy link
Collaborator

Logic for three parameters measured should be deleted (from can service, app service and in other places where it is used)
Sensor module should be deleted, since CAN is used for protocol data.
Stats service should be deleted, since it was used to work with three parameters.
Tests from deleted modules should be commented for now (deleted later since that code can be useful to write my own tests)
Three parameters should be recognized based on protocol data name, and in that case only alarm logic should be present and sent to the device.
When sending data to cloud, it is sent as normal protocol data, and on cloud three parameters can be recognized based on their name.

@novicatepic novicatepic self-assigned this Sep 11, 2024
@novicatepic novicatepic linked an issue Sep 11, 2024 that may be closed by this pull request
sale3
sale3 previously approved these changes Sep 11, 2024
@novicatepic novicatepic merged commit 31663da into master Sep 12, 2024
4 checks passed
@novicatepic novicatepic deleted the 107-gateway-cleanup-code-to-delete-existing-hard-coded-logic branch September 12, 2024 07:48
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

Successfully merging this pull request may close these issues.

[GATEWAY] Cleanup code to delete existing hard coded logic
2 participants