Skip to content
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

Ignore extra trailing bytes when decoding ThermostatSetpointReport #896

Merged
merged 1 commit into from Feb 7, 2024

Conversation

jfcloutier
Copy link
Contributor

@jfcloutier jfcloutier commented Feb 7, 2024

A trailing 0 is sent by the Aidoo Airzone which must be ignored to avoid a parameter decoding failure.

SRH-1012

@fhunleth
Copy link
Collaborator

fhunleth commented Feb 7, 2024

@jfcloutier Could you add a unit test with the response from the Airzone that caused this?

@jfcloutier jfcloutier force-pushed the decode_tstat_setpoint_report_extra branch from 5cfba5b to 54b2b7e Compare February 7, 2024 20:28
@jfcloutier
Copy link
Contributor Author

@jfcloutier Could you add a unit test with the response from the Airzone that caused this?

Test added.

@jfcloutier jfcloutier force-pushed the decode_tstat_setpoint_report_extra branch from 54b2b7e to 8afb65e Compare February 7, 2024 20:29
A trailing 0 is sent by the Aidoo Airzone which must be ignored to avoid a parameter decoding failure.

[SRH-1012]
@jfcloutier jfcloutier force-pushed the decode_tstat_setpoint_report_extra branch from 8afb65e to f4a77bf Compare February 7, 2024 20:30
@bjyoungblood bjyoungblood added the enhancement New feature or request label Feb 7, 2024
@bjyoungblood bjyoungblood changed the title Deal with trailing, junk bytes when decoding a ThermostatSetpointReport Ignore extra trailing bytes when decoding ThermostatSetpointReport Feb 7, 2024
@bjyoungblood bjyoungblood merged commit 93cfce6 into main Feb 7, 2024
1 check passed
@bjyoungblood bjyoungblood deleted the decode_tstat_setpoint_report_extra branch February 7, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants