dependabot[bot]
ac9c4cbdef
chore(deps-dev): Bump the dev-dependencies group across 1 directory with 6 updates
...
Bumps the dev-dependencies group with 6 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [@semantic-release/npm](https://github.com/semantic-release/npm ) | `13.1.2` | `13.1.3` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `24.10.1` | `25.0.2` |
| [eslint](https://github.com/eslint/eslint ) | `9.39.1` | `9.39.2` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) | `61.2.1` | `61.5.0` |
| [prettier](https://github.com/prettier/prettier ) | `3.6.2` | `3.7.4` |
| [prettier-plugin-jsdoc](https://github.com/hosseinmd/prettier-plugin-jsdoc ) | `1.5.0` | `1.8.0` |
Updates `@semantic-release/npm` from 13.1.2 to 13.1.3
- [Release notes](https://github.com/semantic-release/npm/releases )
- [Commits](https://github.com/semantic-release/npm/compare/v13.1.2...v13.1.3 )
Updates `@types/node` from 24.10.1 to 25.0.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `eslint` from 9.39.1 to 9.39.2
- [Release notes](https://github.com/eslint/eslint/releases )
- [Commits](https://github.com/eslint/eslint/compare/v9.39.1...v9.39.2 )
Updates `eslint-plugin-jsdoc` from 61.2.1 to 61.5.0
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v61.2.1...v61.5.0 )
Updates `prettier` from 3.6.2 to 3.7.4
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.6.2...3.7.4 )
Updates `prettier-plugin-jsdoc` from 1.5.0 to 1.8.0
- [Release notes](https://github.com/hosseinmd/prettier-plugin-jsdoc/releases )
- [Changelog](https://github.com/hosseinmd/prettier-plugin-jsdoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hosseinmd/prettier-plugin-jsdoc/commits )
---
updated-dependencies:
- dependency-name: "@semantic-release/npm"
dependency-version: 13.1.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: "@types/node"
dependency-version: 25.0.2
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dev-dependencies
- dependency-name: eslint
dependency-version: 9.39.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: eslint-plugin-jsdoc
dependency-version: 61.5.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: prettier
dependency-version: 3.7.4
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: prettier-plugin-jsdoc
dependency-version: 1.8.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-15 04:17:22 +00:00
Pascal Bourque
2e73d57497
fix: Unable to automatically reconnect when credentials have expired ( #101 )
v1.2.2
2025-11-28 09:34:27 -05:00
dependabot[bot]
cdc2370902
chore(deps-dev): Bump @eslint/js from 9.39.0 to 9.39.1 ( #92 )
2025-11-28 14:31:44 +00:00
dependabot[bot]
1e07919925
chore(deps-dev): Bump tsup from 8.5.0 to 8.5.1 ( #96 )
2025-11-28 14:31:42 +00:00
dependabot[bot]
d650004283
chore(deps-dev): Bump js-yaml from 4.1.0 to 4.1.1 ( #95 )
2025-11-28 14:29:10 +00:00
dependabot[bot]
a653fe66bd
chore(deps-dev): Bump typescript-eslint from 8.46.2 to 8.46.4 ( #97 )
2025-11-28 14:28:55 +00:00
dependabot[bot]
44a9ce5070
chore(deps-dev): Bump the dev-dependencies group across 1 directory with 6 updates ( #98 )
2025-11-28 14:28:51 +00:00
Pascal Bourque
751d469a16
fix: Prevent AWS_ERROR_MQTT_UNEXPECTED_HANGUP connection interruptions ( #90 )
v1.2.1
2025-11-08 15:57:04 -05:00
Pascal Bourque
750a5c4ebf
chore(deps): Updated mysa-js-sdk to 2.0.1 ( #87 )
v1.2.0
2025-11-03 07:16:55 -05:00
dependabot[bot]
60b1df23b2
chore(deps): Bump commander from 14.0.1 to 14.0.2 ( #84 )
2025-11-03 11:50:04 +00:00
dependabot[bot]
02ab0863ba
chore(deps-dev): Bump @eslint/js from 9.38.0 to 9.39.0 ( #85 )
2025-11-03 11:47:15 +00:00
dependabot[bot]
2e93ec8f3d
chore(deps-dev): Bump @types/node from 24.9.2 to 24.10.0 in the dev-dependencies group ( #86 )
2025-11-03 11:46:57 +00:00
remiolivier
c24a0da4d1
feat: Added partial support for AC-V1-1 thermostat ( #74 )
...
## Add support for AC-V1-1 Devices
This PR follows https://github.com/bourquep/mysa-js-sdk/pull/156 and
should be merged once the `mysa-js-sdk` is updated and we probably need
to bump the version in here too?
### What Changed
- Added detection for AC model devices (`isAC`) and extended mode
handling:
- Supports additional modes: `cool`, `dry`, `fan_only`, and `auto`
(alongside `heat` and `off`).
- Supports fans speed for fan compatible modes with 4 speeds as
advertised on the Mysa app
** Note: I'm no typescript expert so code might not look the best **
### Testing
- Verified mode changes and temperature updates for both heat-only and
AC devices.
- Verified fan speed changes for AC devices
- Verified action changes for both heat-only and AC devices
- Tested interactions from both Mysa app and HA
https://github.com/user-attachments/assets/ada413dc-c681-49de-af09-7b21826be8f3
### Next Steps
- Add full AC-V1 support:
- Swing / vane control
---------
Co-authored-by: Pascal Bourque <pascal@cosmos.moi >
2025-11-03 06:45:41 -05:00
Pascal Bourque
2ff6d00999
chore: Changed dependabot schedule from daily to weekly ( #83 )
2025-11-02 12:12:25 -05:00
remiolivier
da90344ffc
fix: Unable to change the set point when Home Assistant is configured with Fahrenheit temperature unit ( #73 )
...
# Fix Temperature Handling in Fahrenheit Mode
## Problem
When operating in **Fahrenheit mode**, Mysa still expects temperature
values to be provided in **Celsius**.
However, Home Assistant sends integer Fahrenheit values (e.g.,
`72.02°F`), which convert to **non-aligned Celsius values** like
`22.22°C`.
Mysa’s API only accepts temperature values that are either **whole
numbers** or **increments of 0.5°C** (for example: `21.0`, `21.5`,
`22.0`).
As a result, values such as `22.22°C` or `21.72°C` are considered
invalid and are **rejected** by Mysa’s API.
---
## Root Cause
- The original code accepted **0.1°C precision** and **0.5°C step
size**.
- When Home Assistant runs in Fahrenheit, the conversion from °F to °C
produces fractional values that are not valid (e.g., 72°F → 22.22°C).
- Because Mysa enforces strict 0.5°C increments, these fractional
setpoints caused failed updates.
---
## Solution
This update ensures valid behavior when using Fahrenheit mode **while
keeping the current behavior for Celsius**:
- Adds a new environment variable:
**`M2M_TEMP_UNIT`** — accepts either:
- `C` *(default)*
- `F` *(for Fahrenheit operation)*
- When running in Fahrenheit mode (`M2M_TEMP_UNIT=F`):
- Celsius values are **rounded and clamped to the nearest 0.5°C**.
- Temperature step size and precision are adjusted:
- Precision → `1°F`
- Step size → `1°F`
- When running in Celsius mode, existing logic remains unchanged (0.1
precision, 0.5 step).
---
## Technical Summary
| Mode | Env Variable | Precision | Step | Conversion Behavior |
|------|---------------|------------|------|----------------------|
| Celsius | `M2M_TEMP_UNIT=C` (default) | 0.1°C | 0.5°C | Direct
pass-through |
| Fahrenheit | `M2M_TEMP_UNIT=F` | 1°F | 1°F | Convert °F → °C, snap to
0.5°C |
The rounding logic ensures that when a Fahrenheit value (e.g., `72°F`)
is converted to Celsius (`21.72°C`), it is adjusted to the nearest valid
half-degree (`21.5°C` or `22.0°C`).
# Demo
https://github.com/user-attachments/assets/bbffe5fe-a3be-43cb-aed0-f63bdfacb1d4
---------
Co-authored-by: Pascal Bourque <pascal@cosmos.moi >
2025-11-02 10:00:14 -05:00
allcontributors[bot]
4069f24880
docs: add remiolivier as a contributor for code ( #82 )
...
Adds @remiolivier as a contributor for code.
This was requested by bourquep [in this
comment](https://github.com/bourquep/mysa2mqtt/pull/72#issuecomment-3476434699 )
[skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Pascal Bourque <pascal@cosmos.moi >
2025-11-01 10:55:59 -04:00
Pascal Bourque
a47cdbb45e
fix: Don't crash on undefined values returned by the Mysa API ( #81 )
2025-11-01 10:49:27 -04:00
Pascal Bourque
2e075cd40d
fix: Better resilience towards MQTT connection loss and errors ( #80 )
2025-11-01 09:05:05 -04:00
dependabot[bot]
f2d35a1ca5
chore(deps-dev): Bump the dev-dependencies group across 1 directory with 6 updates ( #79 )
2025-10-31 20:43:34 +00:00
dependabot[bot]
122ffde2f1
chore(deps): Bump pino from 10.0.0 to 10.1.0 ( #76 )
2025-10-31 20:38:17 +00:00
dependabot[bot]
c259557da0
chore(deps-dev): Bump typescript-eslint from 8.45.0 to 8.46.2 ( #78 )
2025-10-31 20:35:35 +00:00
dependabot[bot]
57bd430c98
chore(deps-dev): Bump @eslint/js from 9.37.0 to 9.38.0 ( #75 )
2025-10-31 20:35:08 +00:00
dependabot[bot]
8ca80acb49
chore(deps): Bump pino-pretty from 13.1.1 to 13.1.2 ( #68 )
2025-10-31 20:34:55 +00:00
Pascal Bourque
3b5dafeda9
fix: Fatal error when starting realtime updates. ( #64 )
...
Via https://github.com/bourquep/mysa-js-sdk/pull/144
v1.1.3
2025-10-05 15:08:07 -04:00
Pascal Bourque
35f2effe9c
chore(deps): Updated all dependencies to their latest versions ( #62 )
v1.1.2
2025-10-05 11:43:49 -04:00
dependabot[bot]
c29eae97ed
chore(deps-dev): Bump the dev-dependencies group with 9 updates ( #57 )
2025-10-05 15:22:33 +00:00
dependabot[bot]
6502b76b77
chore(deps): Bump pino-pretty from 13.0.0 to 13.1.1 ( #55 )
2025-10-05 15:09:30 +00:00
dependabot[bot]
39d0e64dc0
chore(deps): Bump axios from 1.9.0 to 1.12.1 in the npm_and_yarn group across 1 directory ( #60 )
2025-10-05 15:08:44 +00:00
dependabot[bot]
49c7a0fd8e
chore(deps-dev): Bump tsx from 4.20.3 to 4.20.6 ( #61 )
2025-10-05 15:08:29 +00:00
dependabot[bot]
36539b17b1
chore(deps-dev): Bump brace-expansion from 1.1.11 to 1.1.12 in the npm_and_yarn group ( #54 )
v1.1.1
2025-08-29 12:36:55 +00:00
dependabot[bot]
e1bd2e3a91
chore(deps-dev): Bump conventional-changelog-conventionalcommits from 9.0.0 to 9.1.0 ( #38 )
2025-08-29 12:21:56 +00:00
dependabot[bot]
be163eddca
chore(deps): Bump form-data from 4.0.2 to 4.0.4 in the npm_and_yarn group ( #43 )
2025-08-29 12:21:44 +00:00
dependabot[bot]
8a8ab7ab07
chore(deps): Bump dotenv from 16.5.0 to 17.2.1 ( #45 )
2025-08-29 12:21:29 +00:00
dependabot[bot]
a2f47220bd
chore(deps-dev): Bump @eslint/js from 9.29.0 to 9.34.0 ( #52 )
2025-08-29 12:21:07 +00:00
dependabot[bot]
ec166cce61
chore(deps-dev): Bump typescript-eslint from 8.35.0 to 8.41.0 ( #53 )
2025-08-29 12:20:55 +00:00
Pascal Bourque
d2f7c73d84
docs(readme): Updated compatibility matrix for BB-V2
2025-08-25 11:40:39 -04:00
dependabot[bot]
1bfb7e3add
chore(deps-dev): Bump typescript-eslint from 8.34.1 to 8.35.0 ( #22 )
2025-06-25 14:39:05 +00:00
dependabot[bot]
e9f2335c38
chore(deps): Bump mysa-js-sdk from 1.2.0 to 1.3.0 ( #20 )
2025-06-25 14:36:27 +00:00
dependabot[bot]
96114d2e91
chore(deps-dev): Bump the dev-dependencies group across 1 directory with 3 updates ( #16 )
2025-06-21 13:39:21 +00:00
dependabot[bot]
21bc257b22
chore(deps-dev): Bump tsx from 4.19.4 to 4.20.3 ( #18 )
2025-06-21 13:36:54 +00:00
dependabot[bot]
16a82f93f4
chore(deps-dev): Bump @eslint/js from 9.28.0 to 9.29.0 ( #17 )
2025-06-21 13:35:55 +00:00
dependabot[bot]
a95aee6c27
chore(deps-dev): Bump typescript-eslint from 8.34.0 to 8.34.1 ( #19 )
2025-06-21 13:33:57 +00:00
dependabot[bot]
20b2866ee4
chore(deps-dev): Bump @types/node from 22.15.30 to 24.0.0 in the dev-dependencies group ( #10 )
2025-06-10 11:41:44 +00:00
dependabot[bot]
dd23fca857
chore(deps-dev): Bump typescript-eslint from 8.33.1 to 8.34.0 ( #11 )
2025-06-10 11:41:35 +00:00
Pascal Bourque
374dae1885
feat: Expose device serial number and origin ( #7 )
v1.1.0
2025-06-07 10:58:41 -04:00
Pascal Bourque
2e2e64d2d0
feat: Temperature and humidity sensors ( #6 )
2025-06-07 09:35:48 -04:00
Pascal Bourque
57502c5fb7
docs(readme): Added a Docker Hub badge to the readme
2025-06-06 13:04:41 -04:00
Pascal Bourque
4895828426
fix(ci): Properly pass release version output to docker job
v1.0.1
2025-06-06 12:54:08 -04:00
Pascal Bourque
6fe35ab4c3
docs(readme): Added table of supported hardware
v1.0.0
2025-06-06 12:36:33 -04:00
dependabot[bot]
1cdaa5169b
chore(deps-dev): Bump the dev-dependencies group with 3 updates ( #3 )
2025-06-06 16:14:51 +00:00