Skip to content

Commit

Permalink
v5.0.0 (#227)
Browse files Browse the repository at this point in the history
## [Version 5.0.0](v4.0.0....5.0.0) (2021-03-14)

### Breaking Changes

- The Plugin has been been changed from an `accessory` type to a `platform` type.
- You will have to change you config completely if you update to this version.
  - You can take your current `accessory` and move it to the platform config.
  - See (Specific Model Configurations)[https://github.com/donavanbecker/homebridge-meross/wiki/Specific-Model-Configurations] Wiki for more examples.
  - Example: 
   #### Before:
    ```json
    "accessories": [
        {
          "model": "MSS620",
          "name": "Outlet",
          "deviceUrl": "192.168.1.1",
          "channel": 0,
          "messageId": "abcdefghijklmnopqrstuvwxyz123456789",
          "timestamp": 123456789,
          "sign": "abcdefghijklmnopqrstuvwxyz123456789",
          "accessory": "Meross"
        }
    ]
    ```
   #### After:
    ```json
    "platforms": [
        {
        "name": "Meross",
        "devices": [
            <This_is_from_above>
            {
            "model": "MSS620",
            "name": "Outlet",
            "deviceUrl": "192.168.1.1",
            "channel": 0,
            "messageId": "abcdefghijklmnopqrstuvwxyz123456789",
            "timestamp": 123456789,
            "sign": "abcdefghijklmnopqrstuvwxyz123456789",
            "accessory": "Meross" <You_Can_Remove_This.>
            }
            <Ends_here_from_above>
          ],
        "platform": "Meross"
        }
    ]
    ```
- Added Config for Refresh Rate.
  - default is 5 seconds and if updating to often can be set in the config.
  • Loading branch information
donavanbecker authored Mar 15, 2021
1 parent ec98fdc commit 16d61a3
Show file tree
Hide file tree
Showing 14 changed files with 2,671 additions and 2,448 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
],
"max-len": [
"warn",
140
150
],
"no-console": [
"warn"
Expand Down
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ version: 2
updates:
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
target-branch: 'beta'
schedule:
interval: 'daily'
- package-ecosystem: 'github-actions' # See documentation for possible values
directory: '/' # Location of package manifests
target-branch: 'beta'
schedule:
interval: 'daily'
interval: 'daily'
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,56 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/).

## [Version 5.0.0](https://github.com/donavanbecker/homebridge-meross/compare/v4.0.0....5.0.0) (2021-03-14)

### Breaking Changes

- The Plugin has been been changed from an `accessory` type to a `platform` type.
- You will have to change you config completely if you update to this version.
- You can take your current `accessory` and move it to the platform config.
- See (Specific Model Configurations)[https://github.com/donavanbecker/homebridge-meross/wiki/Specific-Model-Configurations] Wiki for more examples.
- Example:
#### Before:
```json
"accessories": [
{
"model": "MSS620",
"name": "Outlet",
"deviceUrl": "192.168.1.1",
"channel": 0,
"messageId": "abcdefghijklmnopqrstuvwxyz123456789",
"timestamp": 123456789,
"sign": "abcdefghijklmnopqrstuvwxyz123456789",
"accessory": "Meross"
}
]
```
#### After:
```json
"platforms": [
{
"name": "Meross",
"devices": [
<This_is_from_above>
{
"model": "MSS620",
"name": "Outlet",
"deviceUrl": "192.168.1.1",
"channel": 0,
"messageId": "abcdefghijklmnopqrstuvwxyz123456789",
"timestamp": 123456789,
"sign": "abcdefghijklmnopqrstuvwxyz123456789",
"accessory": "Meross" <You_Can_Remove_This.>
}
<Ends_here_from_above>
],
"platform": "Meross"
}
]
```
- Added Config for Refresh Rate.
- default is 5 seconds and if updating to often can be set in the config.

## [Version 4.0.1](https://github.com/donavanbecker/homebridge-meross/compare/v4.0.0....4.0.1) (2020-03-12)

### Changes
Expand Down
Loading

0 comments on commit 16d61a3

Please sign in to comment.