Skip to content

Add Minew MTB04 Connector: Initial configuration and payload parser #147

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

Merged
merged 1 commit into from
Aug 7, 2025

Conversation

Freddyminu
Copy link
Collaborator

  • Created connector.jsonc for the Minew MTB04 with versioning.
  • Added description.md outlining the module's functionality.
  • Included logo image for branding.
  • Implemented payload-config.jsonc for configuration settings.
  • Developed payload.ts for parsing CBOR-encoded payloads.
  • Added unit tests in payload.test.ts to validate decoding logic.

Decoder Description

Decoder works by translating CBOR to TagoIO JSON.

Type of change

  • Adding a new Decoder of Connector
  • Adding a new Decoder of Network
  • Update or fixing an issue in existing Decoder

Decoder Information and Payload to test and review

  • Documentation of the hardware or protocol:
  • Payload of example the test the decoder:

Checklist for Adding a New Decoder

  • Created a new folder under ./decoders/network/ or ./decoders/connector/ with the name of your decoder.
  • Added a network.jsonc or connector.jsonc file that follows the structure defined in ./schema/.
  • Created version folders and added manifest.jsonc files for each version.
  • Followed the folder structure guidelines for manufacturer and sensor/device model.
  • The code has unit test and it's in TypeScript.

Additional Notes

Please add any other information that you think is important.

- Created connector.jsonc for the Minew MTB04 with versioning.
- Added description.md outlining the module's functionality.
- Included logo image for branding.
- Implemented payload-config.jsonc for configuration settings.
- Developed payload.ts for parsing CBOR-encoded payloads.
- Added unit tests in payload.test.ts to validate decoding logic.
@Freddyminu Freddyminu requested a review from FabianoEger August 7, 2025 13:09
@Freddyminu Freddyminu self-assigned this Aug 7, 2025
@FabianoEger FabianoEger merged commit acb67f3 into main Aug 7, 2025
13 checks passed
@FabianoEger FabianoEger deleted the feat/connector-minew-mtb04 branch August 7, 2025 19:36
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.

3 participants