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

Sub-zero temperatures #19

Open
dawidi opened this issue Jan 19, 2024 · 1 comment
Open

Sub-zero temperatures #19

dawidi opened this issue Jan 19, 2024 · 1 comment

Comments

@dawidi
Copy link

dawidi commented Jan 19, 2024

Thank you for your work! I've started using the CLI tool to record the state and temperatures of the device cooling the server room at work (because it started shutting itself down randomly).

We're currently experiencing outside air temperatures around the freezing point, and the json reports collected overnight included temperature readings of 2, 1, 0, 128 and 129, 130 and 131 degrees for outdoor, while the indoor temperature oscillates between 19 and 23 degrees as expected.

I'm not familiar enough with python to be able to point at the exact line, but I'm guessing there's a bug in your library's interpretation of temperature values, and they need to be read as signed integers, instead of unsigned - or something to the effect of temp=(input>=128) ? 127-input : input; needs to be added for temperatures specifically.

I can very well imagine this situation simply didn't come up while testing...? :-)

@catalinchivulescu
Copy link

Yes, we have the same issue,

{"fan_speed": {"cooling_fan_speed": "HIGH", "heating_fan_speed": "AUTO"}, "operation_mode": {"operation_mode": "COOL"}, "power_state": {"turn_on": true}, "set_point": {"cooling_set_point": 20, "heating_set_point": 20, "range_enabled": 0, "mode": 0, "min_differential": 0, "min_cooling_lowerlimit": 0, "min_heating_lowerlimit": 0, "cooling_lowerlimit": 0, "heating_lowerlimit": 0, "cooling_lowerlimit_symbol": 0, "heating_lowerlimit_symbol": 0, "max_cooling_upperlimit": 0, "max_heating_upperlimit": 0, "cooling_upperlimit": 0, "heating_upperlimit": 0, "cooling_upperlimit_symbol": 0, "heating_upperlimit_symbol": 0}, "temperatures": {"indoor": 18, "outdoor": 128}, "clean_filter_indicator": {"clean_filter_indicator": false}}

"outdoor": 128 when temperature below 0 Celsius.

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

No branches or pull requests

2 participants