mysa2mqtt 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +8 -30
- package/dist/main.js +0 -0
- package/package.json +11 -23
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# mysa2mqtt
|
|
2
|
+
|
|
3
|
+
## 1.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#149](https://github.com/bourquep/mysa2mqtt/pull/149)
|
|
8
|
+
[`89e2950`](https://github.com/bourquep/mysa2mqtt/commit/89e2950c4874db14ea9b682380c63984aaf7a9f4) Thanks
|
|
9
|
+
[@bourquep](https://github.com/bourquep)! - Moved development into the
|
|
10
|
+
[mysa2mqtt monorepo](https://github.com/bourquep/mysa2mqtt).
|
|
11
|
+
|
|
12
|
+
There are no functional changes in this release. The package's repository and homepage links now point at the
|
|
13
|
+
monorepo, and issues for all three packages are tracked at https://github.com/bourquep/mysa2mqtt/issues.
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
[[`89e2950`](https://github.com/bourquep/mysa2mqtt/commit/89e2950c4874db14ea9b682380c63984aaf7a9f4)]:
|
|
17
|
+
- mysa-js-sdk@2.1.1
|
|
18
|
+
- mqtt2ha@4.1.4
|
|
19
|
+
|
|
20
|
+
## Releases prior to 1.2.3
|
|
21
|
+
|
|
22
|
+
This package previously lived in a standalone repository and used semantic-release, which published its release notes to
|
|
23
|
+
GitHub Releases rather than to a changelog file.
|
|
24
|
+
|
|
25
|
+
See the [release history](https://github.com/bourquep/mysa2mqtt/releases) for notes on versions up to and including
|
|
26
|
+
1.2.3. Those releases are tagged `v1.2.3`; releases from the monorepo onwards are tagged `mysa2mqtt@<version>`.
|
package/README.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# mysa2mqtt
|
|
2
2
|
|
|
3
|
-
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
4
|
-
[](#contributors-)
|
|
5
|
-
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
6
|
-
|
|
7
3
|
[](https://www.npmjs.com/package/mysa2mqtt)
|
|
8
4
|
[](https://hub.docker.com/r/bourquep/mysa2mqtt)
|
|
9
5
|
[](https://github.com/bourquep/mysa2mqtt/actions/workflows/github-code-scanning/codeql)
|
|
@@ -295,7 +291,7 @@ docker run -d --name mysa2mqtt \
|
|
|
295
291
|
If you prefer to build your own image, create a `Dockerfile`:
|
|
296
292
|
|
|
297
293
|
```dockerfile
|
|
298
|
-
FROM node:
|
|
294
|
+
FROM node:24-alpine
|
|
299
295
|
|
|
300
296
|
WORKDIR /app
|
|
301
297
|
|
|
@@ -325,7 +321,7 @@ docker run -d --name mysa2mqtt \
|
|
|
325
321
|
-e M2M_MQTT_HOST=your-mqtt-broker \
|
|
326
322
|
-e M2M_MYSA_USERNAME=your-email \
|
|
327
323
|
-e M2M_MYSA_PASSWORD=your-password \
|
|
328
|
-
node:
|
|
324
|
+
node:24-alpine \
|
|
329
325
|
sh -c "npm install -g mysa2mqtt && mysa2mqtt"
|
|
330
326
|
```
|
|
331
327
|
|
|
@@ -356,7 +352,7 @@ docker-compose up -d
|
|
|
356
352
|
|
|
357
353
|
## Contributing
|
|
358
354
|
|
|
359
|
-
If you want to contribute to this project, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file for guidelines.
|
|
355
|
+
If you want to contribute to this project, please read the [CONTRIBUTING.md](../../CONTRIBUTING.md) file for guidelines.
|
|
360
356
|
|
|
361
357
|
## License
|
|
362
358
|
|
|
@@ -376,35 +372,17 @@ copyright notice and license text in any copy of the software or substantial por
|
|
|
376
372
|
|
|
377
373
|
## Acknowledgments
|
|
378
374
|
|
|
379
|
-
- [mysa-js-sdk](https://github.com/bourquep/mysa-js-sdk) - Mysa API client library
|
|
375
|
+
- [mysa-js-sdk](https://github.com/bourquep/mysa2mqtt/tree/main/packages/mysa-js-sdk) - Mysa API client library
|
|
380
376
|
- This library would not be possible without the amazing work by [@dlenski](https://github.com/dlenski) in his
|
|
381
377
|
[mysotherm](https://github.com/dlenski/mysotherm) repository. He's the one who reversed-engineered the Mysa MQTT
|
|
382
378
|
protocol which is being used by this library.
|
|
383
379
|
|
|
384
|
-
- [mqtt2ha](https://github.com/bourquep/mqtt2ha) - MQTT to Home Assistant bridge library
|
|
380
|
+
- [mqtt2ha](https://github.com/bourquep/mysa2mqtt/tree/main/packages/mqtt2ha) - MQTT to Home Assistant bridge library
|
|
385
381
|
- [Commander.js](https://github.com/tj/commander.js) - Command-line argument parsing
|
|
386
382
|
- [Pino](https://github.com/pinojs/pino) - Fast JSON logger
|
|
387
383
|
|
|
388
384
|
## Contributors ✨
|
|
389
385
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
<!-- prettier-ignore-start -->
|
|
394
|
-
<!-- markdownlint-disable -->
|
|
395
|
-
<table>
|
|
396
|
-
<tbody>
|
|
397
|
-
<tr>
|
|
398
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/remiolivier"><img src="https://avatars.githubusercontent.com/u/1379047?v=4?s=100" width="100px;" alt="remiolivier"/><br /><sub><b>remiolivier</b></sub></a><br /><a href="https://github.com/bourquep/mysa2mqtt/commits?author=remiolivier" title="Code">💻</a></td>
|
|
399
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Terwox"><img src="https://avatars.githubusercontent.com/u/17753313?v=4?s=100" width="100px;" alt="James Myers"/><br /><sub><b>James Myers</b></sub></a><br /><a href="https://github.com/bourquep/mysa2mqtt/commits?author=Terwox" title="Code">💻</a></td>
|
|
400
|
-
</tr>
|
|
401
|
-
</tbody>
|
|
402
|
-
</table>
|
|
403
|
-
|
|
404
|
-
<!-- markdownlint-restore -->
|
|
405
|
-
<!-- prettier-ignore-end -->
|
|
406
|
-
|
|
407
|
-
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
408
|
-
|
|
409
|
-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.
|
|
410
|
-
Contributions of any kind welcome!
|
|
386
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors)
|
|
387
|
+
specification. See the [contributor list](https://github.com/bourquep/mysa2mqtt#contributors-) in the
|
|
388
|
+
repository README. Contributions of any kind welcome!
|
package/dist/main.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mysa2mqtt",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Expose Mysa smart thermostats to home automation platforms via MQTT.",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"home-assistant"
|
|
13
13
|
],
|
|
14
14
|
"publishConfig": {
|
|
15
|
-
"provenance": true
|
|
15
|
+
"provenance": true,
|
|
16
|
+
"access": "public"
|
|
16
17
|
},
|
|
17
18
|
"author": {
|
|
18
19
|
"name": "Pascal Bourque",
|
|
@@ -21,13 +22,15 @@
|
|
|
21
22
|
"bugs": {
|
|
22
23
|
"url": "https://github.com/bourquep/mysa2mqtt/issues"
|
|
23
24
|
},
|
|
24
|
-
"homepage": "https://github.com/bourquep/mysa2mqtt",
|
|
25
|
+
"homepage": "https://github.com/bourquep/mysa2mqtt/tree/main/packages/mysa2mqtt",
|
|
25
26
|
"repository": {
|
|
26
27
|
"type": "git",
|
|
27
|
-
"url": "git+https://github.com/bourquep/mysa2mqtt.git"
|
|
28
|
+
"url": "git+https://github.com/bourquep/mysa2mqtt.git",
|
|
29
|
+
"directory": "packages/mysa2mqtt"
|
|
28
30
|
},
|
|
29
31
|
"files": [
|
|
30
32
|
"README.md",
|
|
33
|
+
"CHANGELOG.md",
|
|
31
34
|
"LICENSE.txt",
|
|
32
35
|
"dist"
|
|
33
36
|
],
|
|
@@ -42,33 +45,18 @@
|
|
|
42
45
|
"scripts": {
|
|
43
46
|
"dev": "tsx src/main.ts",
|
|
44
47
|
"lint": "eslint --max-warnings 0 src/**/*.ts",
|
|
45
|
-
"
|
|
48
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
46
49
|
"build": "tsup"
|
|
47
50
|
},
|
|
48
51
|
"dependencies": {
|
|
49
52
|
"commander": "15.0.0",
|
|
50
53
|
"dotenv": "17.4.2",
|
|
51
|
-
"mqtt2ha": "4.1.
|
|
52
|
-
"mysa-js-sdk": "2.1.
|
|
54
|
+
"mqtt2ha": "4.1.4",
|
|
55
|
+
"mysa-js-sdk": "2.1.1",
|
|
53
56
|
"pino": "10.3.1",
|
|
54
57
|
"pino-pretty": "13.1.3"
|
|
55
58
|
},
|
|
56
59
|
"devDependencies": {
|
|
57
|
-
"@commander-js/extra-typings": "15.0.0"
|
|
58
|
-
"@eslint/js": "9.39.5",
|
|
59
|
-
"@semantic-release/npm": "13.1.5",
|
|
60
|
-
"@types/node": "24.13.3",
|
|
61
|
-
"conventional-changelog-conventionalcommits": "10.2.1",
|
|
62
|
-
"eslint": "9.39.5",
|
|
63
|
-
"eslint-plugin-jsdoc": "61.7.1",
|
|
64
|
-
"eslint-plugin-tsdoc": "0.5.2",
|
|
65
|
-
"prettier": "3.9.5",
|
|
66
|
-
"prettier-plugin-jsdoc": "1.8.1",
|
|
67
|
-
"prettier-plugin-organize-imports": "4.3.0",
|
|
68
|
-
"semantic-release": "25.0.8",
|
|
69
|
-
"tsup": "8.5.1",
|
|
70
|
-
"tsx": "4.23.1",
|
|
71
|
-
"typescript": "5.9.3",
|
|
72
|
-
"typescript-eslint": "8.64.0"
|
|
60
|
+
"@commander-js/extra-typings": "15.0.0"
|
|
73
61
|
}
|
|
74
62
|
}
|