question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Aircon current temperature validation should be removed in onTemperature method

See original GitHub issue

When I set my aircon configuration with min and max values:

“minTemperature”: 18, “maxTemperature”: 30,

I get some weird behaviour, those restrictions apply also to the “sensor temperature” and for me that does not make sense. I was expecting 18-30 min and max values to be the operation values my heater/cooler supports.

Eg. min temperature operation value I can set for my heat pump is 18 and room temperature is 15, then I get the following warning: [Broadlink RM] [INFO] Reported temperature (15.11) is too low, setting to minTemperature (18).

My suggestion would be to remove those checks in the “onTemperature” method:

if (temperature > config.maxTemperature) { log(\x1b[36m[INFO]\x1b[0m Reported temperature (${temperature}) is too high, setting to \x1b[33mmaxTemperature\x1b[0m (${maxTemperature}).) temperature = config.maxTemperature }

if (temperature < config.minTemperature) { log(\x1b[36m[INFO]\x1b[0m Reported temperature (${temperature}) is too low, setting to \x1b[33mminTemperature\x1b[0m (${minTemperature}).) temperature = config.minTemperature }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kiwi-camcommented, Oct 4, 2020

I think you’re right. Missed those ones sorry.

New beta shortly. Thanks!

1reaction
kiwi-camcommented, Oct 4, 2020

The latest Beta has this fixed. Let me know if you have any issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Is the Temperature Above My Thermostat Setting?
Thermostat Location​​ Incorrect placement of the thermostat can result in inaccurate temperature readings and, as a result, make the HVAC system run either...
Read more >
Modeling Validation and Control Analysis for ... - Hindawi
This study constructs an energy based model of thermal system for controlled temperature and humidity air conditioning system, and introduces the influence ...
Read more >
What Temperature Should I Set My AC to While Away ... - Del-Air
A good rule of thumb is set it a few degrees lower than the daily high temperature outside. This should keep your air...
Read more >
The weather affects air conditioner purchases to fill the energy ...
Results show that the probability of purchasing an Energy Star air conditioner increases as the weekly temperature before the transaction ...
Read more >
Does The Outside Temperature Affect My AC?
The key to expelling the heat from the refrigerant into the outside air is that the refrigerant must be hotter than the surrounding...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found