Skip to content

Prevent bad values from humidity sensor#10

Open
PeyserB wants to merge 2 commits into
djdizzyd:masterfrom
PeyserB:patch-1
Open

Prevent bad values from humidity sensor#10
PeyserB wants to merge 2 commits into
djdizzyd:masterfrom
PeyserB:patch-1

Conversation

@PeyserB
Copy link
Copy Markdown

@PeyserB PeyserB commented Jun 27, 2020

Add a check to make sure the thermostat returns a humidity value between 0 and 100. My sensor sometimes returns bad values, such as '-124' that should not get written out. Anything outside that range is also bad for g/m^3, also.

PeyserB added 2 commits June 27, 2020 14:56
Add a check to make sure the thermostat returns a humidity value between 0 and 100. My sensor sometimes returns bad values, such as '-124' that should not get written out. Anything outside that range is also bad for g/m^3, also.
The Hubitat (v2.2.1.116) sends requests to change mode with an extra space in front of fan mode settings. This works even with the bad requests by adding extra spaces to the SET_THERMOSTAT_FAN_MODE Map.
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