Skip to content

Complete rewrite to make adding features and fixes easier #98

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

Draft
wants to merge 42 commits into
base: develop
Choose a base branch
from

Conversation

bytespider
Copy link
Owner

Complete rewrite to make adding features and fixes easier

Added fixes for firmware versions 7.x which require certain actions to be encrypted with a ECDH derived key.

@bytespider bytespider requested a review from Copilot April 23, 2025 15:02
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

A complete rewrite aimed at simplifying the addition of new features and fixes, with special adjustments for firmware version 7.x that require ECDH key encryption.

  • New CLI implementation with enhanced terminal output and progress indicators
  • Removal of the lib/api.js module as part of streamlining the codebase
  • Updated documentation, license files, and CI/CD workflow configurations

Reviewed Changes

Copilot reviewed 73 out of 85 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/cli/src/cli.ts Introduces new CLI functions with improvements in output
packages/cli/README.md Updates usage instructions and options for the CLI
packages/cli/LICENSE.md Adds ISC license information
lib/api.js Removes obsolete API module
README.md Revamps project documentation and command help details
LICENSE.md Adds ISC license information
.github/workflows/npm-publish.yml Upgrades GitHub Actions configurations and Node.js versions
Files not reviewed (12)
  • .npmignore: Language not supported
  • .prettierrc: Language not supported
  • .vscode/extensions.json: Language not supported
  • .vscode/settings.json: Language not supported
  • Dockerfile: Language not supported
  • VERSION: Language not supported
  • certs/ca.crt: Language not supported
  • certs/server.crt: Language not supported
  • mosquitto/basic.conf: Language not supported
  • package.json: Language not supported
  • packages/cli/.npmignore: Language not supported
  • packages/cli/package.json: Language not supported

};

/**
* Draws a spinner and a message that is updated on success or failire
Copy link
Preview

Copilot AI Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo found in the comment: 'failire' should be corrected to 'failure'.

Suggested change
* Draws a spinner and a message that is updated on success or failire
* Draws a spinner and a message that is updated on success or failure

Copilot uses AI. Check for mistakes.

--wifi-pass <wifi-pass> WIFI Access Point password
--wifi-encryption <wifi-encryption> WIFI Access Point encryption (this can be found using meross info --include-wifi)
--wifi-cipher <wifi-cipher> WIFI Access Point cipher (this can be found using meross info --include-wifi)
--wifi-bssid <wifi-bssid> WIFI Access Point BSSID (each octet seperated by a colon `:`)
Copy link
Preview

Copilot AI Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in the README: 'seperated' should be corrected to 'separated'.

Suggested change
--wifi-bssid <wifi-bssid> WIFI Access Point BSSID (each octet seperated by a colon `:`)
--wifi-bssid <wifi-bssid> WIFI Access Point BSSID (each octet separated by a colon `:`)

Copilot uses AI. Check for mistakes.

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.

1 participant