name: Real time count down capability for AirConServer
about: add an improvement to AirConServer
title: "[Pull Request] added real time count down capability to AirConServer"
labels: pull-request
assignees: mitch7391
A real time count down capability is added to the AirConserver to make it behave more like a real aircon system.
Is your pull request related to a problem or a new feature? Please describe:
This pull request is all about improvement to AirConServer to make it behaves more like a real aircon system.
Describe the solution you'd have implemented:
Improvements:
[x] If countDownToOn is set, it will reset to zero if the aircon is turned on.
[x] If countDownToOff is set, it will reset to zero if the aircon is turned off.
[x] Added the real time count down capability for countDownToOn and countDownToOff. The aircon will turn on or off when the real time count down on countDownToOn or countDownToOff reaches 0 respectively.
[x] Added an option to make the AirConServer to behave like a large aircon system.
Do your changes pass local testing:
[x] Yes
Additional context:
to make the AirConSever to behave like a large system, pass the argument bigSystem to it:
name: Real time count down capability for
AirConServer
about: add an improvement toAirConServer
title: "[Pull Request] added real time count down capability toAirConServer
" labels: pull-request assignees: mitch7391A real time count down capability is added to the
AirConserver
to make it behave more like a real aircon system.Is your pull request related to a problem or a new feature? Please describe:
This pull request is all about improvement to
AirConServer
to make it behaves more like a real aircon system.Describe the solution you'd have implemented:
Improvements:
countDownToOn
is set, it will reset to zero if the aircon is turned on.countDownToOff
is set, it will reset to zero if the aircon is turned off.countDownToOn
andcountDownToOff
. The aircon will turnon
oroff
when the real time count down oncountDownToOn
orcountDownToOff
reaches 0 respectively.AirConServer
to behave like a large aircon system.Do your changes pass local testing:
Additional context:
to make the
AirConSever
to behave like a large system, pass the argumentbigSystem
to it:node ./AirConServer.js bigSystem